#4395 closed defect (bug) (fixed)
Activity management Edit screen - default panel states broken in multisite
| Reported by: | DJPaul | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
On the activity management Edit screen in multisite, some of the panels (Link, Type, Author ID) are hidden on regular WordPress, but not on multisite. The problem is that the action "set-screen-option" is not being called by set_screen_options() in WordPress core ($_POSTwp_screen_options is not set).
This seems to be a wpcore bug but needs further investigation and reporting to wptrac if appropriate.
Attachments (1)
Change History (8)
#2
@
10 years ago
- Keywords has-patch added
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This feels like something that should be confirmed in the current versions of everything