Changeset 27274
- Timestamp:
- 02/25/2014 08:10:34 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/author-template.php
r26868 r27274 317 317 * <li>html (bool) (true): Whether to list the items in html form or plaintext. 318 318 * </li> 319 * <li>exclude (array): Array of user IDs to explicitly exclude.</li> 320 * <li>include (array): Array of user IDs to explicitly include.</li> 319 321 * </ul> 320 322 * … … 332 334 'show_fullname' => false, 'hide_empty' => true, 333 335 'feed' => '', 'feed_image' => '', 'feed_type' => '', 'echo' => true, 334 'style' => 'list', 'html' => true 336 'style' => 'list', 'html' => true, 'exclude' => '', 'include' => '' 335 337 ); 336 338 … … 340 342 $return = ''; 341 343 342 $query_args = wp_array_slice_assoc( $args, array( 'orderby', 'order', 'number' ) );344 $query_args = wp_array_slice_assoc( $args, array( 'orderby', 'order', 'number', 'exclude', 'include' ) ); 343 345 $query_args['fields'] = 'ids'; 344 346 $authors = get_users( $query_args );
Note: See TracChangeset
for help on using the changeset viewer.