mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-25 10:12:47 +00:00
Coding Standards: Revert the change to wp-includes/class-wp-xmlrpc-server.php in [46684] to investigate unit test failures.
See #48255. git-svn-id: https://develop.svn.wordpress.org/trunk@46686 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
26dec96b21
commit
51d64085dc
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user