Ticket #6647: more_array_args.6647.2.diff
| File more_array_args.6647.2.diff, 5.9 KB (added by , 16 years ago) |
|---|
-
wp-content/themes/default/sidebar.php
### Eclipse Workspace Patch 1.0 #P wordpress-trunk
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/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] ) ) { -
wp-includes/comment-template.php
975 975 if ( !empty( $css_class ) ) { 976 976 echo ' class="'.$css_class.'" '; 977 977 } 978 $title = the_title_attribute( 'echo=0');978 $title = the_title_attribute( array('echo' => 0 ) ); 979 979 980 980 echo apply_filters( 'comments_popup_link_attributes', '' ); 981 981 -
wp-trackback.php
7 7 8 8 if (empty($wp)) { 9 9 require_once('./wp-load.php'); 10 wp( 'tb=1');10 wp( array( 'tb' => '1' ) ); 11 11 } 12 12 13 13 /** -
wp-admin/options-reading.php
41 41 </label> 42 42 </p> 43 43 <ul> 44 <li><?php printf("<label for='page_on_front'>" .__('Front page: %s')."</label>", wp_dropdown_pages("name=page_on_front&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_on_front'))); ?></li>45 <li><?php printf("<label for='page_for_posts'>". __('Posts page: %s')."</label>", wp_dropdown_pages("name=page_for_posts&echo=0&show_option_none=".__('- Select -')."&selected=" . get_option('page_for_posts'))); ?></li>44 <li><?php printf("<label for='page_on_front'>" . __('Front page: %s') . "</label>", wp_dropdown_pages( array( 'name' => 'page_on_front', 'echo' => 0, 'show_option_none' => __('- Select -'), 'selected' => get_option('page_on_front') ) ) ); ?></li> 45 <li><?php printf("<label for='page_for_posts'>". __('Posts page: %s') . "</label>", wp_dropdown_pages( array( 'name' => 'page_for_posts','echo' => 0, 'show_option_none' => __('- Select -'), 'selected' => get_option('page_for_posts') ) ) ); ?></li> 46 46 </ul> 47 47 <?php if ( 'page' == get_option('show_on_front') && get_option('page_for_posts') == get_option('page_on_front') ) : ?> 48 48 <div id="front-page-warning" class="updated"> -
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-includes/deprecated.php
592 592 function get_linkobjects($category = 0, $orderby = 'name', $limit = 0) { 593 593 _deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' ); 594 594 595 $links = get_bookmarks( "category=$category&orderby=$orderby&limit=$limit");595 $links = get_bookmarks( array( 'category' => $category, 'orderby' => $orderby, 'limit' => $limit ) ) ; 596 596 597 597 $links_array = array(); 598 598 foreach ($links as $link) -
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-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/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>