Changeset 45969 for branches/3.7/src/wp-includes/post-template.php
- Timestamp:
- 09/04/2019 04:47:35 PM (7 years ago)
- File:
-
- 1 edited
-
branches/3.7/src/wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7/src/wp-includes/post-template.php
r37795 r45969 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)