Changeset 12657
- Timestamp:
- 01/08/2010 08:34:39 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wordpress.php
r12652 r12657 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 ) { -
trunk/wp-admin/includes/export.php
r12515 r12657 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 /** -
trunk/wp-admin/options-reading.php
r12546 r12657 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') ) : ?> -
trunk/wp-content/themes/classic/header.php
r10485 r12657 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(); ?> -
trunk/wp-content/themes/classic/sidebar.php
r12589 r12657 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> -
trunk/wp-content/themes/default/archives.php
r9234 r12657 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 -
trunk/wp-content/themes/default/sidebar.php
r11791 r12657 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> -
trunk/wp-includes/comment-template.php
r12598 r12657 984 984 echo ' class="'.$css_class.'" '; 985 985 } 986 $title = the_title_attribute( 'echo=0');986 $title = the_title_attribute( array('echo' => 0 ) ); 987 987 988 988 echo apply_filters( 'comments_popup_link_attributes', '' ); -
trunk/wp-includes/deprecated.php
r12656 r12657 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(); -
trunk/wp-trackback.php
r12284 r12657 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
Note: See TracChangeset
for help on using the changeset viewer.