• Resolved soereo3

    (@soereo3)


    Problem: error or white screen on custom images Setting
    Please merge this fix, thanks

    219,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’ ) );

Viewing 1 replies (of 1 total)
  • Thread Starter soereo3

    (@soereo3)

    just replace all “$this->plugin_url()” to “plugins_url(‘/’,__FILE__)” in /99robots-custom-image-sizes.php

Viewing 1 replies (of 1 total)
  • The topic ‘Patch for WordPress 4.8.1’ is closed to new replies.