[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
Mon Mar 27 13:05:14 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 nico23):

 Just want to note that this is not obvious at all that running the
 functions twice causes shortcode escaping not to work.

 Just saying because I was redirected here
 [https://github.com/WordPress/gutenberg/issues/49357#issuecomment-1484947475
 from this GB issue] to [https://core.trac.wordpress.org/ticket/57351 this
 so called duplicate] that points here. This bug states its about
 performance and not mention the shortcode escaping issue at all, but that
 is actually a more serious and more important issue than just performance.

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


More information about the wp-trac mailing list