diff --git a/wp-includes/rewrite.php b/wp-includes/rewrite.php index acf8711db..de9ff8906 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 ); } /**