Changeset 5889
- Timestamp:
- 08/07/2015 09:38:39 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/functions.php
r5880 r5889 29 29 function bbp_insert_reply( $reply_data = array(), $reply_meta = array() ) { 30 30 31 // Forum31 // Parse arguments against default values 32 32 $reply_data = bbp_parse_args( $reply_data, array( 33 33 'post_parent' => 0, // topic ID … … 38 38 'post_content' => '', 39 39 'post_title' => '', 40 'menu_order' => 0, 40 // 'menu_order' => 0, 41 'menu_order' => bbp_get_topic_reply_count( $reply_data['post_parent'], true ) + 1, 41 42 'comment_status' => 'closed' 42 43 ), 'insert_reply' ); … … 50 51 } 51 52 52 // Forum meta53 // Parse arguments against default values 53 54 $reply_meta = bbp_parse_args( $reply_meta, array( 54 55 'author_ip' => bbp_current_author_ip(),
Note: See TracChangeset
for help on using the changeset viewer.