[wp-trac] [WordPress Trac] #46723: Feature Image disappears only in Gutenberg with CPT.

WordPress Trac noreply at wordpress.org
Fri Feb 21 00:13:44 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 miyauchi):

 @TimothyBlynJacobs

 Thanks, it looks good to me.

 However I am worried about that if user has a permission of edit_* for one
 of CPTs, this solution always return `true`. right?

 But I don't have better idea.
 I wish if `/themes` can detect current post type haha :)

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


More information about the wp-trac mailing list