Remove dead arguments. see [15937], see #13818, props dd32.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-10-24 03:27:01 +00:00
parent e31f06608c
commit caf177947d
1 changed files with 3 additions and 3 deletions

View File

@ -108,10 +108,10 @@ function wp_reset_postdata() {
* *
* @return bool * @return bool
*/ */
function is_archive( $post_types = '' ) { function is_archive() {
global $wp_query; 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 * @return bool
*/ */
function is_archive( $post_types ) { function is_archive() {
return (bool) $this->is_archive; return (bool) $this->is_archive;
} }