Opened 4 years ago
Closed 4 years ago
#53578 closed enhancement (fixed)
Remove unnecessary function_exists check in `get_the_block_template_html`
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.8 | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Editor | Keywords: | has-patch commit fixed-major |
Focuses: | Cc: |
Description
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.
Change History (6)
This ticket was mentioned in PR #1461 on WordPress/wordpress-develop by walbo.
4 years ago
#1
- Keywords has-patch added
#3
@
4 years ago
Indeed, there's no need to verify if the function exists. Plus, I suppose it was introduced in Gutenberg before wp_make_content_images_responsive()
was deprecated in WP 5.5.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/53578