Coding Standards: Revert the change to `wp-includes/class-wp-xmlrpc-server.php` in [46684] to investigate unit test failures.
See #48255. Built from https://develop.svn.wordpress.org/trunk@46686 git-svn-id: http://core.svn.wordpress.org/trunk@46486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1f816ad18d
commit
81490ddbb1
|
@ -235,9 +235,9 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||
* 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.
|
||||
*/
|
||||
$enabled = apply_filters_deprecated( 'pre_option_enable_xmlrpc', array( false ), '3.5.0', 'xmlrpc_enabled' );
|
||||
$enabled = apply_filters( 'pre_option_enable_xmlrpc', false );
|
||||
if ( false === $enabled ) {
|
||||
$enabled = apply_filters_deprecated( 'option_enable_xmlrpc', array( true ), '3.5.0', 'xmlrpc_enabled' );
|
||||
$enabled = apply_filters( 'option_enable_xmlrpc', true );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4-alpha-46685';
|
||||
$wp_version = '5.4-alpha-46686';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue