WordPress.org

Make WordPress Core

Changeset 27552


Ignore:
Timestamp:
03/15/2014 05:00:27 AM (7 years ago)
Author:
nacin
Message:

Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client.

props cfinke.
fixes #26947.

Location:
trunk
Files:
1 added
2 edited

Legend:

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

    r26868 r27552  
    629629            if (!$this->path) {
    630630                $this->path = '/';
     631            }
     632
     633            if ( ! empty( $bits['query'] ) ) {
     634                $this->path .= '?' . $bits['query'];
    631635            }
    632636        } else {
  • trunk/src/wp-includes/class-wp-http-ixr-client.php

    r19712 r27552  
    1919
    2020            // Make absolutely sure we have a path
    21             if ( ! $this->path )
     21            if ( ! $this->path ) {
    2222                $this->path = '/';
     23            }
     24               
     25            if ( ! empty( $bits['query'] ) ) {
     26                $this->path .= '?' . $bits['query'];
     27            }
    2328        } else {
    2429            $this->scheme = 'http';
Note: See TracChangeset for help on using the changeset viewer.