[buddypress-trac] [BuddyPress Trac] #7984: Core multisite changes require mods to BP
buddypress-trac
noreply at wordpress.org
Sun Mar 29 19:57:08 UTC 2020
#7984: Core multisite changes require mods to BP
-----------------------------------+---------------------
Reporter: boonebgorges | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0.0
Component: Blogs | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+---------------------
Changes (by imath):
* keywords: needs-patch => has-patch 2nd-opinion
Comment:
Hi !
I believe now WordPress is about to publish 5.4, we should really stop
using hooks that were deprecated in WordPress 5.1. That's why I'd really
like us to fix this ticket.
In
[https://buddypress.trac.wordpress.org/attachment/ticket/7984/7984.patch
7984.patch] I'm introducing 2 hooks that are doing the needed
compatibility stuff. I'm pretty confident about this patch as I've run
successfully the unit tests (Multisite and regular configs).
The 2 new hooks are :
- `'bp_insert_site'` => to mimic what was doing `'wpmu_new_blog'`,
- `'bp_delete_site'` => to mimic what was doing `'delete_blog'`.
@boonebgorges could you take a look at it soon ☺️. I'd feel more secure
about committing this after you had eyes on the patch. Thanks in advance.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7984#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list