modules/sharedaddy/sharing-sources.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 898-904 (lines=7) @@ | 
                                                            
                                    | 895 |  | 			return 'en_US'; | 
                                                            
                                    | 896 |  | 		} | 
                                                            
                                    | 897 |  |  | 
                                                            
                                    | 898 |  | 		if ( ! class_exists( 'GP_Locales' ) ) { | 
                                                            
                                    | 899 |  | 			if ( ! defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) || ! file_exists( JETPACK__GLOTPRESS_LOCALES_PATH ) ) { | 
                                                            
                                    | 900 |  | 				return false; | 
                                                            
                                    | 901 |  | 			} | 
                                                            
                                    | 902 |  |  | 
                                                            
                                    | 903 |  | 			require JETPACK__GLOTPRESS_LOCALES_PATH; | 
                                                            
                                    | 904 |  | 		} | 
                                                            
                                    | 905 |  |  | 
                                                            
                                    | 906 |  | 		if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { | 
                                                            
                                    | 907 |  | 			// WP.com: get_locale() returns 'it' | 
                                                                        
                 
                                                            
                    
modules/notes.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 154-158 (lines=5) @@ | 
                                                            
                                    | 151 |  |  | 
                                                            
                                    | 152 |  | 		$wpcom_locale = get_locale(); | 
                                                            
                                    | 153 |  |  | 
                                                            
                                    | 154 |  | 		if ( !class_exists( 'GP_Locales' ) ) { | 
                                                            
                                    | 155 |  | 			if ( defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) && file_exists( JETPACK__GLOTPRESS_LOCALES_PATH ) ) { | 
                                                            
                                    | 156 |  | 				require JETPACK__GLOTPRESS_LOCALES_PATH; | 
                                                            
                                    | 157 |  | 			} | 
                                                            
                                    | 158 |  | 		} | 
                                                            
                                    | 159 |  |  | 
                                                            
                                    | 160 |  | 		if ( class_exists( 'GP_Locales' ) ) { | 
                                                            
                                    | 161 |  | 			$wpcom_locale_object = GP_Locales::by_field( 'wp_locale', $wpcom_locale ); | 
                                                                        
                 
                                                            
                    
class.jetpack.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 943-949 (lines=7) @@ | 
                                                            
                                    | 940 |  | 			return 'en_US'; | 
                                                            
                                    | 941 |  | 		} | 
                                                            
                                    | 942 |  |  | 
                                                            
                                    | 943 |  | 		if ( ! class_exists( 'GP_Locales' ) ) { | 
                                                            
                                    | 944 |  | 			if ( ! defined( 'JETPACK__GLOTPRESS_LOCALES_PATH' ) || ! file_exists( JETPACK__GLOTPRESS_LOCALES_PATH ) ) { | 
                                                            
                                    | 945 |  | 				return false; | 
                                                            
                                    | 946 |  | 			} | 
                                                            
                                    | 947 |  |  | 
                                                            
                                    | 948 |  | 			require JETPACK__GLOTPRESS_LOCALES_PATH; | 
                                                            
                                    | 949 |  | 		} | 
                                                            
                                    | 950 |  |  | 
                                                            
                                    | 951 |  | 		if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { | 
                                                            
                                    | 952 |  | 			// WP.com: get_locale() returns 'it' |