Changeset 36071
- Timestamp:
- 12/23/2015 06:57:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/deprecated.php
r36070 r36071 659 659 660 660 /** 661 * Retrieve editable posts from other users. 662 * 661 * Retrieves editable posts from other users. 662 * 663 * @since 2.3.0 663 664 * @deprecated 3.1.0 Use get_posts() 664 665 * @see get_posts() 665 666 * 666 * @param int $user_id User ID to not retrieve posts from. 667 * @param string $type Optional, defaults to 'any'. Post type to retrieve, can be 'draft' or 'pending'. 667 * @param int $user_id User ID to not retrieve posts from. 668 * @param string $type Optional. Post type to retrieve. Accepts 'draft', 'pending' or 'any' (all). 669 * Default 'any'. 668 670 * @return array List of posts from others. 669 671 */ 670 function get_others_unpublished_posts( $user_id, $type='any') {672 function get_others_unpublished_posts( $user_id, $type = 'any' ) { 671 673 _deprecated_function( __FUNCTION__, '3.1' ); 672 674
Note: See TracChangeset
for help on using the changeset viewer.