Changeset 43571 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r43377 r43571 131 131 */ 132 132 $cockney = explode( 133 ',', _x( 133 ',', 134 _x( 134 135 "'tain't,'twere,'twas,'tis,'twill,'til,'bout,'nuff,'round,'cause,'em", 135 136 'Comma-separated list of words to texturize in your language' … … 138 139 139 140 $cockneyreplace = explode( 140 ',', _x( 141 ',', 142 _x( 141 143 '’tain’t,’twere,’twas,’tis,’twill,’til,’bout,’nuff,’round,’cause,’em', 142 144 'Comma-separated list of replacement words in your language' … … 2263 2265 '%cc%84', 2264 2266 '%cc%8c', 2265 ), '', $title 2267 ), 2268 '', 2269 $title 2266 2270 ); 2267 2271 … … 3073 3077 3074 3078 if ( ! empty( $rel_match[0] ) ) { 3075 $parts = preg_split( '|\s+|', strtolower( $rel_match[2] ) );3076 $parts = array_map( 'esc_attr', $parts );3077 $needed = explode( ' ', $rel );3078 $parts = array_unique( array_merge( $parts, $needed ) );3079 $parts = preg_split( '|\s+|', strtolower( $rel_match[2] ) ); 3080 $parts = array_map( 'esc_attr', $parts ); 3081 $needed = explode( ' ', $rel ); 3082 $parts = array_unique( array_merge( $parts, $needed ) ); 3079 3083 $delimiter = trim( $rel_match[1] ) ? $rel_match[1] : '"'; 3080 $rel = 'rel=' . $delimiter . trim( implode( ' ', $parts ) ) . $delimiter;3084 $rel = 'rel=' . $delimiter . trim( implode( ' ', $parts ) ) . $delimiter; 3081 3085 $link_html = str_replace( $rel_match[0], $rel, $link_html ); 3082 3086 } else { … … 4844 4848 */ 4845 4849 $l = apply_filters( 4846 'wp_sprintf_l', array( 4850 'wp_sprintf_l', 4851 array( 4847 4852 /* translators: used to join items in a list with more than 2 items */ 4848 4853 'between' => sprintf( __( '%1$s, %2$s' ), '', '' ), … … 5337 5342 5338 5343 $printed = true; 5339 ?>5344 ?> 5340 5345 <style type="text/css"> 5341 5346 img.wp-smiley, … … 5352 5357 } 5353 5358 </style> 5354 <?php5359 <?php 5355 5360 } 5356 5361
Note: See TracChangeset
for help on using the changeset viewer.