[wp-trac] [WordPress Trac] #54700: wp-includes/vars.php can trigger warning

WordPress Trac noreply at wordpress.org
Tue Apr 26 04:25:46 UTC 2022

#54700: wp-includes/vars.php can trigger warning
 Reporter:  janh2                  |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  6.0
Component:  Bootstrap/Load         |     Version:  5.8.2
 Severity:  minor                  |  Resolution:
 Keywords:  php8 has-patch commit  |     Focuses:
Changes (by peterwilsoncc):

 * keywords:  php8 has-patch => php8 has-patch commit


 The linked pull request looks good to me.

 I did some manual testing in wp cli to ensure each step provided an
 expected value, it does.

 I can't really see how to unit test this as the variables aren't defined
 within a function.

Ticket URL: <https://core.trac.wordpress.org/ticket/54700#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list