Skip to content

Commit

Permalink
General: remove trim() that is not needed
Browse files Browse the repository at this point in the history
See #199.
  • Loading branch information
JJJ committed Sep 19, 2024
1 parent 6529de6 commit 4456365
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function prepare_items() {
: 'ASC';

$search = ! empty( $_REQUEST['s'] )

Check warning on line 63 in wp-multi-network/includes/classes/class-wp-ms-networks-list-table.php

View workflow job for this annotation

GitHub Actions / sniff-php

Processing form data without nonce verification.
? stripslashes( trim( sanitize_text_field( $_REQUEST['s'] ) ) )
? stripslashes( sanitize_text_field( $_REQUEST['s'] ) )

Check warning on line 64 in wp-multi-network/includes/classes/class-wp-ms-networks-list-table.php

View workflow job for this annotation

GitHub Actions / sniff-php

Processing form data without nonce verification.
: '';

if ( false !== strpos( $search, '*' ) ) {
Expand Down

0 comments on commit 4456365

Please sign in to comment.