Making WordPress.org

Changeset 3787


Ignore:
Timestamp:
08/09/2016 04:34:54 PM (9 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Explicitly indicate feedback is acceptable via the same form as user contributed notes.

See #981.
Fixes #607.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
Files:
2 edited

Legend:

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

    r3379 r3787  
    6363    <?php if ( \DevHub\is_parsed_post_type() && DevHub\can_user_post_note( true, get_the_ID() ) ) : ?>
    6464
    65         <p id="add-user-note" style="display:none;"><a href=""><?php _e( 'Have a note to contribute?', 'wporg' ); ?></a></p>
     65        <p id="add-user-note" style="display:none;"><a href=""><?php _e( 'Have a note or feedback to contribute?', 'wporg' ); ?></a></p>
    6666
    6767        <?php comment_form( array(
     
    6969            'comment_notes_after' => '<p>' .
    7070                __( 'Notes should supplement code reference entries, for example examples, tips, explanations, use-cases, and best practices.', 'wporg' ) .
     71                '</p><p>' .
     72                __( 'Feedback can be to report errors or omissions with the documentation on this page. Such feedback will not be publicly posted.', 'wporg' ) .
    7173                '</p><p>' .
    7274                __( 'Do not use this form for support requests, discussions, spam, bug reports, complaints, or self-promotion. Entries of this nature will be deleted.', 'wporg' ) .
     
    7880                sprintf( __( '<strong>NOTE:</strong> All contributions are licensed under <a href="%s">GFDL</a> and are moderated before appearing on the site.', 'wporg' ), 'https://gnu.org/licenses/fdl.html' ) .
    7981                '</p>',
    80             'label_submit'        => __( 'Add Note', 'wporg' ),
     82            'label_submit'        => __( 'Add Note or Feedback', 'wporg' ),
    8183            'must_log_in'         => '<p>' . sprintf(
    82                 __( 'You must <a href="%s">log in</a> before being able to contribute a note.', 'wporg' ),
     84                __( 'You must <a href="%s">log in</a> before being able to contribute a note or feedback.', 'wporg' ),
    8385                'https://wordpress.org/support/bb-login.php?redirect_to=' . urlencode( get_comments_link() )
    8486            ) . '</p>',
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content.php

    r3317 r3787  
    106106    public static function wp_editor_comments() {
    107107        ob_start();
    108         echo '<p class="comment-form-comment"><label for="comment">' . _x( 'Add Note', 'noun', 'wporg' ) . '</label>';
     108        echo '<p class="comment-form-comment"><label for="comment">' . _x( 'Add Note or Feedback', 'noun', 'wporg' ) . '</label>';
    109109        wp_editor( '', 'comment', array(
    110110            'media_buttons' => false,
Note: See TracChangeset for help on using the changeset viewer.