[wp-trac] [WordPress Trac] #63212: Enhancement: Do not throw PHP notice when file is not a pattern registration file

WordPress Trac noreply at wordpress.org
Tue Apr 1 15:11:42 UTC 2025


#63212: Enhancement: Do not throw PHP notice when file is not a pattern
registration file
--------------------------+---------------------
 Reporter:  webmandesign  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  6.8
Component:  Themes        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by webmandesign):

 Thank you @audrasjb

 I'm hoping the issue is going to be fixed for 6.8 release. The fix is very
 easy if you consider [https://github.com/WordPress/wordpress-
 develop/pull/8631/files my proposition].

 If the fix is postponed to 6.8.1 or later, I would either need to advice
 my theme users to wait for such late WordPress update or change the name
 of the `patterns` folder to something else temporarily and then change it
 back to `patterns` for WP6.8.1+ for all of my block themes. That seems to
 me as an unnecessary walkaround affecting my theme users with crucial, yet
 somehow unnecessary theme updates.

 Thanks for understanding.

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


More information about the wp-trac mailing list