Make WordPress Core

Changes between Version 60 and Version 61 of Ticket #56494, comment 5


Ignore:
Timestamp:
10/03/2022 08:52:33 AM (3 years ago)
Author:
anna.bansaghi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56494, comment 5

    v60 v61  
    9090= Valid schema defined by MR
    9191
    92 We can discover the pattern of which kinds of nodes exist together in the parent - roots relation:
    93 - filled parent - filled roots (root's `type` overwrites the (base) parent's `type`)
    94 - dotted parent - filled roots
    95 - filled parent - empty roots
     92We can discover the pattern of which kinds of nodes exist together in the parent - root relation:
     93- filled parent - filled root (root's `type` overwrites the (base) parent's `type`)
     94- dotted parent - filled root
     95- filled parent - empty root
    9696
    9797
     
    110110
    111111
    112 The schema is invalid if the parent has no `type`, and the roots also have no `type`.
    113 Meaning there is no base `type` on parent, and there is no local `type` on the roots, so the "Task" cannot be performed on them.
     112The schema is invalid if the parent has no `type`, and a root also have no `type`.
     113Meaning there is no base `type` on parent, and there is no local `type` on the root, so the "Task" cannot be performed on the root.
    114114- Iteration 1 runs on the parent, and passes its base `type` in the `$types` parameter to the next iteration.
    115115- Iteration 2 runs on each root, and they have no local `type`, so the incoming `$types` should be used.