Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

isset && only if true

  • Loading branch information...
commit 4f7a5d1a96be65d828ca4a169d71970ddd60bc6a 1 parent 3aea7f0
@jeffsebring jeffsebring authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tgm-plugin-activation/class-tgm-plugin-activation.php
View
2  tgm-plugin-activation/class-tgm-plugin-activation.php
@@ -625,7 +625,7 @@ public function notices() {
$activate_link = true; // We need to display the 'activate' action link
$activate_link_count++; // Increment the activate link count
if ( current_user_can( 'activate_plugins' ) ) {
- if ( isset( $plugin['required'] ) )
+ if ( ( isset( $plugin['required'] ) ) && ( $plugin['required'] ) )
$message['notice_can_activate_required'][] = $plugin['name'];
/** This plugin is only recommended */
else {
Please sign in to comment.
Something went wrong with that request. Please try again.