Ticket #9023: 9023_minor_change.diff
| File 9023_minor_change.diff, 1.9 KB (added by , 18 years ago) |
|---|
-
C:/xampp/htdocs/wordpress_trunk/wp-includes/comment-template.php
1285 1285 $comment_depth = 1; 1286 1286 1287 1287 $defaults = array('walker' => null, 'max_depth' => '', 'style' => 'ul', 'callback' => null, 'end-callback' => null, 'type' => 'all', 1288 'page' => '', 'per_page' => '', 'avatar_size' => 32, 'reverse_top_level' => null , 'reverse_children' => '');1288 'page' => '', 'per_page' => '', 'avatar_size' => 32, 'reverse_top_level' => null ); 1289 1289 1290 1290 $r = wp_parse_args( $args, $defaults ); 1291 1291 -
C:/xampp/htdocs/wordpress_trunk/wp-includes/classes.php
952 952 * 953 953 * @package WordPress 954 954 * @since 2.7 955 * @param $max_depth = 0 means display all levels; $max_depth > 0 specifies the number of display levels.955 * @param $max_depth = -1 means flat display; $max_depth = 0 means display all levels; $max_depth > 0 specifies the number of display levels. 956 956 * @param $page_num the specific page number, beginning with 1. 957 957 * @return XHTML of the specified page of elements 958 958 */ … … 1028 1028 $end = $total_top; 1029 1029 1030 1030 if ( !empty($args[0]['reverse_top_level']) ) { 1031 1031 1032 $top_level_elements = array_reverse( $top_level_elements ); 1032 1033 $oldstart = $start; 1033 1034 $start = $total_top - $end; 1034 1035 $end = $total_top - $oldstart; 1035 } 1036 if ( !empty($args[0]['reverse_children']) ) { 1036 1037 1037 foreach ( $children_elements as $parent => $children ) 1038 1038 $children_elements[$parent] = array_reverse( $children ); 1039 1039 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)