[buddypress-trac] [BuddyPress Trac] #8687: Deprecated code is never loaded

buddypress-trac noreply at wordpress.org
Sun Apr 24 08:51:49 UTC 2022


#8687: Deprecated code is never loaded
--------------------------------------+---------------------
 Reporter:  imath                     |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  high                      |   Milestone:  10.3.0
Component:  Core                      |     Version:  2.7
 Severity:  major                     |  Resolution:
 Keywords:  needs-patch dev-feedback  |
--------------------------------------+---------------------
Description changed by imath:

Old description:

> Since [11105], BuddyPress is no more loading deprecated code if you
> installed BuddyPress when BuddyPress version was upper than 2.7.
>
> That's because the `bp_add_option( '_bp_ignore_deprecated_code', false
> );` code was only added into the function to upgrade to 2.7.
>
> You can reproduce the issue installing BP 9.2.0, than update to current
> stable and you'll see deprecated code is never loaded.
>
> That's really annoying because, we can never be sure plugins stop using
> deprecated code. We should at least make sure to load latest deprecated
> functions.
>
> I believe we should take a decision about it, before our next major
> upgrade.
>
> PS: working on codex/documentation update made me find this bug 😉.

New description:

 Since [11105], BuddyPress is no more loading deprecated code if you
 installed BuddyPress when BuddyPress version was upper than 2.7.

 That's because the `bp_add_option( '_bp_ignore_deprecated_code', false );`
 code was only added into the function to upgrade to 2.7.

 You can reproduce the issue installing BP 9.2.0, than update to current
 stable and you'll see deprecated code is never loaded.

 That's really annoying because, we can never be sure plugins stopped using
 deprecated code. We should at least make sure to load latest deprecated
 functions.

 I believe we should take a decision about it, before our next major
 upgrade.

 PS: working on codex/documentation update made me find this bug 😉.

--

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8687#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list