Changeset 7813 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-single-reply-topic.php
- Timestamp:
- 11/01/2018 07:02:31 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-single-reply-topic.php
r5626 r7813 1 <?php 2 /** 3 * Replies Loop - Single Reply Topic 4 * 5 * @package bbPress 6 * @subpackage Theme 7 */ 8 9 // Exit if accessed directly 10 defined( 'ABSPATH' ) || exit; 11 12 ?> 13 1 14 <?php $topic_id = bbp_get_reply_topic_id(); ?> 2 15 … … 19 32 <?php do_action( 'bbp_theme_before_topic_started_by' ); ?> 20 33 21 <span class="bbp-topic-started-by"><?php printf( __( 'Started by: %1$s', 'wporg-forums' ), bbp_get_topic_author_link( array( 'post_id' => $topic_id, 'size' => '14' ) ) ); ?></span> 34 <span class="bbp-topic-started-by"> 35 <?php 36 printf( 37 esc_html__( 'Started by: %1$s', 'wporg-forums' ), 38 bbp_get_topic_author_link( 39 array( 40 'post_id' => $topic_id, 41 'size' => '14', 42 ) 43 ) 44 ); 45 ?> 46 </span> 22 47 23 48 <?php do_action( 'bbp_theme_after_topic_started_by' ); ?> … … 25 50 <?php do_action( 'bbp_theme_before_topic_started_in' ); ?> 26 51 27 <span class="bbp-topic-started-in"><?php printf( __( 'in: <a href="%1$s">%2$s</a>', 'wporg-forums' ), bbp_get_forum_permalink( bbp_get_topic_forum_id( $topic_id ) ), bbp_get_forum_title( bbp_get_topic_forum_id( $topic_id ) ) ); ?></span>52 <span class="bbp-topic-started-in"><?php printf( esc_html__( 'in: <a href="%1$s">%2$s</a>', 'wporg-forums' ), bbp_get_forum_permalink( bbp_get_topic_forum_id( $topic_id ) ), bbp_get_forum_title( bbp_get_topic_forum_id( $topic_id ) ) ); ?></span> 28 53 29 54 <?php do_action( 'bbp_theme_after_topic_started_in' ); ?> … … 53 78 <?php do_action( 'bbp_theme_before_topic_freshness_author' ); ?> 54 79 55 <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id( $topic_id ), 'size' => 14 ) ); ?></span> 80 <span class="bbp-topic-freshness-author"> 81 <?php 82 bbp_author_link( 83 array( 84 'post_id' => bbp_get_topic_last_active_id( $topic_id ), 85 'size' => 14, 86 ) 87 ); 88 ?> 89 </span> 56 90 57 91 <?php do_action( 'bbp_theme_after_topic_freshness_author' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.