Making WordPress.org


Ignore:
Timestamp:
05/26/2015 07:05:25 PM (11 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.

File:
1 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 ) {
Note: See TracChangeset for help on using the changeset viewer.