Ticket #3039: 3039.patch
File 3039.patch, 2.0 KB (added by , 8 years ago) |
---|
-
src/includes/topics/template.php
2033 2033 * @uses bbp_get_topic_id() To get the topic id 2034 2034 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id 2035 2035 * @uses bbp_get_reply_title() To get the reply title 2036 * @uses apply_filters() Calls 'bbp_get_topic_last_ topic_title' with2036 * @uses apply_filters() Calls 'bbp_get_topic_last_reply_title' with 2037 2037 * the reply title and topic id 2038 2038 * @return string Topic last reply title 2039 2039 */ … … 2042 2042 $reply_id = bbp_get_topic_last_reply_id( $topic_id ); 2043 2043 $retval = bbp_get_reply_title( $reply_id ); 2044 2044 2045 return apply_filters( 'bbp_get_topic_last_topic_title', $retval, $topic_id, $reply_id ); 2045 // Misspelled. Use 'bbp_get_topic_last_reply_title' hook instead. 2046 $retval = apply_filters( 'bbp_get_topic_last_topic_title', $retval, $topic_id, $reply_id ); 2047 2048 return apply_filters( 'bbp_get_topic_last_reply_title', $retval, $topic_id, $reply_id ); 2046 2049 } 2047 2050 2048 2051 /** … … 2065 2068 * @uses bbp_get_topic_id() To get the topic id 2066 2069 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id 2067 2070 * @uses bbp_get_reply_permalink() To get the reply permalink 2068 * @uses apply_filters() Calls 'bbp_get_topic_last_ topic_permalink' with2071 * @uses apply_filters() Calls 'bbp_get_topic_last_reply_permalink' with 2069 2072 * the reply permalink and topic id 2070 2073 * @return string Permanent link to the reply 2071 2074 */ … … 2098 2101 * @uses bbp_get_topic_last_reply_id() To get the topic last reply id 2099 2102 * @uses bbp_get_reply_url() To get the reply url 2100 2103 * @uses bbp_get_topic_permalink() To get the topic permalink 2101 * @uses apply_filters() Calls 'bbp_get_topic_last_ topic_url' with2104 * @uses apply_filters() Calls 'bbp_get_topic_last_reply_url' with 2102 2105 * the reply url and topic id 2103 2106 * @return string Topic last reply url 2104 2107 */