Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#15593 closed defect (bug) (fixed)

Actions missing from Sites Edit pages in new Network Admin

Reported by: mwidmann Owned by:
Priority: normal Milestone: 3.1
Component: Network Admin Version: 3.1
Severity: major Keywords: has-patch commit
Cc:

Description

In 3.0.1 ms-sites.php called a couple of actions and filters which are now missing.

Especially the wpmueditblogaction hook is missing which allowed to add additional fields to the edit site form and then hook into wpmu_update_blog_options to store the additional settings.

While wpmu_update_blog_options is still there, it's available only in sites-info.php and missing in sites-options.php where imho it belongs.

A filter to add additional tabs to the site-edit functionality would be a nice addition as well.

Attachments (3)

15593.wpmu_update_blog_options.patch (1.3 KB) - added by ocean90 2 years ago.
15593.diff (3.3 KB) - added by PeteMall 2 years ago.
Add filters to site-edit tabs.
15593.2.diff (1005 bytes) - added by PeteMall 2 years ago.
Restore wpmueditblogaction hook in site-options.

Download all attachments as: .zip

Change History (8)

comment:1   ryan2 years ago

  • Milestone changed from Awaiting Review to 3.1
  • Keywords needs-patch added
  • Severity changed from normal to major

Because wpmueditblogaction is missing the blog upload space setting can't be set, see upload_space_setting().
I will upload a patch to re-add the wpmu_update_blog_options action for back-compatibility.

Add filters to site-edit tabs.

  • Keywords has-patch commit added; needs-patch removed

Restore wpmueditblogaction hook in site-options.

  • Resolution set to fixed
  • Status changed from new to closed

(In [16627]) Add missign hooks in site-options. Fixes #15593

Ticket for tabs filter: #15800.

Note: See TracTickets for help on using tickets.