Completed
Push — develop ( 5e31dd...6c1373 )
by Gary
01:59
created
class-tgm-plugin-activation.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -971,7 +971,8 @@  discard block
 block discarded – undo
971 971
 					if ( ! $automatic ) {
972 972
 						// Make sure message doesn't display again if bulk activation is performed
973 973
 						// immediately after a single activation.
974
-						if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK.
974
+						if ( ! isset( $_POST['action'] ) ) {
975
+// WPCS: CSRF OK.
975 976
 							echo '<div id="message" class="updated"><p>', esc_html( $this->strings['activated_successfully'] ), ' <strong>', esc_html( $this->plugins[ $slug ]['name'] ), '.</strong></p></div>';
976 977
 						}
977 978
 					} else {
@@ -992,7 +993,8 @@  discard block
 block discarded – undo
992 993
 				if ( ! $automatic ) {
993 994
 					// Make sure message doesn't display again if bulk activation is performed
994 995
 					// immediately after a single activation.
995
-					if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK.
996
+					if ( ! isset( $_POST['action'] ) ) {
997
+// WPCS: CSRF OK.
996 998
 						echo '<div id="message" class="error"><p>',
997 999
 							sprintf(
998 1000
 								esc_html( $this->strings['plugin_needs_higher_version'] ),
Please login to merge, or discard this patch.