From a484cb25a0b628e7f8550010f1fadb535d3acfe8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 27 Oct 2010 00:30:49 +0000 Subject: [PATCH] Bool cast preg_match, in readable form. see #9824. git-svn-id: https://develop.svn.wordpress.org/trunk@15989 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/rewrite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index acf8711db6..de9ff8906f 100644 --- a/wp-includes/rewrite.php +++ b/wp-includes/rewrite.php @@ -1914,7 +1914,7 @@ class WP_Rewrite { $this->use_trailing_slashes = ( '/' == substr($this->permalink_structure, -1, 1) ); - $this->use_verbose_page_rules = !! preg_match( "#^/%(postname|category|tag|author)%#", $this->permalink_structure ); + $this->use_verbose_page_rules = (bool) preg_match( "#^/%(postname|category|tag|author)%#", $this->permalink_structure ); } /**