[buddypress-trac] [BuddyPress Trac] #8895: Only deprecate some functions if BP Classic is not active

buddypress-trac noreply at wordpress.org
Sat May 13 10:45:25 UTC 2023


#8895: Only deprecate some functions if BP Classic is not active
--------------------+-------------------------
 Reporter:  imath   |      Owner:  imath
     Type:  task    |     Status:  assigned
 Priority:  normal  |  Milestone:  12.0.0
Component:  Core    |    Version:
 Severity:  normal  |   Keywords:  needs-patch
--------------------+-------------------------
 12.0.0 is deprecating a lot of functions that Plugins might be using for a
 while. These deprecation notices are an interesting way to figure out the
 BP Classic plugin is needed.

 Once the BP Classic plugin is activated, we then need to make sure these
 deprecation notices are not shown anymore, because:
 - BP Classic include these functions
 - BP Classic forces the Site to use pretty permalinks
 - BP Classic forces the usage of the Legacy URL parser, so it's safe to
 add URL chunks behind functions building URLs.

 This is achieved by putting deprecated functions behind a `!
 function_exists( 'bp_classic' )` check.

 This task wasn't fully performed in #4954

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8895>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list