Making WordPress.org


Ignore:
Timestamp:
07/07/2017 05:39:52 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Add two views to user profiles to allow for browsing topics ordered by recent activity:

  • "Active Topics" shows the user's topics with recent replies, ordered by latest reply.
  • "Topics Replied To" shows all topics the user has replied to (including topics started by others), ordered by latest reply.

Fixes #2470.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-single-topic.php

    r5049 r5626  
    5151            <?php do_action( 'bbp_theme_after_topic_started_by' ); ?>
    5252
    53             <?php if ( ( bbp_is_single_view() && ! wporg_support_is_compat_view() ) || ( bbp_is_single_forum() && bbp_get_topic_forum_id() != bbp_get_forum_id() ) || bbp_is_single_user_topics() ) : ?>
     53            <?php if (
     54                        ( bbp_is_single_view() && ! wporg_support_is_compat_view() )
     55                    ||
     56                        ( bbp_is_single_forum() && bbp_get_topic_forum_id() != bbp_get_forum_id() )
     57                    ||
     58                        bbp_is_single_user_topics()
     59                    ||
     60                        wporg_support_is_single_user_active_topics()
     61                    ) : ?>
    5462
    5563                <?php do_action( 'bbp_theme_before_topic_started_in' ); ?>
Note: See TracChangeset for help on using the changeset viewer.