mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 20:15:08 +00:00
Coding Standards: Correct alignment in wp-includes/option.php
.
This fixes an `Equals sign not aligned with surrounding statements` WPCS warning, so that the output of `composer format` is clean. Follow-up to [54948]. See #56791. Built from https://develop.svn.wordpress.org/trunk@55033 git-svn-id: http://core.svn.wordpress.org/trunk@54566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aa9b706870
commit
e5b8662000
@ -1467,7 +1467,7 @@ function get_network_option( $network_id, $option, $default_value = false ) {
|
|||||||
if ( ! is_multisite() ) {
|
if ( ! is_multisite() ) {
|
||||||
/** This filter is documented in wp-includes/option.php */
|
/** This filter is documented in wp-includes/option.php */
|
||||||
$default_value = apply_filters( 'default_site_option_' . $option, $default_value, $option, $network_id );
|
$default_value = apply_filters( 'default_site_option_' . $option, $default_value, $option, $network_id );
|
||||||
$value = get_option( $option, $default_value );
|
$value = get_option( $option, $default_value );
|
||||||
} else {
|
} else {
|
||||||
$cache_key = "$network_id:$option";
|
$cache_key = "$network_id:$option";
|
||||||
$value = wp_cache_get( $cache_key, 'site-options' );
|
$value = wp_cache_get( $cache_key, 'site-options' );
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-55032';
|
$wp_version = '6.2-alpha-55033';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user