[wp-trac] [WordPress Trac] #42532: Custom post type : redirection bug after publish when cap edit_published_cpt is not set

WordPress Trac noreply at wordpress.org
Wed Nov 15 09:43:24 UTC 2017


#42532: Custom post type : redirection bug after publish when cap
edit_published_cpt is not set
-------------------------------+------------------------------
 Reporter:  ajoah              |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Role/Capability    |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  administration
-------------------------------+------------------------------

Comment (by skostadinov):

 Generally, when you want to edit a post, the POST request is made to
 edit.php and redirects the user to the post page. In your case, the user
 is not allowed to make a POST request, and this does show a error.

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


More information about the wp-trac mailing list