[wp-trac] [WordPress Trac] #61751: Custom post type editor not working

WordPress Trac noreply at wordpress.org
Thu Feb 13 20:38:02 UTC 2025


#61751: Custom post type editor not working
-------------------------+-------------------------------------------------
 Reporter:  karan4word   |       Owner:  TimothyBlynJacobs
     Type:  defect       |      Status:  accepted
  (bug)                  |
 Priority:  normal       |   Milestone:  6.8
Component:  Editor       |     Version:  6.6.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript, administration, rest-
                         |  api
-------------------------+-------------------------------------------------

Comment (by jorbin):

 > ... until we decide whether to fix register_post_type or the REST API?

 por que no los dos? I think the solution here should be:

 1) Force the correct shape in the REST API

 and

 2) Emit a `doing_it_wrong` when you call register_post_type with incorrect
 types.

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


More information about the wp-trac mailing list