[wp-trac] [WordPress Trac] #47181: Custom post type meta won't save in new editor for user role Author

WordPress Trac noreply at wordpress.org
Sun Sep 15 15:32:49 UTC 2019


#47181: Custom post type meta won't save in new editor for user role Author
---------------------------+------------------------------
 Reporter:  Guido07111975  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Editor         |     Version:  5.2
 Severity:  major          |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by ourakland):

 After trying different capabilities, I narrowed it down to
 **edit_others_posts**. If I add that to the author role, $_POST comes
 through unscathed to my save meta data function, and things work as as
 desired.

 Of course, that causes a bunch of other problems (like authors being able
 to edit others' posts), but maybe can help narrow down where the problem
 is in the WP code.

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


More information about the wp-trac mailing list