[wp-trac] [WordPress Trac] #45539: Block Editor for CPT

WordPress Trac noreply at wordpress.org
Sun Dec 9 10:48:19 UTC 2018


#45539: Block Editor for CPT
-------------------------------------+-------------------------------------
 Reporter:  sovitranjitkar           |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Editor                   |     Version:  5.0
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing reporter-  |     Focuses:  javascript,
  feedback                           |  administration
-------------------------------------+-------------------------------------

Comment (by sovitranjitkar):

 Thank you @swissspidy and @TimothyBlynJacobs for your solutions.\\

 Seems like by default `rest_base` is set to post type key which is
 `themes` and I modify arg and added it like `rest_base => my_custom_post`
 and YES it worked fine and shows Feature Image sections in both CPT and
 core Post. \\
 As far as I know rest_base is a Rest API but also I just want to know
 after modifying `rest_base` arg to something other than themes does this
 affect my related posts in anyway or not?

 Thank you!

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


More information about the wp-trac mailing list