Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Faisal Alvi <faisalalvi33@gmail.com>
  • Loading branch information
dkotter and faisal-alvi authored Jul 8, 2022
1 parent fa6d406 commit b630da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/ConvertToBlocks/MigrationAgent.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public function get_posts_to_update( $opts = [] ) {
*/
public function has_ctb_client_param() {
// phpcs:disable
$ctb_client = sanitize_text_field( isset( $_GET['ctb_client'] ) ? $_GET['ctb_client'] : '' ) ;
$ctb_client = sanitize_text_field( $_GET['ctb_client'] ?? '' );
// phpcs:enable
$ctb_client = intval( $ctb_client );

Expand Down

0 comments on commit b630da6

Please sign in to comment.