• Resolved Sajid Manzoor

    (@sajiddesigner)


    Hello
    I have updated wordpress to version 4.5.
    But i am having issues with this plugin. If this plugin is activated then Featured Image or Media Picker pop up does not opens. and it shows following warning in console.

    Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.

    Please confirm how can we fix this.

    thank you

    https://www.ads-software.com/plugins/key4ce-osticket-bridge/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Sajid Manzoor

    (@sajiddesigner)

    Hello Author
    I have figured out that this issue is due to admin-style.css file.
    I have emptied admin-style.css file and then each and every thing works fine. else it shows a blank page.

    plz cnfrm which line in css file needs to be changed.

    Thank you
    sajid

    Thread Starter Sajid Manzoor

    (@sajiddesigner)

    Hello Author

    I have deleted following lines from file admin-style.css and issue is resolved.

    td {height:40px;}
    td.note {height:5px;}
    td.cgnote {height:1px;}

    Deleted lines no 11- line no 13 in admin-style.css file
    i am surprised and confused with this. that why image picker was not opening as above css lines have nothing to do with Media picker box..

    Hi Marco. I have the same issue on WP 4.5.1. When in Post creation/edit ‘Add Media’ button fails to open media picker – same thing with ‘Set Featured Image’.

    Presumably the wonderful key 4ce plugin is including stuff in the admin pages – does it really need to do that? I posted originally a work around to deregister the CSS for Admin however I suspect this workaround is no longer working? Maybe the references have changed?

    https://www.ads-software.com/support/topic/how-to-deregister-ost-bridge-admin-css?replies=4

    This seems to work – just add it to your theme functions.php as usual

    /* key4ce ost bridge css fights with WP admin screens for mailpoet editor & post editor in 4.5- disable the CSS while viewing these admin screens */
    add_action( 'admin_head', 'my_deregister_css2', 100 );
    
    function my_deregister_css2() {
       if (false !== strpos($_SERVER['REQUEST_URI'], '/wp-admin/admin.php?page=wysija_campaigns')) {
    	wp_deregister_style( 'ost-bridge-admin' );
       }
    
       if (false !== strpos($_SERVER['REQUEST_URI'], '/wp-admin/post.php')) {
    	wp_deregister_style( 'ost-bridge-admin' );
       }
    }
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin causes issues with WordPress 4.5’ is closed to new replies.