[wp-trac] [WordPress Trac] #17912: WordPress not "realizing" that I'm an author on 404 error page

WordPress Trac noreply at wordpress.org
Tue Apr 16 21:32:54 UTC 2013


#17912: WordPress not "realizing" that I'm an author on 404 error page
--------------------------------------------------+------------------------
 Reporter:  itsalltech1                           |       Owner:
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:
Component:  General                               |     Version:  3.2
 Severity:  normal                                |  Resolution:  duplicate
 Keywords:  has-patch needs-testing dev-feedback  |
--------------------------------------------------+------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 `current_user_can('edit_post')` is incorrect. edit_post is a meta
 capability, requiring a second argument. This is a duplicate of #13905 —
 if the post doesn't exist, then breaking out and requiring no cap seems
 like the wrong thing to do.

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


More information about the wp-trac mailing list