[wp-trac] [WordPress Trac] #17668: wp_post_revision_title capabilities

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 7 14:05:39 UTC 2011


#17668: wp_post_revision_title capabilities
-----------------------------------+------------------
 Reporter:  ejdanderson            |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  3.2
Component:  Revisions              |     Version:  3.2
 Severity:  minor                  |  Resolution:
 Keywords:  2nd-opinion has-patch  |
-----------------------------------+------------------
Changes (by aaroncampbell):

 * keywords:  2nd-opinion => 2nd-opinion has-patch


Comment:

 Replying to [comment:5 ejdanderson]:
 > Perhaps a solution resides in map_meta_cap() with checking the parent's
 capabilities on the 'edit_post', 'delete_post', and 'read_post' cases?
 That's a great idea.  Patch coming right up.

 Replying to [comment:5 ejdanderson]:
 > Shouldn't revisions always inherit all of their parent post type's
 relevant capabilities?
 I'm not sure.  I honestly can't tell if this is an oversight, something we
 never made it to (but planned to), or expected behavior.  I'll ask around.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17668#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list