Make WordPress Core

Changeset 46686


Ignore:
Timestamp:
11/09/2019 01:29:14 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Revert the change to wp-includes/class-wp-xmlrpc-server.php in [46684] to investigate unit test failures.

See #48255.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r46684 r46686  
    236236         * option was deprecated in 3.5.0. Use the 'xmlrpc_enabled' hook instead.
    237237         */
    238         $enabled = apply_filters_deprecated( 'pre_option_enable_xmlrpc', array( false ), '3.5.0', 'xmlrpc_enabled' );
     238        $enabled = apply_filters( 'pre_option_enable_xmlrpc', false );
    239239        if ( false === $enabled ) {
    240             $enabled = apply_filters_deprecated( 'option_enable_xmlrpc', array( true ), '3.5.0', 'xmlrpc_enabled' );
     240            $enabled = apply_filters( 'option_enable_xmlrpc', true );
    241241        }
    242242
Note: See TracChangeset for help on using the changeset viewer.