Making WordPress.org

Ticket #8141: 8141.diff

File 8141.diff, 1.0 KB (added by hmbashar, 2 months ago)
  • wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/feedback-no-topics.php

    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/feedback-no-topics.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/feedback-no-topics.php
    index 1b88d85bf..40d1597cd 100644
    a b  
    11<div class="bbp-template-notice">
    2         <p><?php _e( 'No topics found. Select another view or start a new post.', 'wporg-forums' ); ?></p>
    3 </div>
     2        <p>
     3                <?php
     4                if ( is_user_logged_in() ) {
     5                        _e( 'No topics found. Select another view or start a new post.', 'wporg-forums' );
     6                } else {
     7                        printf(
     8                                /* translators: %s: Login URL. */
     9                                __( 'No topics found. Select another view or start a new post. Please <a href="%s">log in</a> first.', 'wporg-forums' ),
     10                                esc_url( wp_login_url() )
     11                        );
     12                }
     13                ?>
     14        </p>
     15</div>
     16 No newline at end of file