[wp-trac] [WordPress Trac] #65259: Docs: Fix inline comment typos in build_query_vars_from_query_block() in blocks.php

WordPress Trac noreply at wordpress.org
Mon May 18 08:36:35 UTC 2026


#65259: Docs: Fix inline comment typos in build_query_vars_from_query_block() in
blocks.php
---------------------------+-----------------------------
 Reporter:  deepakrohilla  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  assigned
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  trunk
 Severity:  normal         |   Keywords:  has-patch
  Focuses:  docs           |
---------------------------+-----------------------------
 In src/wp-includes/blocks.php, the inline comment inside
 build_query_vars_from_query_block() contains two errors: (1) "before hand"
 should be "beforehand" (compound adverb), and It detects when a path to
 file was provided  from this "It" should be removed.

 WordPress inline documentation standards, especially for DocBlocks.
 In WordPress coding standards:
 The description section should continue naturally and should not start
 with “It”.

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


More information about the wp-trac mailing list