Skip to content

Commit

Permalink
John Blackbourn...
Browse files Browse the repository at this point in the history
OK this is a bug in that plugin activation class. I opened a pull request here: TGMPA/TGM-Plugin-Activation#208

Marking this thread as resolved as it's not a User Switching issue.
  • Loading branch information
Justin Fletcher committed Jul 2, 2014
1 parent 878bdff commit 439d079
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions includes/class-tgm-plugin-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,6 @@ public function init() {
add_filter( 'install_plugin_complete_actions', array( $this, 'actions' ) );
add_action( 'switch_theme', array( $this, 'flush_plugins_cache' ) );

// Load admin bar in the header to remove flash when installing plugins.
if ( $this->is_tgmpa_page() ) {
remove_action( 'wp_footer', 'wp_admin_bar_render', 1000 );
remove_action( 'admin_footer', 'wp_admin_bar_render', 1000 );
add_action( 'wp_head', 'wp_admin_bar_render', 1000 );
add_action( 'admin_head', 'wp_admin_bar_render', 1000 );
}

if ( $this->has_notices ) {
add_action( 'admin_notices', array( $this, 'notices' ) );
add_action( 'admin_init', array( $this, 'admin_init' ), 1 );
Expand Down

0 comments on commit 439d079

Please sign in to comment.