diff --git a/includes/ConvertToBlocks/MigrationAgent.php b/includes/ConvertToBlocks/MigrationAgent.php index a5c319e..7aed24f 100644 --- a/includes/ConvertToBlocks/MigrationAgent.php +++ b/includes/ConvertToBlocks/MigrationAgent.php @@ -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 );