[buddypress-trac] [BuddyPress Trac] #9075: When first activating BuddyPress with 12.1.1, 12.0.0 deprecated functions are not loaded

buddypress-trac noreply at wordpress.org
Thu Jan 18 13:14:30 UTC 2024


#9075: When first activating BuddyPress with 12.1.1, 12.0.0 deprecated functions
are not loaded
----------------------------------------------------+---------------------
 Reporter:  imath                                   |       Owner:  (none)
     Type:  defect (bug)                            |      Status:  new
 Priority:  highest                                 |   Milestone:  12.2.0
Component:  Core                                    |     Version:  12.0.0
 Severity:  major                                   |  Resolution:
 Keywords:  needs-testing has-patch has-unit-tests  |
----------------------------------------------------+---------------------
Changes (by prbot):

 * keywords:  needs-patch needs-testing needs-unit-tests => needs-testing
     has-patch has-unit-tests


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/219 PR #219] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 - On install, the initial version is always set to the closest major one,
 so there's no need to get it again as the `$first_major` variable.
 - Instead of comparing initial major version with the current version, we
 need to use the current **major** version so that minor releases also
 includes the right deprecated function files.
 - Improve the unit test to include a check with a current minor version.

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/9075

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


More information about the buddypress-trac mailing list