Making WordPress.org

Changeset 7022


Ignore:
Timestamp:
04/04/2018 12:37:31 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Support Forums: Make the language and appearance of "must be logged in" notice consistent between reviews and support topics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php

    r6445 r7022  
    246246                printf(
    247247                    /* translators: %s: login URL */
    248                     __( 'You must <a href="%s">log in or register</a> to submit a review.', 'wporg-forums' ),
     248                    __( 'You must be <a href="%s">logged in</a> to submit a review.', 'wporg-forums' ),
    249249                    add_query_arg(
    250250                        'redirect_to',
     
    333333
    334334        if ( ! is_user_logged_in() ) {
    335             echo '<p>';
     335            echo '<div class="bbp-template-notice"><p>';
    336336            printf(
    337337                /* translators: %s: login URL */
    338                 __( 'You must <a href="%s">log in or register</a> to submit a review.', 'wporg-forums' ),
     338                __( 'You must be <a href="%s">logged in</a> to submit a review.', 'wporg-forums' ),
    339339                add_query_arg(
    340340                    'redirect_to',
     
    343343                )
    344344            );
    345             echo '</p>';
     345            echo '</p></div>';
    346346            return;
    347347        }
Note: See TracChangeset for help on using the changeset viewer.