Changeset 4965
- Timestamp:
- 05/28/2013 07:03:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/replies/functions.php
r4944 r4965 1070 1070 return; 1071 1071 1072 // Return if no reply to1073 if ( empty( $reply_to ) )1074 return;1075 1076 1072 // Set the reply to 1077 update_post_meta( $reply_id, '_bbp_reply_to', $reply_to ); 1073 if ( !empty( $reply_to ) ) { 1074 update_post_meta( $reply_id, '_bbp_reply_to', $reply_to ); 1075 1076 // Delete the reply to 1077 } else { 1078 delete_post_meta( $reply_id, '_bbp_reply_to' ); 1079 } 1078 1080 1079 1081 return (int) apply_filters( 'bbp_update_reply_to', (int) $reply_to, $reply_id );
Note: See TracChangeset
for help on using the changeset viewer.