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

WordPress Trac noreply at wordpress.org
Tue Feb 27 21:04:11 UTC 2024


#59532: Avoid registering block-patterns on the frontend
--------------------------------------+--------------------------
 Reporter:  aristath                  |       Owner:  thekt12
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  Editor                    |     Version:  6.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by joemcgill):

 In [changeset:"57731" 57731]:
 {{{
 #!CommitTicketReference repository="" revision="57731"
 Docs: Improve docblock for `WP_Block_Patterns_Registry::register`.

 This documents the new `filePath` property supported by
 `WP_Block_Patterns_Registry::register` and also updates the property name
 to camel case formatting to be consistent with other block pattern
 properties.

 Props thekt12, spacedmonkey, joemcgill.
 See #59532.
 }}}

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


More information about the wp-trac mailing list