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:
@@ -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(
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user