Changeset 5840
- Timestamp:
- 07/15/2015 05:43:18 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/extend/akismet.php
r5829 r5840 597 597 * @uses bbp_get_reply_id() To get the reply_id 598 598 * @uses bbp_get_topic_id() To get the topic_id 599 * @uses wp_get_object_terms() To a post's current terms599 * @uses bbp_get_topic_tag_names() To a post's current terms 600 600 * @uses update_post_meta() To add spam terms to post meta 601 601 * … … 609 609 610 610 // Get any pre-existing terms 611 $existing_terms = wp_get_object_terms( $topic_id, bbp_get_topic_tag_tax_id(), array( 'fields' => 'names' ));611 $existing_terms = bbp_get_topic_tag_names( $topic_id ); 612 612 613 613 // Save the terms for later in case the reply gets hammed
Note: See TracChangeset
for help on using the changeset viewer.