WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42532, comment 3


Ignore:
Timestamp:
11/15/2017 08:29:19 AM (20 months ago)
Author:
ajoah
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42532, comment 3

    initial v1  
    33@skostadinov That is what i thought at first however edit.php is not the url to edit the post published but the url which list blog posts. If the role which i have created had cap `edit_posts` the message would not appeared.
    44
    5 It is logical to redirect to this URL except that for a CPT, the query string `?post_type=movies` must be added otherwise it lists blog posts (or displays an error message if the user doesn't have the capability)
     5It is logical to redirect to this URL except that for a CPT, the query string `?post_type=movie` must be added otherwise it lists blog posts (or displays an error message if the user doesn't have the capability)