WordPress.org

Forums

WP Document Revisions
[resolved] WPML 3.1.4 probable JavaScript conflict (2 posts)

  1. Dariusz Zielonka
    Member
    Posted 1 year ago #

    Hello,

    I'd like to use your plugin, but it seems that with WPML in version as in subject, it doesn't trigger JavaScripts which work without WPML on post editor (e.g. Upload New Version button) and categories/tags.

    Do you know how we can fix this?

    https://wordpress.org/plugins/wp-document-revisions/

  2. Dariusz Zielonka
    Member
    Posted 1 year ago #

    It was a WPML 3.1.4 post-edit.js caused error,

    If you put the code to functions.php of your active theme, it should resolve the problem :)

    function icl_load_jquery_dialog() {
    	wp_enqueue_script( 'jquery-ui-dialog', false, array('jquery'), false, true );
    }
    
    add_action( 'admin_enqueue_scripts', 'icl_load_jquery_dialog' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Document Revisions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic