Changeset 4179 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/stats-overview.php
- Timestamp:
- 10/02/2016 08:09:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/stats-overview.php
r2864 r4179 30 30 // Variants (de/formal for example) don't have GP_Locales in this context 31 31 if ( ! $gp_locale && ( list( $base_locale_slug, $set_slug ) = explode( '/', $locale_slug ) ) ) { 32 $gp_locale = clone GP_Locales::by_slug( $base_locale_slug ); 33 // Just append it for now.. 34 $gp_locale->wp_locale .= '/' . $set_slug; 32 $_gp_locale = GP_Locales::by_slug( $base_locale_slug ); 33 if ( $_gp_locale ) { 34 $gp_locale = clone $_gp_locale; 35 // Just append it for now.. 36 $gp_locale->wp_locale .= '/' . $set_slug; 37 } 35 38 } 36 39 if ( ! $gp_locale || ! $gp_locale->wp_locale ) {
Note: See TracChangeset
for help on using the changeset viewer.