Changeset 4478
- Timestamp:
- 12/04/2016 08:48:33 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/theme-directory.php
r3388 r4478 1082 1082 } 1083 1083 1084 $hreflang = false; 1085 1084 1086 // Note that Google only supports ISO 639-1 codes. 1085 1087 if ( isset( $gp_locale->lang_code_iso_639_1 ) && isset( $gp_locale->country_code ) ) { … … 1093 1095 } 1094 1096 1095 if ( $hreflang ) {1097 if ( $hreflang && 'art' !== $hreflang ) { 1096 1098 $sites[ $site->locale ]->hreflang = strtolower( $hreflang ); 1097 1099 } else { -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r4473 r4478 182 182 } 183 183 184 $hreflang = false; 185 184 186 // Note that Google only supports ISO 639-1 codes. 185 187 if ( isset( $gp_locale->lang_code_iso_639_1 ) && isset( $gp_locale->country_code ) ) { … … 193 195 } 194 196 195 if ( $hreflang ) {197 if ( $hreflang && 'art' !== $hreflang ) { 196 198 $sites[ $site->locale ]->hreflang = strtolower( $hreflang ); 197 199 } else {
Note: See TracChangeset
for help on using the changeset viewer.