Support » Plugin: WP Facebook Timeline (MF Timeline) » Quick fix for WordPress 3.5 & MF-Timeline breakage

  • After upgrading to 3.5 MF-Timeline seems to cause some collision issues with jQuery – none of the javascript-based stuff works on the admin screen anymore (drag and drop in widgets, callouts on the dashboard, etc.) After a quick bit of experimenting on MidnightRyder.org I found a very quick work around. Edit the plugin, and comment out the following section:

     wp_register_script( ‘jquery-ui’, (“http://www.midnightryder.org/wp-includes/js/jquery/ui/jquery.ui.core.min.js”) );
    wp_register_script( ‘mf_timeline_admin_js’, plugins_url( ‘scripts/js/jquery.mf_timeline_admin.min.js’, __FILE__ ), true );
    wp_register_style( ‘mf_timeline_admin_styles’, plugins_url( ‘styles/admin.min.css’, __FILE__ ) );
    wp_register_style( ‘jquery-ui’, plugins_url( ‘styles/jquery-ui/theme-wordpress.css’, __FILE__ ) );

    After that, it worked fine. 🙂

    http://wordpress.org/extend/plugins/wp-facebook-timeline-mf-timeline/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Davis!

    Which file and lines did you edit?

    Thanks!

    I am not a wordpress expert, but just bumping the jquery-ui version in class-mf-timeline.php did the trick for me.

    Replaced

    wp_register_script( 'jquery-ui', ("https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"), false, '1.8.16' )

    with

    wp_register_script( 'jquery-ui', ("https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"), false, '1.9.2' )

    and that was it.

    Thanks, deas0815! Unfortunately this didn’t work for me 🙁

    This plugin is quite essencial for me. Any other suggestions?

    Thanks @deas0815!

    Swapping out the jquery-ui version did the trick for me as well.

    Thanks for the fix @deas0815!

    I had accidentally deleted a ‘;’… Tried again and now it does work!

    Cheers, deas0815!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Quick fix for WordPress 3.5 & MF-Timeline breakage’ is closed to new replies.