Making WordPress.org

Changeset 4739


Ignore:
Timestamp:
01/19/2017 10:18:06 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: For reviews, change "Reply to Topic" link text to "Reply to Review".

See #1977.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php

    r4723 r4739  
    454454    <?php endif; ?>
    455455    <?php if ( bbp_current_user_can_access_create_reply_form() /*bbp_is_topic_open( $_topic_id )*/ ) : ?>
    456         <li class="create-reply"><a href="#new-post"><?php _e( 'Reply to Topic', 'wporg-forums' ); ?></a></li>
     456        <li class="create-reply"><a href="#new-post"><?php
     457            if ( wporg_support_is_single_review() ) {
     458                _e( 'Reply to Review', 'wporg-forums' );
     459            } else {
     460                _e( 'Reply to Topic', 'wporg-forums' );
     461            }
     462        ?></a></li>
    457463    <?php endif; ?>
    458464    <?php if ( is_user_logged_in() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.