WordPress.org

Make WordPress Core

Ticket #14820: 14820-move-include.patch

File 14820-move-include.patch, 829 bytes (added by hakre, 5 years ago)

move include statement for IXR as well

  • wp-includes/class.wp-xmlrpc-server.php

    ### Eclipse Workspace Patch 1.0
    #P wordpress-trunk
     
    55 * @package WordPress 
    66 */ 
    77 
     8include_once(ABSPATH . WPINC . '/class-IXR.php'); 
     9 
    810/** 
    911 * WordPress XMLRPC server implementation. 
    1012 * 
  • xmlrpc.php

     
    5151} 
    5252 
    5353include_once(ABSPATH . 'wp-admin/includes/admin.php'); 
    54 include_once(ABSPATH . WPINC . '/class-IXR.php'); 
    5554include_once(ABSPATH . WPINC . '/class.wp-xmlrpc-server.php'); 
    5655 
    5756// Turn off all warnings and errors.