[wp-trac] [WordPress Trac] #49977: Multisite: 'mu_menu_items' filter leaves empty table on Network Settings

WordPress Trac noreply at wordpress.org
Thu Apr 23 18:56:54 UTC 2020


#49977: Multisite: 'mu_menu_items' filter leaves empty table on Network Settings
---------------------------------------+-----------------------------
 Reporter:  dlh                        |       Owner:  SergeyBiryukov
     Type:  defect (bug)               |      Status:  closed
 Priority:  normal                     |   Milestone:  5.5
Component:  Networks and Sites         |     Version:  3.0
 Severity:  normal                     |  Resolution:  fixed
 Keywords:  has-patch has-screenshots  |     Focuses:  multisite
---------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47616" 47616]:
 {{{
 #!CommitTicketReference repository="" revision="47616"
 Networks and Sites: Don't display an empty Menu Settings section in
 network admin if there are no items.

 This accounts for returning an empty array from the `mu_menu_items`
 filter.

 Props dlh.
 Fixes #49977.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49977#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list