fbpx
-50% OFF Black Friday coupon: BF2021

Admin Columns Pro Conflict

HomeTopicsSupport forumAdmin Columns Pro Conflict
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17010
    Avatar
    rrogers
    Participant

    Hi there,

    There is a conflict with the Admin Columns Pro plugin. The Feature Image column do not show up in the admin edit.php posts page when installing the new Vegas 1.2.1 theme (with the older version it worked). I fixed it like this:
    vega/framework/includes/helpers.php

    global $pagenow;
    
    	if ( is_admin() && $pagenow === 'edit.php' ) {
    		return;
    	}
    	add_filter( 'wp_kses_allowed_html', 'xts_kses_allowed_html', 10, 2 );

    Thanks!

    #17015
    Artem Temos
    Artem Temos
    Keymaster

    Hello,

    Thank you for the report. We will fix this in our next theme update.

    Kind Regards

    #17026
    Avatar
    rrogers
    Participant

    Hi there!

    The fix is better like this:

    global $pagenow;
    	if ( is_admin() && $pagenow !== 'edit.php' && ! defined( 'DOING_AJAX' ) ) {
    		add_filter( 'wp_kses_allowed_html', 'xts_kses_allowed_html', 10, 2 );
    	}
    #17030
    Artem Temos
    Artem Temos
    Keymaster

    OK, thank you for sharing your experience!

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Admin Columns Pro Conflict’ is closed to new replies.

Sign in

No account yet?

Create an Account