From caf177947d4c880f457c4151c9c6c2e0e21fbb44 Mon Sep 17 00:00:00 2001 From: nacin Date: Sun, 24 Oct 2010 03:27:01 +0000 Subject: [PATCH] Remove dead arguments. see [15937], see #13818, props dd32. git-svn-id: http://svn.automattic.com/wordpress/trunk@15942 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/query.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/query.php b/wp-includes/query.php index 950ae6cf8..c265a5008 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -108,10 +108,10 @@ function wp_reset_postdata() { * * @return bool */ -function is_archive( $post_types = '' ) { +function is_archive() { global $wp_query; - return $wp_query->is_archive( $post_types ); + return $wp_query->is_archive(); } /** @@ -2644,7 +2644,7 @@ class WP_Query extends WP_Object_Query { * * @return bool */ - function is_archive( $post_types ) { + function is_archive() { return (bool) $this->is_archive; }