[wp-trac] [WordPress Trac] #40922: Use finer-grained capabilities with `customize_changeset` post type

WordPress Trac noreply at wordpress.org
Fri May 8 14:33:36 UTC 2020


#40922: Use finer-grained capabilities with `customize_changeset` post type
----------------------------------------+-----------------------------
 Reporter:  dlh                         |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Customize                   |     Version:  4.7
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by ocean90):

 Stumbled upon this while working on #50128 which
 [https://github.com/WordPress/wordpress-
 develop/pull/258#discussion_r422092392 didn't work out for the
 customizer]. There's now also
 `WP_Customize_Manager::grant_edit_post_capability_for_changeset()` which
 shouldn't have been necessary in the first place.

 @dlh What's the latest patch that you think should be in core?

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


More information about the wp-trac mailing list