WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/03/2019 12:39:13 AM (7 weeks ago)
Author:
SergeyBiryukov
Message:

I18N: Capitalize translator comments consistently, add trailing punctuation.

Includes minor code layout fixes.

See #44360.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/shortcodes.php

    r45674 r45932  
    7171
    7272    if ( 0 !== preg_match( '@[<>&/\[\]\x00-\x20=]@', $tag ) ) {
    73         /* translators: 1: shortcode name, 2: space separated list of reserved characters */
     73        /* translators: 1: Shortcode name, 2: Space-separated list of reserved characters. */
    7474        $message = sprintf( __( 'Invalid shortcode name: %1$s. Do not use spaces or reserved characters: %2$s' ), $tag, '& / < > [ ] =' );
    7575        _doing_it_wrong( __FUNCTION__, $message, '4.4.0' );
     
    297297
    298298    if ( ! is_callable( $shortcode_tags[ $tag ] ) ) {
    299         /* translators: %s: shortcode tag */
     299        /* translators: %s: Shortcode tag. */
    300300        $message = sprintf( __( 'Attempting to parse a shortcode without a valid callback: %s' ), $tag );
    301301        _doing_it_wrong( __FUNCTION__, $message, '4.3.0' );
Note: See TracChangeset for help on using the changeset viewer.