[wp-trac] [WordPress Trac] #53578: Remove unnecessary function_exists check in `get_the_block_template_html`

WordPress Trac noreply at wordpress.org
Fri Jul 2 21:35:20 UTC 2021


#53578: Remove unnecessary function_exists check in `get_the_block_template_html`
-------------------------+-----------------------------
 Reporter:  walbo        |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 In `get_the_block_template_html` there is a `functions_exists` on the
 function `wp_filter_content_tags`.

 Core doesn't need the check and the fallback function is deprecated.

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


More information about the wp-trac mailing list