[wp-trac] [WordPress Trac] #46723: Feature Image disappears only in Gutenberg with CPT.
WordPress Trac
noreply at wordpress.org
Thu Feb 20 00:34:06 UTC 2020
#46723: Feature Image disappears only in Gutenberg with CPT.
--------------------------------------+---------------------
Reporter: miyauchi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.4
Component: REST API | Version: 5.1
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by TimothyBlynJacobs):
Thinking about this further, I don't think the issue is that users who can
upload_files can't see information about the theme, but rather any user
who can edit a particular post type can't see the theme. In other words,
this is an issue for any theme support that the block editor references.
As such, I've uploaded a new patch that checks if the user has access to
call the `edit_posts` cap of any of the `show_in_rest` post types.
@miyauchi could you confirm this patch still solves your problem?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46723#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list