[wp-trac] [WordPress Trac] #59841: Post 6.4 Upgrade Fatal:

WordPress Trac noreply at wordpress.org
Wed Nov 8 20:44:21 UTC 2023


#59841: Post 6.4 Upgrade Fatal:
--------------------------+---------------------
 Reporter:  rebasaurus    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4.1
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by hellofromTonya):

 Summary of discussion in Make/Core slack:

 @TimothyBlynJacobs
 [https://wordpress.slack.com/archives/C02RQBWTW/p1699472080028979 noted]:
 >This looks like user error to me.
 >
 >{{{
 >'schema' => array(
 >       'type'  => 'array',
 >       'items' => 'string',
 >),
 >}}}
 >
 >That is an invalid JSON schema.

 Restoring this back to `Awaiting Review`.

 Timothy also noted:
 >We could probably consider hardening those functions to behave better
 with invalid schemas along the lines of some of the other PHP 8 related
 changes we are making.

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


More information about the wp-trac mailing list