[wp-trac] [WordPress Trac] #31760: Undefined index: post_status when previewing post.

WordPress Trac noreply at wordpress.org
Wed May 6 21:58:30 UTC 2015


#31760: Undefined index: post_status when previewing post.
-------------------------------+---------------------------
 Reporter:  szaqal21           |       Owner:  boonebgorges
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  4.1.1
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:
-------------------------------+---------------------------

Comment (by jeremyclarke):

 Nice to see this was fixed. I'll add another important scenario: User
 doesn't have edit_others_posts OR publish_posts, but a plugin is using
 map_meta_cap to delegate selective access to specific posts (certainly
 something intended by the map_meta_cap system which passes the post_id and
 author_id around for just such delegation).

 My use case is an add-on to Edit Flow that lets users who are ticked in
 "Notifiations" (subscribed to a post) also edit it so we don't have to
 promote every user to 'Editor' in order to let them work together on
 posts.

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


More information about the wp-trac mailing list