WordPress.org

Make WordPress Core

Changeset 21936


Ignore:
Timestamp:
09/21/12 10:18:32 (19 months ago)
Author:
westi
Message:

XMLRPC: Support searching via wp.getPosts() fixes #21623 props ericmann.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r21912 r21936  
    14761476                $query['order'] = $filter['order']; 
    14771477        } 
     1478         
     1479        if ( isset( $filter['s'] ) ) { 
     1480            $query['s'] = $filter['s']; 
     1481        } 
    14781482 
    14791483        $posts_list = wp_get_recent_posts( $query ); 
Note: See TracChangeset for help on using the changeset viewer.