[wp-trac] [WordPress Trac] #54806: Site Editor: Remote block patterns are not loaded

WordPress Trac noreply at wordpress.org
Mon Jan 17 02:05:28 UTC 2022


#54806: Site Editor: Remote block patterns are not loaded
--------------------------+---------------------
 Reporter:  noisysocks    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.9
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by peterwilsoncc):

 Related #46195

 The previous fix was to add some logic to `WP_Screen` to improve the
 accuracy of block editor detection, see [https://github.com/WordPress
 /wordpress-develop/commit/d575d70fe90fc2d61c17a0f5f7d190b08909f66f
 d575d70fe].

 I'm in two minds about the proposed patch in [https://github.com/WordPress
 /wordpress-develop/pull/2178 the linked pull request] as I worry it could
 lead to blocking HTTP requests during page load when patterns are not
 needed.

 I'll dig in to the code further and see if my concern is valid.

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


More information about the wp-trac mailing list