Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgriffin committed Jan 5, 2012
2 parents d32e576 + b87c5bf commit 09067fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: Thomas Griffin (@jthomasgriffin / thomasgriffinmedia.com)
Gary Jones (Github: @GaryJones / Twitter: GaryJ)
Version: 2.2.0
Requires at least: 3.0.0
Tested up to: 3.3
Tested up to: 3.3.1

== Description ==

Expand Down Expand Up @@ -35,6 +35,10 @@ You can also follow project progress and updates on Twitter. Follow us here at h

== Changelog ==

= 2.2.1 =

* Fixed bug that caused WordPress core upgrades to fail (WordPress doesn't check for including WP_Upgrader on core upgrades)

= 2.2.0 =

* Fixed erroneous links for plugins linked to the WordPress Repo
Expand Down
2 changes: 1 addition & 1 deletion tgm-plugin-activation/class-tgm-plugin-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -1571,7 +1571,7 @@ public function prepare_items() {
*
* @since 2.2.0
*/
if ( ! class_exists( 'WP_Upgrader' ) && ( ! isset( $_GET[sanitize_key( 'action' )] ) || ! isset( $_GET[sanitize_key( 'activate' )] ) ) ) {
if ( ! class_exists( 'WP_Upgrader' ) && isset( $_GET[sanitize_key( 'page' )] ) && TGM_Plugin_Activation::$instance->menu == $_GET[sanitize_key( 'page' )] ) {
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';

if ( ! class_exists( 'TGM_Bulk_Installer' ) ) {
Expand Down

0 comments on commit 09067fd

Please sign in to comment.