Permalink
Browse files

Update WpConflictResolver.php

  • Loading branch information...
1 parent c57ee6b commit e03c0b457bfd16c5aeb8d955f7b477a6c5c493c7 @codexpert codexpert committed Nov 24, 2015
Showing with 4 additions and 2 deletions.
  1. +4 −2 app/Assets/WpConflictResolver.php
@@ -18,8 +18,10 @@ public function dequeue_default_template_stylesheet() {
global $wp_styles;
-
- $wp_styles->remove( get_default_template_stylesheet_handle() );
+ if( method_exists($wp_styles, 'remove') )
+ {
+ $wp_styles->remove( get_default_template_stylesheet_handle() );
+ }
}
public function remove_sumome(){

0 comments on commit e03c0b4

Please sign in to comment.