Skip to content

Commit

Permalink
empty() instead of !== ''
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Apr 27, 2015
1 parent eeea255 commit 3dcb82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class-tgm-plugin-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ public function install_plugins_page() {
<?php $plugin_table->prepare_items(); ?>

<?php
if ( isset( $this->message ) && is_string( $this->message ) && '' !== $this->message ) {
if ( isset( $this->message ) && is_string( $this->message ) && ! empty( $this->message ) ) {
echo wp_kses_post( $this->message );
}
?>
Expand Down

0 comments on commit 3dcb82b

Please sign in to comment.