modules/widgets/follow-button.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 37-42 (lines=6) @@
                                 | 
                            
                                                            
                                    | 34 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 35 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 36 | 
                                     | 
                                     | 
                                
                                                            
                                    | 37 | 
                                     | 
                                    		if ( class_exists( 'GP_Locales' ) ) { | 
                                
                                                            
                                    | 38 | 
                                     | 
                                    			$wpcom_locale_object = GP_Locales::by_field( 'wp_locale', $wpcom_locale );  | 
                                
                                                            
                                    | 39 | 
                                     | 
                                    			if ( $wpcom_locale_object instanceof GP_Locale ) { | 
                                
                                                            
                                    | 40 | 
                                     | 
                                    				$wpcom_locale = $wpcom_locale_object->slug;  | 
                                
                                                            
                                    | 41 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 42 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 43 | 
                                     | 
                                     | 
                                
                                                            
                                    | 44 | 
                                     | 
                                    		if ( empty( $instance['show_name'] ) ) { | 
                                
                                                            
                                    | 45 | 
                                     | 
                                    			$attributes[] = 'data-show-blog-name="false"';  | 
                                
                                                                        
                 
                                                            
                    
modules/notes.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 160-165 (lines=6) @@
                                 | 
                            
                                                            
                                    | 157 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 158 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 159 | 
                                     | 
                                     | 
                                
                                                            
                                    | 160 | 
                                     | 
                                    		if ( class_exists( 'GP_Locales' ) ) { | 
                                
                                                            
                                    | 161 | 
                                     | 
                                    			$wpcom_locale_object = GP_Locales::by_field( 'wp_locale', $wpcom_locale );  | 
                                
                                                            
                                    | 162 | 
                                     | 
                                    			if ( $wpcom_locale_object instanceof GP_Locale ) { | 
                                
                                                            
                                    | 163 | 
                                     | 
                                    				$wpcom_locale = $wpcom_locale_object->slug;  | 
                                
                                                            
                                    | 164 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 165 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 166 | 
                                     | 
                                     | 
                                
                                                            
                                    | 167 | 
                                     | 
                                    		$classes = 'wpnt-loading wpn-read';  | 
                                
                                                            
                                    | 168 | 
                                     | 
                                    		$wp_admin_bar->add_menu( array(  | 
                                
                                                                        
                 
                                                            
                    
modules/masterbar/masterbar.php 1 location
                
                
                    
                                                
                                                    
                                 | 
                                
                                    @@ 211-216 (lines=6) @@
                                 | 
                            
                                                            
                                    | 208 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 209 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 210 | 
                                     | 
                                     | 
                                
                                                            
                                    | 211 | 
                                     | 
                                    		if ( class_exists( 'GP_Locales' ) ) { | 
                                
                                                            
                                    | 212 | 
                                     | 
                                    			$wpcom_locale_object = GP_Locales::by_field( 'wp_locale', get_locale() );  | 
                                
                                                            
                                    | 213 | 
                                     | 
                                    			if ( $wpcom_locale_object instanceof GP_Locale ) { | 
                                
                                                            
                                    | 214 | 
                                     | 
                                    				$wpcom_locale = $wpcom_locale_object->slug;  | 
                                
                                                            
                                    | 215 | 
                                     | 
                                    			}  | 
                                
                                                            
                                    | 216 | 
                                     | 
                                    		}  | 
                                
                                                            
                                    | 217 | 
                                     | 
                                     | 
                                
                                                            
                                    | 218 | 
                                     | 
                                    		return $wpcom_locale;  | 
                                
                                                            
                                    | 219 | 
                                     | 
                                    	}  |