@@ 114-127 (lines=14) @@ | ||
111 | $default_no_texturize_shortcodes = array('code'); |
|
112 | ||
113 | // if a plugin has provided an autocorrect array, use it |
|
114 | if ( isset($wp_cockneyreplace) ) { |
|
115 | $cockney = array_keys( $wp_cockneyreplace ); |
|
116 | $cockneyreplace = array_values( $wp_cockneyreplace ); |
|
117 | } else { |
|
118 | /* translators: This is a comma-separated list of words that defy the syntax of quotations in normal use, |
|
119 | * for example... 'We do not have enough words yet' ... is a typical quoted phrase. But when we write |
|
120 | * lines of code 'til we have enough of 'em, then we need to insert apostrophes instead of quotes. |
|
121 | */ |
|
122 | $cockney = explode( ',', _x( "'tain't,'twere,'twas,'tis,'twill,'til,'bout,'nuff,'round,'cause,'em", |
|
123 | 'Comma-separated list of words to texturize in your language' ) ); |
|
124 | ||
125 | $cockneyreplace = explode( ',', _x( '’tain’t,’twere,’twas,’tis,’twill,’til,’bout,’nuff,’round,’cause,’em', |
|
126 | 'Comma-separated list of replacement words in your language' ) ); |
|
127 | } |
|
128 | ||
129 | $static_characters = array_merge( array( '...', '``', '\'\'', ' (tm)' ), $cockney ); |
|
130 | $static_replacements = array_merge( array( '…', $opening_quote, $closing_quote, ' ™' ), $cockneyreplace ); |
@@ 3880-3885 (lines=6) @@ | ||
3877 | if ( empty($tags) ) |
|
3878 | $tags = array(); |
|
3879 | ||
3880 | if ( ! is_array( $tags ) ) { |
|
3881 | $comma = _x( ',', 'tag delimiter' ); |
|
3882 | if ( ',' !== $comma ) |
|
3883 | $tags = str_replace( $comma, ',', $tags ); |
|
3884 | $tags = explode( ',', trim( $tags, " \n\t\r\0\x0B," ) ); |
|
3885 | } |
|
3886 | ||
3887 | /* |
|
3888 | * Hierarchical taxonomies must always pass IDs rather than names so that |