Opened 5 years ago
Closed 5 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.
5 years ago
#1
- Keywords has-patch added
#3
@
5 years ago
Indeed, there's no need to verify if the function exists. I guess it was introduced before wp_make_content_images_responsive() was deprecated in WP 5.5.
Version 0, edited 5 years ago
by
(next)
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/53578