Make WordPress Core

Changes between Version 29 and Version 30 of Ticket #56494, comment 4


Ignore:
Timestamp:
10/03/2022 04:24:43 PM (3 years ago)
Author:
anna.bansaghi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56494, comment 4

    v29 v30  
    157157==== 3. Skip performing "Task" on schema
    158158
    159 In the **original implementation** if the schema had no `type ⊃ 'object'` then the "Task" was skipped. For example the "Task" was not performed on this schema:
     159In the **original implementation** if the schema had no `type ⊃ 'object'` then the "Task" was skipped. For example the "Task" was not performed on this wrong schema:
    160160
    161161{{{#!php
    162162<?php
    163163[
     164    'type'       => 'string',
    164165    'properties' => [...]
    165166]