Ticket #9902: 9902.3.diff
File 9902.3.diff, 880 bytes (added by , 11 years ago) |
---|
-
wp-includes/author-template.php
325 325 'optioncount' => false, 'exclude_admin' => true, 326 326 'show_fullname' => false, 'hide_empty' => true, 327 327 'feed' => '', 'feed_image' => '', 'feed_type' => '', 'echo' => true, 328 'style' => 'list', 'html' => true 328 'style' => 'list', 'html' => true, 'exclude' => '', 'include' => '' 329 329 ); 330 330 331 331 $args = wp_parse_args( $args, $defaults ); … … 333 333 334 334 $return = ''; 335 335 336 $query_args = wp_array_slice_assoc( $args, array( 'orderby', 'order', 'number' ) );336 $query_args = wp_array_slice_assoc( $args, array( 'orderby', 'order', 'number', 'exclude', 'include' ) ); 337 337 $query_args['fields'] = 'ids'; 338 338 $authors = get_users( $query_args ); 339 339