Changeset 5637
- Timestamp:
- 07/09/2017 03:33:30 PM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/content-single-user.php
r5626 r5637 37 37 <?php if ( bbp_is_single_user_replies() ) bbp_get_template_part( 'user', 'replies-created' ); ?> 38 38 <?php if ( wporg_support_is_single_user_reviews() ) bbp_get_template_part( 'user', 'reviews-written' ); ?> 39 <?php if ( wporg_support_is_single_user_active_topics() ) bbp_get_template_part( 'user', 'active-topics' ); ?>40 39 <?php if ( wporg_support_is_single_user_topics_replied_to() ) bbp_get_template_part( 'user', 'topics-replied-to' ); ?> 41 40 <?php if ( bbp_is_single_user_edit() ) bbp_get_template_part( 'form', 'user-edit' ); ?> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/loop-single-topic.php
r5626 r5637 57 57 || 58 58 bbp_is_single_user_topics() 59 ||60 wporg_support_is_single_user_active_topics()61 59 ) : ?> 62 60 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/user-details.php
r5626 r5637 60 60 </li> 61 61 <?php endif; ?> 62 63 <li class="<?php if ( wporg_support_is_single_user_active_topics() ) :?>current<?php endif; ?>">64 <span class='bbp-user-active-topics-link'>65 <a href="<?php bbp_user_profile_url(); ?>active/" title="<?php66 /* translators: %s: user's display name */67 printf( esc_attr__( "%s's Active Topics", 'wporg-forums' ), bbp_get_displayed_user_field( 'display_name' ) );68 ?>"><?php esc_html_e( 'Active Topics', 'wporg-forums' ); ?></a>69 </span>70 </li>71 62 72 63 <li class="<?php if ( wporg_support_is_single_user_topics_replied_to() ) :?>current<?php endif; ?>"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
r5629 r5637 302 302 function wporg_support_is_single_user_reviews() { 303 303 return (bool) get_query_var( 'wporg_single_user_reviews' ); 304 }305 306 /**307 * Check if the current page is a user's "Active Topics" page.308 *309 * @return bool True if the page is an "Active Topics" page, false otherwise.310 */311 function wporg_support_is_single_user_active_topics() {312 return (bool) get_query_var( 'wporg_single_user_active_topics' );313 304 } 314 305
Note: See TracChangeset
for help on using the changeset viewer.