[wp-trac] [WordPress Trac] #64125: Command Palate: Don't include palate on Network Admin

WordPress Trac noreply at wordpress.org
Tue Nov 4 07:03:53 UTC 2025


#64125: Command Palate: Don't include palate on Network Admin
------------------------------+------------------------
 Reporter:  jorbin            |       Owner:  wildworks
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.9
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------------
Changes (by wildworks):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"61121" 61121]:
 {{{
 #!CommitTicketReference repository="" revision="61121"
 Command Palette: Add network admin check

 To prevent the registration of commands that would cause a 404 error in
 the network admin screen, pass the result of the `is_network_admin()`
 check to the command palette initialization function.

 Follow-up to [61022].

 Props jorbin, ntsekouras, soean, tobiasbg
 Fixes #64125.
 }}}

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


More information about the wp-trac mailing list