WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15593 closed defect (bug) (fixed)

Actions missing from Sites Edit pages in new Network Admin

Reported by: mwidmann Owned by:
Milestone: 3.1 Priority: normal
Severity: major Version: 3.1
Component: Network Admin Keywords: has-patch commit
Focuses: multisite 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 3 years ago.
15593.diff (3.3 KB) - added by PeteMall 3 years ago.
Add filters to site-edit tabs.
15593.2.diff (1005 bytes) - added by PeteMall 3 years ago.
Restore wpmueditblogaction hook in site-options.

Download all attachments as: .zip

Change History (8)

comment:1 ryan3 years ago

  • Milestone changed from Awaiting Review to 3.1

comment:2 ocean903 years ago

  • 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.

PeteMall3 years ago

Add filters to site-edit tabs.

comment:3 scribu3 years ago

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

PeteMall3 years ago

Restore wpmueditblogaction hook in site-options.

comment:4 PeteMall3 years ago

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

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

comment:5 ocean903 years ago

Ticket for tabs filter: #15800.

Note: See TracTickets for help on using tickets.