Make WordPress Core


Ignore:
Timestamp:
11/05/2015 09:04:56 PM (11 years ago)
Author:
SergeyBiryukov
Message:

Use correct placeholders in translator comments added in [35542].

See #34249.

File:
1 edited

Legend:

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

    r35542 r35543  
    9797
    9898    if ( 0 !== preg_match( '@[<>&/\[\]\x00-\x20]@', $tag ) ) {
    99         /* translators 1: shortcode name */
     99        /* translators: %s: shortcode name */
    100100        $message = sprintf( __( 'Invalid shortcode name: %s. Do not use spaces or reserved characters: & / < > [ ]' ), $tag );
    101101        _doing_it_wrong( __FUNCTION__, $message, '4.4.0' );
     
    316316
    317317    if ( ! is_callable( $shortcode_tags[ $tag ] ) ) {
    318         /* translators: 1: shortcode tag */
     318        /* translators: %s: shortcode tag */
    319319        $message = sprintf( __( 'Attempting to parse a shortcode without a valid callback: %s' ), $tag );
    320320        _doing_it_wrong( __FUNCTION__, $message, '4.3.0' );
Note: See TracChangeset for help on using the changeset viewer.