Make WordPress Core


Ignore:
Timestamp:
08/27/2008 08:47:01 PM (18 years ago)
Author:
westi
Message:

Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.

File:
1 edited

Legend:

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

    r8720 r8754  
    2626        $s = $_GET['q']; // is this slashed already?
    2727
    28         if ( strstr( $s, ',' ) ) {
     28        if ( false !== strpos( $s, ',' ) ) {
    2929                $s = explode( ',', $s );
    3030                $s = $s[count( $s ) - 1];
Note: See TracChangeset for help on using the changeset viewer.