Changeset 5444 for trunk/wp-includes/general-template.php
- Timestamp:
- 05/11/2007 03:10:05 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r5433 r5444 314 314 315 315 function wp_get_archives($args = '') { 316 global $wp _locale, $wpdb;317 318 if ( is_array($args) )319 $r = &$args;320 else321 parse_str($args, $r);322 323 $defaults = array('type' => 'monthly', 'limit' => '', 'format' => 'html', 'before' => '', 'after' => '', 'show_post_count' => false);324 $r = array_merge($defaults, $r);325 extract( $r);316 global $wpdb; 317 318 $defaults = array( 319 'type' => 'monthly', 'limit' => '', 320 'format' => 'html', 'before' => '', 321 'after' => '', 'show_post_count' => false 322 ); 323 324 $r = wp_parse_args( $args, $defaults ); 325 extract( $r ); 326 326 327 327 if ( '' == $type )
Note: See TracChangeset
for help on using the changeset viewer.