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