[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
Wed Apr 5 15:54:17 UTC 2023


#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:  flixos90
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.3
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing changes-requested                      |  performance
-------------------------------------------------+-------------------------

Comment (by flixos90):

 Just a heads up here that I'm planning to work on a new approach for this
 problem later this month, based on the feedback seen on the existing PRs.

 The idea is to implement a proper parsing class for this, which takes the
 idea from https://github.com/WordPress/wordpress-develop/pull/3549 but
 makes it more reliable including nesting support (e.g. post content block
 within another post content block) etc.

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


More information about the wp-trac mailing list