[buddypress-trac] [BuddyPress Trac] #7984: Core multisite changes require mods to BP

buddypress-trac noreply at wordpress.org
Tue Mar 31 02:45:18 UTC 2020

#7984: Core multisite changes require mods to BP
 Reporter:  boonebgorges      |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.0.0
Component:  Blogs             |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
Changes (by imath):

 * owner:  (none) => imath
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"12606" 12606]:
 #!CommitTicketReference repository="" revision="12606"
 Adapt BuddyPress to WP 5.1.0 multisite changes & deprecations

 Version 5.1.0 of WordPress deprecated two hooks (`wpmu_new_blog` &
 `delete_blog`) BuddyPress is using to run some of the BP Blogs component's
 features. In order to preserve these features for the versions of
 WordPress we support and that are older than 5.1.0 as well as start using
 the replacement hooks introduced in 5.1.0 (`wp_initialize_site` &
 `wp_validate_site_deletion`), we are introducing a compatibility mechanism
 to make sure BuddyPress is using the right hooks depending on the
 installed WordPress it's activated on.

 Props boonebgorges & I ;)

 Fixes #7984

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7984#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list