Make WordPress Core


Ignore:
Timestamp:
11/19/2010 05:31:07 AM (11 years ago)
Author:
nacin
Message:

Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r16459 r16479  
    10791079    $args = array();
    10801080
    1081     if ( isset( $_POST['title'] ) )
    1082         $args['s'] = stripslashes( $_POST['title'] );
     1081    if ( isset( $_POST['search'] ) )
     1082        $args['s'] = stripslashes( $_POST['search'] );
    10831083    $args['pagenum'] = ! empty( $_POST['page'] ) ? absint( $_POST['page'] ) : 1;
    10841084
Note: See TracChangeset for help on using the changeset viewer.