Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#34975 closed defect (bug) (fixed)

Explicitly globalize $wp_local_package

Reported by: danielbachhuber's profile danielbachhuber Owned by: ocean90's profile ocean90
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Bootstrap/Load Keywords: has-patch
Focuses: Cc:


It's included in version.php for non-US English locales.

Discovered in

Attachments (1)

34975.1.diff (611 bytes) - added by danielbachhuber 8 years ago.

Download all attachments as: .zip

Change History (3)

#1 @danielbachhuber
8 years ago

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

salty-wordpress ➜  wp shell
wp> global $wp_local_package;
wp> isset( $wp_local_package );

#2 @ocean90
8 years ago

  • Owner set to ocean90
  • Resolution set to fixed
  • Status changed from new to closed

In 36557:

Make $wp_local_package explicitly global in wp-settings.php.

Props danielbachhuber.
Fixes #34975.

Note: See TracTickets for help on using tickets.