WordPress.org

Ready to get started?Download WordPress

Forums

Debug Bar
Playing nice with BuddyPress (2 posts)

  1. Eric Andrew Lewis
    Member
    Posted 2 years ago #

    The debug bar has a method ensure_ajaxurl() that resets the ajaxurl to admin_url('admin-ajax.php'); As BuddyPress uses wp-load.php as its ajaxurl, this causes some issues.

    As Debug Bar can't be integrated with < BP 1.5.2, this isn't a problem yet. However, when 1.6 is released, BP will be re-integrating with the WordPress admin bar, and debug bar will be usable.

    Perhaps an if ( ! is_plugin_active('buddypress') ) wrapper would do the trick.

    http://wordpress.org/extend/plugins/debug-bar/

  2. Peter Westwood
    WordPress Lead Developer
    Plugin Author

    Posted 2 years ago #

    I'm not sure why BuddyPress uses wp-load.php as it's ajaxurl as that is incorrect - all AJAX requests whether for the front/backend should really be routed through admin-ajax.php.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags