Patch for WordPress 4.8.1
-
Problem: error or white screen on custom images Setting
Please merge this fix, thanks219,221c219,221
< wp_enqueue_style( self::$prefix . ‘settings_css’, $this->plugin_url() . ‘css/settings.css’ );
< wp_enqueue_style( self::$prefix . 'bootstrap_css', $this->plugin_url() . 'css/nnr-bootstrap.min.css' );
< wp_enqueue_style( self::$prefix . ‘fontawesome_css’, $this->plugin_url() . ‘css/font-awesome.min.css’ );
---
> wp_enqueue_style( self::$prefix . ‘settings_css’, plugins_url(‘/’,__FILE__) . ‘css/settings.css’ );
> wp_enqueue_style( self::$prefix . 'bootstrap_css', plugins_url('/',__FILE__) . 'css/nnr-bootstrap.min.css' );
> wp_enqueue_style( self::$prefix . ‘fontawesome_css’, plugins_url(‘/’,__FILE__) . ‘css/font-awesome.min.css’ );
224,225c224,225
< wp_enqueue_script( self::$prefix . ‘bootstrap_js’, $this->plugin_url() . ‘js/bootstrap.min.js’ );
< wp_enqueue_script( self::$prefix . 'settings_js',
$this->plugin_url() . ‘js/settings.js’, array( ‘jquery’, ‘jquery-ui-sortable’ ) `);---
> wp_enqueue_script( self::$prefix . ‘bootstrap_js’, plugins_url(‘/’,__FILE__) . ‘js/bootstrap.min.js’ );
> wp_enqueue_script( self::$prefix . 'settings_js',
plugins_url(‘/’,__FILE__) . ‘js/settings.js’, array( ‘jquery’, ‘jquery-ui-sortable’ ) );
- The topic ‘Patch for WordPress 4.8.1’ is closed to new replies.