Changeset 4179 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/projects-wp-themes.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/projects-wp-themes.php
r2864 r4179 60 60 // Variants (de/formal for example) don't have GP_Locales in this context 61 61 if ( ! $gp_locale && ( list( $base_locale_slug, $set_slug ) = explode( '/', $locale_slug ) ) ) : 62 $gp_locale = clone GP_Locales::by_slug( $base_locale_slug ); 63 64 // Just append it for now.. 65 $gp_locale->wp_locale .= '/' . $set_slug; 66 $gp_locale->english_name .= ' (' . ucfirst( $set_slug ) . ')'; 62 $_gp_locale = GP_Locales::by_slug( $base_locale_slug ); 63 if ( $_gp_locale ) { 64 $gp_locale = clone $_gp_locale; 65 // Just append it for now.. 66 $gp_locale->wp_locale .= '/' . $set_slug; 67 $gp_locale->english_name .= ' (' . ucfirst( $set_slug ) . ')'; 68 } 67 69 endif; 68 70
Note: See TracChangeset
for help on using the changeset viewer.