Completed
Push — develop ( 9aa69a...b20875 )
by J.D.
03:27
created
src/admin/classes/list/table/extensions.php 1 patch
Braces   +11 added lines, -5 removed lines patch added patch discarded remove patch
@@ -76,11 +76,13 @@  discard block
 block discarded – undo
76 76
 		 */
77 77
 		$module_statuses = apply_filters( 'wordpoints_module_statuses', $module_statuses );
78 78
 
79
-		if ( isset( $_REQUEST['module_status'] ) && in_array( wp_unslash( $_REQUEST['module_status'] ), $module_statuses, true ) ) { // WPCS: CSRF OK.
79
+		if ( isset( $_REQUEST['module_status'] ) && in_array( wp_unslash( $_REQUEST['module_status'] ), $module_statuses, true ) ) {
80
+// WPCS: CSRF OK.
80 81
 			$status = sanitize_key( $_REQUEST['module_status'] ); // WPCS: CSRF OK.
81 82
 		}
82 83
 
83
-		if ( isset( $_REQUEST['s'] ) ) { // WPCS: CSRF OK.
84
+		if ( isset( $_REQUEST['s'] ) ) {
85
+// WPCS: CSRF OK.
84 86
 			$_SERVER['REQUEST_URI'] = add_query_arg( 's', sanitize_text_field( wp_unslash( $_REQUEST['s'] ) ) ); // WPCS: CSRF OK.
85 87
 		}
86 88
 
@@ -342,7 +344,8 @@  discard block
 block discarded – undo
342 344
 
343 345
 		static $term;
344 346
 
345
-		if ( is_null( $term ) && isset( $_REQUEST['s'] ) ) { // WPCS: CSRF OK.
347
+		if ( is_null( $term ) && isset( $_REQUEST['s'] ) ) {
348
+// WPCS: CSRF OK.
346 349
 			$term = sanitize_text_field( wp_unslash( $_REQUEST['s'] ) ); // WPCS: CSRF OK.
347 350
 		}
348 351
 
@@ -802,9 +805,12 @@  discard block
 block discarded – undo
802 805
 				<p>
803 806
 					<?php if ( ! empty( $module_data['description'] ) ) : ?>
804 807
 						<?php echo wp_kses( $module_data['description'], 'wordpoints_module_description' ); ?>
805
-					<?php else : ?>
808
+					<?php else {
809
+	: ?>
806 810
 						&nbsp;
807
-					<?php endif; ?>
811
+					<?php endif;
812
+}
813
+?>
808 814
 				</p>
809 815
 			</div>
810 816
 			<div class="<?php echo esc_attr( $class ); ?> second module-version-author-uri">
Please login to merge, or discard this patch.