WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/15/2010 07:44:57 PM (9 years ago)
Author:
nacin
Message:

Custom post type archives, second pass. see #13818.

File:
1 edited

Legend:

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

    r15806 r15819  
    925925            $args->rewrite['archive'] = false;
    926926        if ( !isset($args->rewrite['feeds']) || !$args->rewrite['archive'] )
    927             $args->rewrite['feeds'] = false;
     927            $args->rewrite['feeds'] = (bool) $args->rewrite['archive'];
    928928
    929929        if ( $args->hierarchical )
Note: See TracChangeset for help on using the changeset viewer.