@@ -971,7 +971,8 @@ discard block |
||
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 |
||
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'] ), |