[wp-trac] [WordPress Trac] #54670: Gutenberg / newly introduced functions referring to non-existent class properties

WordPress Trac noreply at wordpress.org
Mon Dec 20 17:09:18 UTC 2021


#54670: Gutenberg / newly introduced functions referring to non-existent class
properties
--------------------------+-----------------------
 Reporter:  jrf           |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.9
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------
 Commit [52062] in response to ticket #54335 introduced the
 `_build_block_template_result_from_file()` and
 `_build_block_template_result_from_post()` functions in the `wp-includes
 /block-template-utils.php` file.

 These functions directly set properties on the `WP_Block_Template` class,
 but are assigning to some properties which don't exist on the class.

 This should be fixed.

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


More information about the wp-trac mailing list