WordPress.org

Make WordPress Core

Changeset 33459


Ignore:
Timestamp:
07/28/2015 12:16:44 PM (6 years ago)
Author:
pento
Message:

XML-RPC: Don't rely on include_path to include files, use dirname() instead.

See #17092.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/xmlrpc.php

    r27146 r33459  
    2727
    2828/** Include the bootstrap for setting up WordPress environment */
    29 include('./wp-load.php');
     29include( dirname( __FILE__ ) . '/wp-load.php' );
    3030
    3131if ( isset( $_GET['rsd'] ) ) { // http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html
Note: See TracChangeset for help on using the changeset viewer.