Changeset 45932 for trunk/src/wp-includes/shortcodes.php
- Timestamp:
- 09/03/2019 12:39:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r45674 r45932 71 71 72 72 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. */ 74 74 $message = sprintf( __( 'Invalid shortcode name: %1$s. Do not use spaces or reserved characters: %2$s' ), $tag, '& / < > [ ] =' ); 75 75 _doing_it_wrong( __FUNCTION__, $message, '4.4.0' ); … … 297 297 298 298 if ( ! is_callable( $shortcode_tags[ $tag ] ) ) { 299 /* translators: %s: shortcode tag*/299 /* translators: %s: Shortcode tag. */ 300 300 $message = sprintf( __( 'Attempting to parse a shortcode without a valid callback: %s' ), $tag ); 301 301 _doing_it_wrong( __FUNCTION__, $message, '4.3.0' );
Note: See TracChangeset
for help on using the changeset viewer.