Changeset 45968 for branches/3.8/src/wp-includes/post-template.php
- Timestamp:
- 09/04/2019 04:47:00 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8/src/wp-includes/post-template.php
r37794 r45968 227 227 } 228 228 229 if ( $preview ) // preview fix for javascript bug with foreign languages230 $output = preg_replace_callback( '/\%u([0-9A-F]{4})/', '_convert_urlencoded_to_entities', $output );231 232 229 return $output; 233 }234 235 /**236 * Preview fix for javascript bug with foreign languages237 *238 * @since 3.1.0239 * @access private240 * @param array $match Match array from preg_replace_callback241 * @return string242 */243 function _convert_urlencoded_to_entities( $match ) {244 return '&#' . base_convert( $match[1], 16, 10 ) . ';';245 230 } 246 231
Note: See TracChangeset
for help on using the changeset viewer.