Changeset 4218 for trunk/bbp-includes/bbp-reply-functions.php
- Timestamp:
- 09/11/2012 08:27:47 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/bbp-includes/bbp-reply-functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bbp-includes/bbp-reply-functions.php
r4175 r4218 1149 1149 * 1150 1150 * @param int $reply_id Reply id 1151 * @uses wp_get_single_post() To get the reply1151 * @uses get_post() To get the reply 1152 1152 * @uses do_action() Calls 'bbp_spam_reply' with the reply ID 1153 1153 * @uses add_post_meta() To add the previous status to a meta … … 1159 1159 1160 1160 // Get reply 1161 $reply = wp_get_single_post( $reply_id, ARRAY_A );1161 $reply = get_post( $reply_id, ARRAY_A ); 1162 1162 if ( empty( $reply ) ) 1163 1163 return $reply; … … 1195 1195 * 1196 1196 * @param int $reply_id Reply id 1197 * @uses wp_get_single_post() To get the reply1197 * @uses get_post() To get the reply 1198 1198 * @uses do_action() Calls 'bbp_unspam_reply' with the reply ID 1199 1199 * @uses get_post_meta() To get the previous status meta … … 1206 1206 1207 1207 // Get reply 1208 $reply = wp_get_single_post( $reply_id, ARRAY_A );1208 $reply = get_post( $reply_id, ARRAY_A ); 1209 1209 if ( empty( $reply ) ) 1210 1210 return $reply;
Note: See TracChangeset
for help on using the changeset viewer.