Changeset 35543
- Timestamp:
- 11/05/2015 09:04:56 PM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-functions.php
r35542 r35543 3236 3236 $taxonomy_obj = get_taxonomy($taxonomy); 3237 3237 if ( ! $taxonomy_obj ) { 3238 /* translators: 1: taxonomy name */3238 /* translators: %s: taxonomy name */ 3239 3239 _doing_it_wrong( __FUNCTION__, sprintf( __( 'Invalid taxonomy: %s.' ), $taxonomy ), '4.4.0' ); 3240 3240 continue; -
trunk/src/wp-includes/shortcodes.php
r35542 r35543 97 97 98 98 if ( 0 !== preg_match( '@[<>&/\[\]\x00-\x20]@', $tag ) ) { 99 /* translators 1: shortcode name */99 /* translators: %s: shortcode name */ 100 100 $message = sprintf( __( 'Invalid shortcode name: %s. Do not use spaces or reserved characters: & / < > [ ]' ), $tag ); 101 101 _doing_it_wrong( __FUNCTION__, $message, '4.4.0' ); … … 316 316 317 317 if ( ! is_callable( $shortcode_tags[ $tag ] ) ) { 318 /* translators: 1: shortcode tag */318 /* translators: %s: shortcode tag */ 319 319 $message = sprintf( __( 'Attempting to parse a shortcode without a valid callback: %s' ), $tag ); 320 320 _doing_it_wrong( __FUNCTION__, $message, '4.3.0' );
Note: See TracChangeset
for help on using the changeset viewer.