Opened 11 years ago
Closed 11 years ago
#5361 closed defect (bug) (fixed)
BuddyPress not honoring BP_IGNORE_DEPRECATED
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.0 | Priority: | normal |
Severity: | normal | Version: | 1.9.1 |
Component: | Core | Keywords: | |
Cc: | ddebernardy@… |
Description
There's a define mentioned in the codex that reportedly prevents the loading of deprecated code.
While investigating why buddypress/bp-templates/bp-legacy/js/buddypress.js?ver=1.9.1-7716 was getting loaded in spite of the constant being defined to true, I did to locate the constant in the source code to see what it was supposed to do. Couldn't find it, no luck.
There also seems to be a $bp->load_deprecated thingy in there, which apparently cannot be overridden.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Hm, looks like
BP_IGNORE_DEPRECATED
last appeared in version 1.1 of BuddyPress, several years ago.You appear to be correct that there's no way to disable the loading of deprecated functions. We may as well reintroduce the old
BP_IGNORE_DEPRECATED
constant to fix this.