Columns style sheet not loaded correctly

Support MB Columns Columns style sheet not loaded correctly

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3182
    andrewfrankelandrewfrankel
    Participant

    Should follow the model similar to other extensions. The current method can result in an invalid URL generated which contains the system path to the file.

    This code works properly:

    public function admin_enqueue_scripts()
    	{
    		list( , $url ) = RWMB_Loader::get_path( dirname( __FILE__ ) );
    		wp_enqueue_style( 'rwmb-columns', $url . 'columns.css' );
    	}
    #3186
    Anh TranAnh Tran
    Keymaster

    Yes, that's right. I haven't updated the extensions after Meta Box 4.8.6 (just to make sure the RWMB_Loader works correctly). I will do it now.

    #3249
    Anh TranAnh Tran
    Keymaster

    New version has just been released with this improvement. Please update it 🙂

    #3261
    andrewfrankelandrewfrankel
    Participant

    Thanks! Looks to have fixed the issue.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Columns style sheet not loaded correctly’ is closed to new replies.