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
This commit is contained in:
Sergey Biryukov
2025-07-12 00:45:28 +00:00
parent 877e90bbff
commit 594a47b1ba
2 changed files with 2 additions and 2 deletions

View File

@@ -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(

View File

@@ -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.