Changeset 6026 for trunk/src/includes/replies/functions.php
- Timestamp:
- 05/19/2016 07:35:41 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r5969 r6026 1696 1696 * @since 2.6.0 bbPress (r5399) 1697 1697 * 1698 * @param int $reply_id Optional. Reply id. 1699 * 1698 1700 * @return array 1699 1701 */ 1700 function bbp_get_reply_statuses( ) {1702 function bbp_get_reply_statuses( $reply_id = 0 ) { 1701 1703 return apply_filters( 'bbp_get_reply_statuses', array( 1702 1704 bbp_get_public_status_id() => _x( 'Publish', 'Publish the reply', 'bbpress' ), … … 1704 1706 bbp_get_trash_status_id() => _x( 'Trash', 'Trash the reply', 'bbpress' ), 1705 1707 bbp_get_pending_status_id() => _x( 'Pending', 'Mark reply as pending', 'bbpress' ), 1706 ) );1708 ), $reply_id ); 1707 1709 } 1708 1710
Note: See TracChangeset
for help on using the changeset viewer.