Ticket #1773: 1773.2.diff
File 1773.2.diff, 520 bytes (added by , 7 years ago) |
---|
-
tagregator.php
170 170 'all' 171 171 ); 172 172 173 if ( ! is_admin() ) { 173 // If body has tagregator class load front-end js and css 174 175 $bodyClasses = get_body_class(); 176 177 if ( ! is_admin() && in_array( 'tagregator', $bodyClasses ) ) { 178 174 179 wp_enqueue_script( self::PREFIX . 'front-end' ); 175 180 wp_enqueue_style( self::PREFIX . 'front-end' ); 176 181 }