[wp-trac] [WordPress Trac] #59723: Pattern file containing PHP constant from theme causes fatal error on update to WordPress 6.4

WordPress Trac noreply at wordpress.org
Thu Oct 26 19:05:46 UTC 2023


#59723: Pattern file containing PHP constant from theme causes fatal error on
update to WordPress 6.4
-------------------------------------------------+-------------------------
 Reporter:  fabiankaegy                          |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  high                                 |   Milestone:  6.4
Component:  Upgrade/Install                      |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by joemcgill):

 * keywords:  has-patch changes-requested needs-testing has-testing-info =>
     has-patch needs-testing has-testing-info


Comment:

 I've cleaned up the unit tests for this fix to avoid looping through all
 of the theme patterns. I would like to get a +1 from another committer
 (cc: @peterwilsoncc or @hellofromTonya) before committing this to `trunk`,
 and then will need that commit dev-reviewed in order to include this in
 the 6.4 branch.

 In the meantime, I'd be happy for others to post the results of their
 testing, so we can demonstrate a high level of confidence (thanks, @pbiron
 and @fabiankaegy).

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


More information about the wp-trac mailing list