[buddypress-trac] [BuddyPress Trac] #8687: Deprecated code is never loaded
buddypress-trac
noreply at wordpress.org
Mon Jul 4 07:50:23 UTC 2022
#8687: Deprecated code is never loaded
------------------------------------+---------------------
Reporter: imath | Owner: (none)
Type: defect (bug) | Status: new
Priority: high | Milestone: 11.0.0
Component: Core | Version: 2.7
Severity: major | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+---------------------
Changes (by imath):
* keywords: dev-feedback needs-patch => dev-feedback has-patch
Comment:
The above patch is changing the way we load deprecated functions.
When BuddyPress is installed, it stores a new option to save the initial
BP Version. It uses this option to check if it's lower than the current
version. If so it loads the deprecated functions of 2 last versions.
This means we keep what was put in place in 2.8.0: new installs won't load
deprecated functions.
if we `define( 'BP_IGNORE_DEPRECATED', false );` all deprecated functions
are loaded.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8687#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list