[wp-trac] [WordPress Trac] #62901: Editor: Fix 'parents' argument validation for Query block

WordPress Trac noreply at wordpress.org
Mon Feb 3 14:56:39 UTC 2025


#62901: Editor: Fix 'parents' argument validation for Query block
--------------------------+--------------------
 Reporter:  Mamaduka      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  6.8
Component:  Editor        |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+--------------------
 The `build_query_vars_from_query_block` doesn't allow specifying zero
 (`0`) in the parent's array argument, which can be used to display on top-
 level pages.

 Gutenberg PR: https://github.com/WordPress/gutenberg/pull/68983.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62901>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list