Changeset 4798
- Timestamp:
- 03/14/2013 10:24:04 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/replies/functions.php
r4795 r4798 112 112 // Nonce check 113 113 if ( ! bbp_verify_nonce_request( 'bbp-new-reply' ) ) { 114 bbp_add_error( 'bbp_ rew_reply_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'bbpress' ) );114 bbp_add_error( 'bbp_new_reply_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'bbpress' ) ); 115 115 return; 116 116 } … … 1230 1230 'post_date_gmt' => get_gmt_from_date( $destination_post_date ) 1231 1231 ); 1232 1232 1233 1233 // Update destination topic 1234 1234 wp_update_post( $postarr ); 1235 1235 } 1236 1236 1237 1237 // Set the last reply ID and freshness to the move_reply 1238 1238 $last_reply_id = $move_reply->ID; 1239 1239 $freshness = $move_reply->post_date; 1240 1240 1241 1241 // It is a new topic and we need to set some default metas to make 1242 1242 // the topic display in bbp_has_topics() list … … 1257 1257 bbp_update_topic_last_active_id ( $source_topic->ID ); 1258 1258 bbp_update_topic_last_active_time( $source_topic->ID ); 1259 1259 1260 1260 /** Successful Move ******************************************************/ 1261 1261
Note: See TracChangeset
for help on using the changeset viewer.