Making WordPress.org

Changeset 4078


Ignore:
Timestamp:
09/16/2016 01:44:41 PM (8 years ago)
Author:
netweb
Message:

Forums Theme: Add replies topic title (and link) to a reply header on users profile replies view.

Fixes #2002.

File:
1 edited

Legend:

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

    r1521 r4078  
    88 */
    99
    10 ?>
     10if ( bbp_is_single_user_replies() ) : ?>
     11
     12<div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header">
     13    <div class="bbp-meta">
     14            <span class="bbp-header">
     15                <?php esc_html_e( 'In reply to: ', 'bbpress' ); ?>
     16                <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a>
     17            </span>
     18    </div><!-- .bbp-meta -->
     19</div><!-- #post-<?php bbp_reply_id(); ?> -->
     20
     21<?php endif; ?>
    1122
    1223<div id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>>
     
    4657    </div><!-- .bbp-reply-content -->
    4758
     59    <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?>
     60
    4861    <?php bbp_reply_admin_links(); ?>
    4962
     63    <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?>
     64
    5065</div><!-- #post-<?php bbp_reply_id(); ?> -->
Note: See TracChangeset for help on using the changeset viewer.