diff --git a/wp-includes/rest-api/class-wp-rest-request.php b/wp-includes/rest-api/class-wp-rest-request.php index 70328e69e4..a0e67e5d4a 100644 --- a/wp-includes/rest-api/class-wp-rest-request.php +++ b/wp-includes/rest-api/class-wp-rest-request.php @@ -497,7 +497,7 @@ class WP_REST_Request implements ArrayAccess { // Exclude rest_route if pretty permalinks are not enabled. if ( ! get_option( 'permalink_structure' ) ) { unset( $params['rest_route'] ); - } + } return $params; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 1a5ca33239..7dd8576f54 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-beta3-60073'; +$wp_version = '6.8-beta3-60074'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.