Changeset 5842
- Timestamp:
- 07/15/2015 09:12:51 PM (10 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/replies.php
r5829 r5842 761 761 * @uses bbp_get_reply_post_type() To get the reply post type 762 762 * @uses bbp_reply_content() To output reply content 763 * @uses bbp_get_reply_ permalink() To get the reply link763 * @uses bbp_get_reply_url() To get the reply link 764 764 * @uses bbp_get_reply_title() To get the reply title 765 765 * @uses current_user_can() To check if the current user can edit or -
trunk/src/includes/extend/akismet.php
r5840 r5842 147 147 148 148 if ( ! empty( $post_data['post_parent'] ) ) { 149 149 150 // Use post parent for permalink 150 151 $post_permalink = get_permalink( $post_data['post_parent'] ); -
trunk/src/includes/forums/template.php
r5841 r5842 1090 1090 $reply_id = get_post_meta( $forum_id, '_bbp_last_reply_id', true ); 1091 1091 1092 if ( empty( $reply_id ) ) {1093 $reply_id = bbp_get_forum_last_topic_id( $forum_id );1094 }1095 1096 1092 return (int) apply_filters( 'bbp_get_forum_last_reply_id', (int) $reply_id, $forum_id ); 1097 1093 } -
trunk/src/includes/topics/template.php
r5841 r5842 2011 2011 $reply_id = get_post_meta( $topic_id, '_bbp_last_reply_id', true ); 2012 2012 2013 if ( empty( $reply_id ) ) {2014 $reply_id = $topic_id;2015 }2016 2017 2013 return (int) apply_filters( 'bbp_get_topic_last_reply_id', (int) $reply_id, $topic_id ); 2018 2014 } … … 2098 2094 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id 2099 2095 * @uses bbp_get_reply_url() To get the reply url 2100 * @uses bbp_get_ reply_permalink() To get the replypermalink2096 * @uses bbp_get_topic_permalink() To get the topic permalink 2101 2097 * @uses apply_filters() Calls 'bbp_get_topic_last_topic_url' with 2102 2098 * the reply url and topic id
Note: See TracChangeset
for help on using the changeset viewer.