[wp-trac] [WordPress Trac] #59123: Customizer "Additional CSS" panel is missing on multisite for administrators

WordPress Trac noreply at wordpress.org
Mon Aug 21 02:51:53 UTC 2023


#59123: Customizer "Additional CSS" panel is missing on multisite for
administrators
--------------------------+----------------------------------------
 Reporter:  jakeparis     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  administration, multisite
--------------------------+----------------------------------------
Changes (by dlh):

 * status:  new => closed
 * version:  trunk => 4.7
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @jakeparis, and welcome back to Trac!

 The behavior that you describe is the expected behavior on multisite
 installations. The `edit_css` capability is meant to map to the behavior
 of the `unfiltered_html` capability, which is granted to only super
 administrators by default on multisite installations.

 The place to look is [https://github.com/dlh01/wordpress-
 develop/blob/c40e0c6f816ed27ba8b75462632498a36f624181/src/wp-
 includes/capabilities.php#L586-L596 the `map_meta_cap()` function]. See
 also ticket:35395#comment:50, ticket:35395#comment:78, and elsewhere in
 #35395 for background on the decision.

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


More information about the wp-trac mailing list