Docs: Add a `@see` reference to the `xmlrpc_enabled` filter in `wp_xmlrpc_server::set_is_enabled()`.

Follow-up to [28065].

See #53399.
Built from https://develop.svn.wordpress.org/trunk@51590


git-svn-id: http://core.svn.wordpress.org/trunk@51201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-08-10 12:54:56 +00:00
parent 31c5fc58f2
commit 16b7e3d44c
2 changed files with 2 additions and 2 deletions

View File

@ -186,7 +186,7 @@ class wp_xmlrpc_server extends IXR_Server {
private function set_is_enabled() { private function set_is_enabled() {
/* /*
* Respect old get_option() filters left for back-compat when the 'enable_xmlrpc' * Respect old get_option() filters left for back-compat when the 'enable_xmlrpc'
* option was deprecated in 3.5.0. Use the 'xmlrpc_enabled' hook instead. * option was deprecated in 3.5.0. Use the {@see 'xmlrpc_enabled'} hook instead.
*/ */
$is_enabled = apply_filters( 'pre_option_enable_xmlrpc', false ); $is_enabled = apply_filters( 'pre_option_enable_xmlrpc', false );
if ( false === $is_enabled ) { if ( false === $is_enabled ) {

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.9-alpha-51589'; $wp_version = '5.9-alpha-51590';
/** /**
* 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.