WordPress.org

Ready to get started?Download WordPress

Forums

Disqus Comment System
Disqus + WP 3.2b1 (3 posts)

  1. jameskoole
    Member
    Posted 3 years ago #

    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.

  2. Desik
    Member
    Posted 3 years ago #

    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.

  3. fparamaru
    Member
    Posted 3 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic