[buddypress-trac] [BuddyPress Trac] #4395: Activity management Edit screen - default panel states broken in multisite
buddypress-trac
noreply at wordpress.org
Fri Dec 16 10:54:24 UTC 2016
#4395: Activity management Edit screen - default panel states broken in multisite
----------------------------+-----------------------------
Reporter: DJPaul | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+-----------------------------
Changes (by lakrisgubben):
* keywords: => has-patch
Comment:
The problem seemed to be just a misspell. The function
`bp_activity_admin_edit_hidden_metaboxes` checks for `$screen->id !=
toplevel_page_bp-activity_network` instead of `$screen->id !=
toplevel_page_bp-activity-network` i.e. with an underscore instead of a
dash. Attached patch fixes that (plus some minor WPCS in the above
mentioned function) tested on WP4.7 and BP-trunk in both single-site and
multisite and seems to solve the problem.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4395#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list