[wp-trac] [WordPress Trac] #54386: SSR blocks with enum attribute thows notice

WordPress Trac noreply at wordpress.org
Sun Nov 7 05:43:28 UTC 2021


#54386: SSR blocks with enum attribute thows notice
----------------------------------------------+----------------------------
 Reporter:  walbo                             |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
                                              |  Review
Component:  REST API                          |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  has-unit-tests reporter-feedback  |     Focuses:
----------------------------------------------+----------------------------
Changes (by TimothyBlynJacobs):

 * keywords:  has-unit-tests => has-unit-tests reporter-feedback


Comment:

 Can you clarify what you would like to see changed here? The REST API
 requires a `type` argument. If you want to use an `enum` that crosses
 types, you should specify each of the types as a list.

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


More information about the wp-trac mailing list