diff options
author | Yaco <franco@reevo.org> | 2019-10-04 16:03:20 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2019-10-04 16:03:20 -0300 |
commit | ac6bedd68a70d744a927494351100e6bfabfe14e (patch) | |
tree | 7a9a7967a6244008edbc27055b205d936cb45b02 /www/crm/wp-includes/post-template.php | |
parent | b25b94b8b0aacab5a5a38bb107201c7f92c083ab (diff) |
Actualiza WP a 5.2.3
Diffstat (limited to 'www/crm/wp-includes/post-template.php')
-rw-r--r-- | www/crm/wp-includes/post-template.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/www/crm/wp-includes/post-template.php b/www/crm/wp-includes/post-template.php index dd9e22d9..89a20525 100644 --- a/www/crm/wp-includes/post-template.php +++ b/www/crm/wp-includes/post-template.php @@ -362,27 +362,10 @@ function get_the_content( $more_link_text = null, $strip_teaser = false, $post = } } - if ( $preview ) { // Preview fix for JavaScript bug with foreign languages. - $output = preg_replace_callback( '/\%u([0-9A-F]{4})/', '_convert_urlencoded_to_entities', $output ); - } - return $output; } /** - * Preview fix for JavaScript bug with foreign languages. - * - * @since 3.1.0 - * @access private - * - * @param array $match Match array from preg_replace_callback. - * @return string - */ -function _convert_urlencoded_to_entities( $match ) { - return '&#' . base_convert( $match[1], 16, 10 ) . ';'; -} - -/** * Display the post excerpt. * * @since 0.71 |