Changeset 1980945
- Timestamp:
- 11/27/2018 12:26:22 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debug-bar/trunk/debug-bar.php
r1657684 r1980945 40 40 load_plugin_textdomain( 'debug-bar' ); 41 41 42 add_action( ' admin_bar_menu', array( $this, 'admin_bar_menu' ), 1000 );43 add_action( 'admin_footer', array( $this, 'render' ), 1000 );44 add_action( 'wp_footer', array( $this, 'render' ), 1000 );45 add_action( 'wp_head', array( $this, 'ensure_ajaxurl' ), 1 );46 add_filter( 'body_class', array( $this, 'body_class' ) );42 add_action( '000 ); 43 add_action( 'admin_footer', array( $this, 'render' ), 1000 ); 44 add_action( 'wp_footer', array( $this, 'render' ), 1000 ); 45 add_action( 'wp_head', array( $this, 'ensure_ajaxurl' ), 1 ); 46 add_filter( 'body_class', array( $this, 'body_class' ) ); 47 47 add_filter( 'admin_body_class', array( $this, 'body_class' ) ); 48 48 … … 151 151 } 152 152 153 function admin_bar_menu() {153 function () { 154 154 global $wp_admin_bar; 155 155
Note: See TracChangeset
for help on using the changeset viewer.