Ticket #1773: 1773.diff
File 1773.diff, 539 bytes (added by , 7 years ago) |
---|
-
classes/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 $bodyClasses = get_body_class(); 175 176 if ( ! is_admin() && in_array('tagregator',$bodyClasses)) { 174 177 wp_enqueue_script( self::PREFIX . 'front-end' ); 175 178 wp_enqueue_style( self::PREFIX . 'front-end' ); 176 179 }