Ticket #2588: 2588.diff
File 2588.diff, 679 bytes (added by , 11 years ago) |
---|
-
src/includes/replies/functions.php
1119 1119 return; 1120 1120 1121 1121 // Set the reply to 1122 if ( ! empty( $reply_to ) ) {1122 if ( ! empty( $reply_to ) ) { 1123 1123 update_post_meta( $reply_id, '_bbp_reply_to', $reply_to ); 1124 1124 1125 1125 // Delete the reply to … … 1127 1127 delete_post_meta( $reply_id, '_bbp_reply_to' ); 1128 1128 } 1129 1129 1130 return (int) apply_filters( 'bbp_update_reply_to', (int) $reply_ to, $reply_id);1130 return (int) apply_filters( 'bbp_update_reply_to', (int) $reply_id, $reply_to ); 1131 1131 } 1132 1132 1133 1133 /**