Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#13175 closed defect (bug) (worksforme)

xmlrpc.php should be passed through at WP::parse_request() at line 201

Reported by: toohokuaiki's profile toohokuaiki Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords: dev-feedback
Focuses: Cc:

Description

wp-includes/classes.php

// Don't try to match against AtomPub calls
if ( $req_uri == 'wp-app.php' )
    break;

AtomPub is through this foreach. XMLRPC also shuold be passed through. I think.

// Don't try to match against AtomPub calls
if ( $req_uri == 'wp-app.php' ||  $req_uri == 'xmlrpc.php'  )
    break;

I encount trouble when XMLRPC oparation below settings.
+ WordPress 2.9.2
+ ReWrite ON
+ WordPress url is http://example.com/foo/bar/some/path

Change History (3)

#1 @solarissmoke
15 years ago

  • Keywords xmlrpc removed

I might be wrong, but is this bit of code even loaded when pretty permalinks are enabled?

Server rewrite rules should mean that xmlrpc.php is executed directly. WP::parse_request() is only ever called from WP::main(), which is called from wp-blog-header.php, which is not included when you do a manual wp_load() as in xmlrpc.php.

#2 @solarissmoke
15 years ago

  • Keywords dev-feedback added

#3 @nacin
14 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.