mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Docs: Correct the first parameter name for the pre_site_option_{$option}
filter.
Follow-up to [27365], [41013], [48193]. See #61608. Built from https://develop.svn.wordpress.org/trunk@58993 git-svn-id: http://core.svn.wordpress.org/trunk@58389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
72bc81c048
commit
3bf2de3ad2
@ -2001,14 +2001,14 @@ function get_network_option( $network_id, $option, $default_value = false ) {
|
|||||||
* @since 4.7.0 The `$network_id` parameter was added.
|
* @since 4.7.0 The `$network_id` parameter was added.
|
||||||
* @since 4.9.0 The `$default_value` parameter was added.
|
* @since 4.9.0 The `$default_value` parameter was added.
|
||||||
*
|
*
|
||||||
* @param mixed $pre_option The value to return instead of the option value. This differs from
|
* @param mixed $pre_site_option The value to return instead of the option value. This differs from
|
||||||
* `$default_value`, which is used as the fallback value in the event
|
* `$default_value`, which is used as the fallback value in the event
|
||||||
* the option doesn't exist elsewhere in get_network_option().
|
* the option doesn't exist elsewhere in get_network_option().
|
||||||
* Default false (to skip past the short-circuit).
|
* Default false (to skip past the short-circuit).
|
||||||
* @param string $option Option name.
|
* @param string $option Option name.
|
||||||
* @param int $network_id ID of the network.
|
* @param int $network_id ID of the network.
|
||||||
* @param mixed $default_value The fallback value to return if the option does not exist.
|
* @param mixed $default_value The fallback value to return if the option does not exist.
|
||||||
* Default false.
|
* Default false.
|
||||||
*/
|
*/
|
||||||
$pre = apply_filters( "pre_site_option_{$option}", false, $option, $network_id, $default_value );
|
$pre = apply_filters( "pre_site_option_{$option}", false, $option, $network_id, $default_value );
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-58992';
|
$wp_version = '6.7-alpha-58993';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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