[wp-trac] [WordPress Trac] #55996: the get_the_block_template_html call all the same functions as the the_conent filter so they are run twice

WordPress Trac noreply at wordpress.org
Fri Jun 14 14:44:45 UTC 2024


#55996: the get_the_block_template_html call all the same functions as the
the_conent filter so they are run twice
-----------------------------------+--------------------------
 Reporter:  pbearne                |       Owner:  joemcgill
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  6.7
Component:  Formatting             |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  2nd-opinion has-patch  |     Focuses:  performance
-----------------------------------+--------------------------
Changes (by joemcgill):

 * milestone:  6.6 => 6.7


Comment:

 I've decided to punt this to the next milestone.

 Moving the processing in `get_the_block_template_html()` to filter
 callbacks (i.e.,  [https://github.com/WordPress/wordpress-
 develop/pull/6533#issuecomment-2136146779 PR #6533])  seems more like an
 enhancement to me. Additionally, this doesn't fix this bug as reported but
 would allow for us to fix it in the future.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55996#comment:72>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list