WordPress.org

Make WordPress Core

Changeset 15942


Ignore:
Timestamp:
10/24/2010 03:27:01 AM (9 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

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

    r15937 r15942  
    109109 * @return bool
    110110 */
    111 function is_archive( $post_types = '' ) {
    112     global $wp_query;
    113 
    114     return $wp_query->is_archive( $post_types );
     111function is_archive() {
     112    global $wp_query;
     113
     114    return $wp_query->is_archive();
    115115}
    116116
     
    26452645     * @return bool
    26462646     */
    2647     function is_archive( $post_types ) {
     2647    function is_archive() {
    26482648        return (bool) $this->is_archive;
    26492649    }
Note: See TracChangeset for help on using the changeset viewer.