Making WordPress.org


Ignore:
Timestamp:
01/10/2020 10:29:25 PM (6 years ago)
Author:
coffee2code
Message:

Developer: Default to having comment form initially expanded.

Props sebastienserre, Kenshino, coffee2code.
Fixes #4831.

File:
1 edited

Legend:

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

    r9325 r9390  
    6464    <?php if ( \DevHub\is_parsed_post_type() && DevHub\can_user_post_note( true, get_the_ID() ) ) : ?>
    6565
    66         <?php if ( is_user_logged_in() ) : ?>
    67             <?php
    68                 /* Hide the add user note link by default.
    69                  * It will be displayed by Javascript.
    70                  * If Javascript is disabled the comment form is displayed and the link stays hidden.
    71                  */
    72             ?>
    73             <p id="add-user-note" style="display: none;"><a href="<?php echo user_trailingslashit( get_permalink() ) . '#respond'; ?>"><?php _e( 'Have a note or feedback to contribute?', 'wporg' ); ?></a></p>
    74         <?php endif; ?>
    75 
    7666        <?php
    7767        if ( class_exists( 'DevHub_User_Submitted_Content' ) )  {
Note: See TracChangeset for help on using the changeset viewer.