Make WordPress Core

Changeset 15989


Ignore:
Timestamp:
10/27/2010 12:30:49 AM (14 years ago)
Author:
nacin
Message:

Bool cast preg_match, in readable form. see #9824.

File:
1 edited

Legend:

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

    r15988 r15989  
    19151915        $this->use_trailing_slashes = ( '/' == substr($this->permalink_structure, -1, 1) );
    19161916
    1917         $this->use_verbose_page_rules = !! preg_match( "#^/%(postname|category|tag|author)%#", $this->permalink_structure );
     1917        $this->use_verbose_page_rules = (bool) preg_match( "#^/%(postname|category|tag|author)%#", $this->permalink_structure );
    19181918    }
    19191919
Note: See TracChangeset for help on using the changeset viewer.