WordPress.org

Plugin Directory

Changeset 525389 for debug-bar


Ignore:
Timestamp:
03/30/12 14:40:20 (2 years ago)
Author:
nacin
Message:

Move debug bar rendering to the footer. see #WP20161.

File:
1 edited

Legend:

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

    r520086 r525389  
    3232 
    3333        add_action( 'admin_bar_menu',               array( &$this, 'admin_bar_menu' ), 1000 ); 
    34         add_action( 'wp_after_admin_bar_render',    array( &$this, 'render' ) ); 
     34        add_action( 'admin_footer',                 array( &$this, 'render' ), 1000 ); 
     35        add_action( 'wp_footer',                    array( &$this, 'render' ), 1000 ); 
    3536        add_action( 'wp_head',                      array( &$this, 'ensure_ajaxurl' ), 1 ); 
    3637        add_filter( 'body_class',                   array( &$this, 'body_class' ) ); 
Note: See TracChangeset for help on using the changeset viewer.