[wp-trac] [WordPress Trac] #40922: Use finer-grained capabilities with `customize_changeset` post type
WordPress Trac
noreply at wordpress.org
Thu Aug 24 04:06:09 UTC 2017
#40922: Use finer-grained capabilities with `customize_changeset` post type
----------------------------------------+------------------
Reporter: dlh | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9
Component: Customize | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------
Comment (by dlh):
@flixos90 [attachment:40922.5.diff] outlines what I think might be
involved in granting changeset capabilities as "fake primitives," if I'm
understanding the idea correctly.
As you can see, however, the filter no longer has the expected effect if
the 'customize' meta cap is mapped to any of the changeset primitives. So,
the patch wouldn't work as written, but I hope it provides a starting
point for discussion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40922#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list