[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
Fri Apr 4 08:24:31 UTC 2025


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

Comment (by webmandesign):

 I've forgotten to mention that I returned back the `_doing_it_wrong()` PHP
 notice for slug in my [https://github.com/WordPress/wordpress-
 develop/pull/8631 GitHub PR].

 So, really the question now is whether we get the filter hook for the
 pattern files in WP6.8.

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


More information about the wp-trac mailing list