Plugin Directory

Changeset 689060

Timestamp:
03/29/2013 11:36:33 PM (11 years ago)
Author:
MZAWeb
Message:

Don't load the panel if bbPress is not active (Thanks jjj)

Location:
debug-bar-bbpress/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • debug-bar-bbpress/trunk/class-debug-bar-bbpress.php

    r687254 r689060  
    4848
    4949    private function get_vars() {
     50
     51
     52
     53
    5054        return apply_filters( 'bbp-debug-bar-vars', array(
    5155            __( 'Forum ID', 'bbp-debug-bar' ) => bbp_get_forum_id(),
  • debug-bar-bbpress/trunk/debug-bar-bbress.php

    r687254 r689060  
    55Description: Helps debug bbPress using the Debug Bar
    66Author: Daniel Dvorkin
    7 Version: 0.2
     7Version: 0.
    88Author URI: http://danieldvork.in
    99*/
     
    1212add_filter( 'debug_bar_panels', 'bbp_add_to_debug_bar' );
    1313function bbp_add_to_debug_bar( $panels ) {
     14
     15
     16
    1417    include_once ( 'class-debug-bar-bbpress.php' );
    1518    $panels[] = new bbpPress_Debug_Bar();
  • debug-bar-bbpress/trunk/readme.txt

    r687258 r689060  
    44Requires at least: 3.1
    55Tested up to: 3.5.1
    6 Stable tag: 0.2
     6Stable tag: 0.
    77
    88Displays information about the bbPress runtime in the Debug Bar.
     
    2626== Changelog ==
    2727
     28
     29
     30
    2831= 0.2 =
    2932* Show full path to template instead of just name,so it's easier to spot overrides.
    3033* Introduce filter 'bbp-debug-bar-vars' to add vars at the top (like Forum or Topic ID)
    31 * Hide the panels if there's nothing to show, like outside bbp pages. (Thanks JJJ)
     34* Hide the panels if there's nothing to show, like outside bbp pages. (Thanks )
    3235
    3336= 0.1 =
Note: See TracChangeset for help on using the changeset viewer.