Making WordPress.org


Ignore:
Timestamp:
11/04/2022 11:01:38 AM (4 years ago)
Author:
akirk
Message:

gp-translation-helpers: Update from Github

Changes:

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers

    • Property svn:ignore
      •  

        old new  
        1010phpunit.xml.dist
        1111tests
         12bin
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/gp-translation-helpers/helpers-assets/templates/translation-discussion-comments.php

    r12003 r12205  
    129129                        $_post_id = $post->ID;
    130130                }
     131                ?>
     132
     133                <?php if ( $comments ) : ?>
     134                <details class="hide-textarea">
     135                        <summary>Start a new conversation</summary>
     136                <?php endif; ?>
     137
     138                <?php
    131139                comment_form(
    132140                        array(
     
    164172                );
    165173                echo '</div>';
     174                ?>
     175               
     176                <?php if ( $comments ) : ?>
     177                        </details>
     178                <?php endif; ?>
     179               
     180                        <?php
    166181        } else {
    167182                /* translators: Log in URL. */
    168183                echo sprintf( __( 'You have to be <a href="%s">logged in</a> to comment.' ), esc_html( wp_login_url() ) );
    169184        }
    170 
    171185        ?>
    172186</div><!-- .discussion-wrapper -->
Note: See TracChangeset for help on using the changeset viewer.