WordPress.org

Support

Disqus WP 3.2b1

  • If you count on Disqus, don’t upgrade to WordPress 3.2b1 just yet. It seems to cause some issues with the Dashboard menus (the slide open/closed doesn’t work).

    Disabling Disqus solves the problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Comment out the following JS around line 784 on disqus.php

    <script type="text/javascript">
    jQuery(function($) {
     fix menu
         var mc = $('#menu-comments');
         mc.find('a.wp-has-submenu').attr('href', 'edit-comments.php?page=disqus').end().find('.wp-submenu  li:has(a[href=edit-comments.php?page=disqus])').prependTo(mc.find('.wp-submenu ul'));
    });
    </script>

    I bet theres a better fix for this, but this would get the job done.

    Disqus Version 2.65, File: disqus.php

    Rather than commenting out, changing line 788 from

    mc.find('a.wp-has-submenu').attr('href', 'edit-comments.php?page=disqus').end().find('.wp-submenu li:has(a[href=edit-comments.php?page=disqus])').prependTo(mc.find('.wp-submenu ul'));

    to

    mc.find('a.wp-has-submenu').attr('href', 'edit-comments.php?page=disqus').end().find('.wp-submenu li:has(a[href="edit-comments.php?page=disqus"])').prependTo(mc.find('.wp-submenu ul'));

    fixes the problem 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disqus WP 3.2b1’ is closed to new replies.
Skip to toolbar