[wp-trac] [WordPress Trac] #34975: Explicitly globalize $wp_local_package

WordPress Trac noreply at wordpress.org
Thu Dec 10 14:19:35 UTC 2015


#34975: Explicitly globalize $wp_local_package
-----------------------------+------------------
 Reporter:  danielbachhuber  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.5
Component:  Bootstrap/Load   |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------

Comment (by danielbachhuber):

 We have some instances of `isset( $wp_local_package )` in the codebase,
 but the check performs as expected:

 {{{
 salty-wordpress ➜  wordpress-test.dev  wp shell
 wp> global $wp_local_package;
 wp> isset( $wp_local_package );
 bool(false)
 }}}

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


More information about the wp-trac mailing list