[wp-trac] [WordPress Trac] #55902: Block theme rendering issue

WordPress Trac noreply at wordpress.org
Thu Jun 2 11:27:45 UTC 2022


#55902: Block theme rendering issue
--------------------------+-------------------------------
 Reporter:  jivansoft     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  blocker       |   Keywords:  changes-requested
  Focuses:  template      |
--------------------------+-------------------------------
 Hi,

 I am from Pagelayer team.

 And we have checked and found that in the “wp-includes/template-
 canvas.php” file, you have called the function
 “get_the_block_template_html()” above the header that breaks the flow of
 the calling hooks like (‘get_header, wp_enqueue_scripts, wp_header’).

 For example, If we add any “the_content” hook inside the
 “wp_enqueue_scripts” hook, then the “the_content” hook not working
 properly.

 Please check and try fix the issue ASAP if possible.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55902>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list