From 594a47b1ba659461bc6d419bb18014df05562ee1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 12 Jul 2025 00:45:28 +0000 Subject: [PATCH] Coding Standards: Remove redundant check in `delete_expired_transients()`. The check in the `elseif` branch would always be true, as the preceding `if` is for `! is_multisite()`. Follow-up to [41963]. Props justlevine. See #63268. Built from https://develop.svn.wordpress.org/trunk@60448 git-svn-id: http://core.svn.wordpress.org/trunk@59784 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/option.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/option.php b/wp-includes/option.php index 3b4f461724..bb790673f7 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -1669,7 +1669,7 @@ function delete_expired_transients( $force_db = false ) { time() ) ); - } elseif ( is_multisite() && is_main_site() && is_main_network() ) { + } elseif ( is_main_site() && is_main_network() ) { // Multisite stores site transients in the sitemeta table. $wpdb->query( $wpdb->prepare( diff --git a/wp-includes/version.php b/wp-includes/version.php index d653fc86a8..c3e847e60f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-alpha-60447'; +$wp_version = '6.9-alpha-60448'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.