Make WordPress Core

Ticket #50477: 50477.diff

File 50477.diff, 745 bytes (added by stevenlinx, 5 years ago)
  • src/wp-includes/formatting.php

    diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
    index 45fb3c35b6..ef844d2f49 100644
    a b function _wptexturize_pushpop_element( $text, &$stack, $disabled_elements ) { 
    452452 *
    453453 * @param string $pee The text which has to be formatted.
    454454 * @param bool   $br  Optional. If set, this will convert all remaining line-breaks
    455  *                    after paragraphing. Default true.
     455 *                    after paragraphing. Line breaks within <script>, <style>, and <svg> sections are not affected. Default true.
    456456 * @return string Text which has been converted into correct paragraph tags.
    457457 */
    458458function wpautop( $pee, $br = true ) {