[wp-trac] [WordPress Trac] #55929: `get_block_file_template()` incorrectly documented

WordPress Trac noreply at wordpress.org
Mon Jun 6 04:38:10 UTC 2022

#55929: `get_block_file_template()` incorrectly documented
 Reporter:  peterwilsoncc  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  5.9
 Severity:  normal         |   Keywords:
  Focuses:  docs           |
 The function `get_block_file_template()` is currently incorrectly
 documented with `get_block_template()`'s docblock.

 The former is used as a fallback by the latter when no templates are found
 in the database.

 The `pre_get_block_file_template` filter within
 `get_block_file_template()` is similarly incorrectly documented.

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

More information about the wp-trac mailing list