Skip to content

Commit

Permalink
XML-RPC: Don't rely on include_path to include files, use `dirname(…
Browse files Browse the repository at this point in the history
…)` instead.

See #17092.


Built from https://develop.svn.wordpress.org/trunk@33459


git-svn-id: http://core.svn.wordpress.org/trunk@33426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
pento committed Jul 28, 2015
1 parent 974c153 commit 5d3fba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-beta4-33458';
$wp_version = '4.3-beta4-33459';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down
2 changes: 1 addition & 1 deletion xmlrpc.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
$HTTP_RAW_POST_DATA = trim($HTTP_RAW_POST_DATA);

/** Include the bootstrap for setting up WordPress environment */
include('./wp-load.php');
include( dirname( __FILE__ ) . '/wp-load.php' );

if ( isset( $_GET['rsd'] ) ) { // http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
Expand Down

0 comments on commit 5d3fba3

Please sign in to comment.