Skip to:
Content

bbPress.org

Ticket #2811: 2811.topics_fixes.01.patch

File 2811.topics_fixes.01.patch, 651 bytes (added by thebrandonallen, 9 years ago)
  • src/includes/topics/functions.php

    diff --git src/includes/topics/functions.php src/includes/topics/functions.php
    index 21bfd18..7839bba 100644
    function bbp_update_topic_last_active_id( $topic_id = 0, $active_id = 0 ) { 
    25872587 * @uses bbp_get_reply_topic_id() To get the reply topic id
    25882588 * @uses current_time() To get the current time
    25892589 * @uses update_post_meta() To update the topic last active meta
    2590  * @return bool True on success, false on failure
     2590 * @return string MySQL timestamp of last active reply
    25912591 */
    25922592function bbp_update_topic_last_active_time( $topic_id = 0, $new_time = '' ) {
    25932593