Make WordPress Core

Changeset 16181


Ignore:
Timestamp:
11/04/2010 02:43:10 PM (14 years ago)
Author:
ryan
Message:

Use bool not string. Props TobiasBg. see #15170

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/user.php

    r16170 r16181  
    449449            $wild = false;
    450450            if ( false !== strpos($search, '*') ) {
    451                 $wild = 'true';
     451                $wild = true;
    452452                $search = trim($search, '*');
    453453            }
Note: See TracChangeset for help on using the changeset viewer.