Changeset 35428
- Timestamp:
- 10/29/2015 10:31:31 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r34933 r35428 91 91 92 92 if ( '' == trim( $tag ) ) { 93 $message = __( 'Invalid shortcode name .Empty name given.' );93 $message = __( 'Invalid shortcode name: Empty name given.' ); 94 94 _doing_it_wrong( __FUNCTION__, $message, '4.4.0' ); 95 95 return; … … 97 97 98 98 if ( 0 !== preg_match( '@[<>&/\[\]\x00-\x20]@', $tag ) ) { 99 $message = sprintf( __( 'Invalid shortcode name: %s Do not use spaces or reserved chars: & / < > [ ]' ), $tag );99 $message = sprintf( __( 'Invalid shortcode name: %s. Do not use spaces or reserved characters: & / < > [ ]' ), $tag ); 100 100 _doing_it_wrong( __FUNCTION__, $message, '4.4.0' ); 101 101 return;
Note: See TracChangeset
for help on using the changeset viewer.