[wp-trac] [WordPress Trac] #31021: Introduce discrete capability for managing custom background and header

WordPress Trac noreply at wordpress.org
Fri Jan 16 08:28:45 UTC 2015


#31021: Introduce discrete capability for managing custom background and header
------------------------------------+------------------------------
 Reporter:  westonruter             |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Customize               |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  administration
------------------------------------+------------------------------
Changes (by westonruter):

 * keywords:  needs-patch => has-patch dev-feedback


Comment:

 In [attachment:31021.diff]

 * Build on patches for #29213 and #31020
 * Add `manage_custom_background` and `manage_custom_header` caps which by
 default are assigned to those who can `edit_theme_options`.
 * Use new caps for Ajax requests
 * Use new caps for accessing theme admin pages
 * Use new caps for admin bar links
 * Supply empty string as capability for Customizer sections related to
 custom header/background so that the capabilities of their controls will
 bubble up to activate/deactivate the section.

 The change specifically for this ticket in isolation from the patches form
 the other tickets is https://github.com/xwp/wordpress-
 develop/commit/e7e2c67e5d1aa4bdfd04f8b37ab36ac68d4c10e5

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


More information about the wp-trac mailing list