Ticket #6647: more_array_args.6647.diff
| File more_array_args.6647.diff, 3.7 KB (added by , 16 years ago) |
|---|
-
wp-includes/comment-template.php
970 970 if ( !empty( $css_class ) ) { 971 971 echo ' class="'.$css_class.'" '; 972 972 } 973 $title = the_title_attribute( 'echo=0');973 $title = the_title_attribute( array('echo' => 0 ) ); 974 974 975 975 echo apply_filters( 'comments_popup_link_attributes', '' ); 976 976 -
wp-content/themes/classic/sidebar.php
24 24 </li> 25 25 <li id="archives"><?php _e('Archives:'); ?> 26 26 <ul> 27 <?php wp_get_archives( 'type=monthly'); ?>27 <?php wp_get_archives(array('type' => 'monthly')); ?> 28 28 </ul> 29 29 </li> 30 30 <li id="meta"><?php _e('Meta:'); ?> -
wp-content/themes/classic/header.php
17 17 </style> 18 18 19 19 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> 20 <?php wp_get_archives( 'type=monthly&format=link'); ?>20 <?php wp_get_archives(array('type' => 'monthly', 'format' => 'link')); ?> 21 21 <?php //comments_popup_script(); // off by default ?> 22 22 <?php wp_head(); ?> 23 23 </head> -
wp-content/themes/default/archives.php
16 16 17 17 <h2>Archives by Month:</h2> 18 18 <ul> 19 <?php wp_get_archives( 'type=monthly'); ?>19 <?php wp_get_archives(array('type' => 'monthly')); ?> 20 20 </ul> 21 21 22 22 <h2>Archives by Subject:</h2> -
wp-content/themes/default/sidebar.php
55 55 56 56 <li><h2>Archives</h2> 57 57 <ul> 58 <?php wp_get_archives( 'type=monthly'); ?>58 <?php wp_get_archives(array('type' => 'monthly')); ?> 59 59 </ul> 60 60 </li> 61 61 62 <?php wp_list_categories( 'show_count=1&title_li=<h2>Categories</h2>'); ?>62 <?php wp_list_categories(array('show_count' => 1, 'title_li' => '<h2>Categories</h2>')); ?> 63 63 </ul> 64 64 <ul> 65 65 <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> -
wp-admin/includes/export.php
51 51 unset($custom_taxonomies['post_tag']); 52 52 unset($custom_taxonomies['link_category']); 53 53 $custom_taxonomies = array_keys($custom_taxonomies); 54 $terms = (array) get_terms($custom_taxonomies, 'get=all');54 $terms = (array) get_terms($custom_taxonomies, array('get' => 'all')); 55 55 56 56 /** 57 57 * {@internal Missing Short Description}} -
wp-admin/import/wordpress.php
360 360 unset( $custom_taxonomies['link_category'] ); 361 361 362 362 $custom_taxonomies = array_keys( $custom_taxonomies ); 363 $current_terms = (array) get_terms( $custom_taxonomies, 'get=all');363 $current_terms = (array) get_terms( $custom_taxonomies, array('get' => 'all') ); 364 364 $taxonomies = array(); 365 365 foreach ( $current_terms as $term ) { 366 366 if ( isset( $_terms[$term->taxonomy] ) ) {