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: | walbo | Owned by: | jorbin |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.8 |
| Component: | Editor | Version: | 5.8 |
| Severity: | normal | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/53578