WordPress.org

Making WordPress.org

Changeset 1631


Ignore:
Timestamp:
05/26/2015 07:05:25 PM (5 years ago)
Author:
ocean90
Message:

Rosetta Theme: Add a support hint to the comment form.

The string is already used on the contact page.

see #1049.

Location:
sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/functions.php

    r1615 r1631  
    3232}
    3333add_action( 'after_setup_theme', 'rosetta_after_setup_theme' );
     34
     35function rosetta_comment_form_support_hint() {
     36    printf(
     37        '<p>%s</p>',
     38        /* translators: feel free to add links to places, where one can get support in your language. */
     39        __( '<strong>Please, do not post support requests here!</strong> They will probably be ignored.', 'rosetta' )
     40    );
     41}
     42add_action( 'comment_form_top', 'rosetta_comment_form_support_hint' );
    3443
    3544function rosetta_wp_page_menu_args( $args ) {
  • sites/trunk/global.wordpress.org/public_html/wp-content/themes/rosetta/style.css

    r1624 r1631  
    314314textarea {
    315315    background-color: #fff;
     316    -webkit-border-radius: 0;
    316317    border-radius: 0;
    317318    font-size: 14px;
     
    342343    padding: 0.375em;
    343344    width: 100%;
     345    -webkit-box-sizing: border-box;
     346    box-sizing: border-box;
    344347}
    345348
Note: See TracChangeset for help on using the changeset viewer.