[wp-trac] [WordPress Trac] #59532: Avoid registering block-patterns on the frontend

WordPress Trac noreply at wordpress.org
Wed Oct 4 12:41:09 UTC 2023


#59532: Avoid registering block-patterns on the frontend
--------------------------+------------------------------
 Reporter:  aristath      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+------------------------------

Comment (by gziolo):

 > Btw, block patterns are used on the front end. I am seeing block
 patterns being using in TT4 theme.

 I confirm that. TT3 also uses some patterns bundled with the theme.
 Example:

 https://github.com/WordPress/wordpress-
 develop/blob/5a58e171d4fc86779dd23151d81793e2d6e29900/src/wp-
 content/themes/twentytwentythree/templates/home.html#L33

 Related pattern:

 https://github.com/WordPress/wordpress-
 develop/blob/5a58e171d4fc86779dd23151d81793e2d6e29900/src/wp-
 content/themes/twentytwentythree/patterns/call-to-action.php

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


More information about the wp-trac mailing list