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

WordPress Trac noreply at wordpress.org
Wed Mar 25 10:22:37 UTC 2015


#31760: Undefined index: post_status when previewing post.
-------------------------------+-----------------------------
 Reporter:  szaqal21           |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.1.1
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 If a user doesn't have capability to publish posts there is no select list
 for setting post status in edit form and when previewing post, function
 post_preview() throws: PHP Notice:  Undefined index: post_status in
 .../wp-admin/includes/post.php on line 1606.

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


More information about the wp-trac mailing list