Make WordPress Core

Ticket #61860: error-resolve.patch

File error-resolve.patch, 564 bytes (added by dhruvang21, 15 months ago)
  • src/wp-includes/formatting.php

    diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php
    index d170728e01..829382213e 100644
    a b function wp_replace_in_html_tags( $haystack, $replace_pairs ) { 
    761761
    762762        // Optimize when searching for one item.
    763763        if ( 1 === count( $replace_pairs ) ) {
    764                 // Extract $needle and $replace.
    765                 foreach ( $replace_pairs as $needle => $replace ) {
    766                 }
    767764
    768765                // Loop through delimiters (elements) only.
    769766                for ( $i = 1, $c = count( $textarr ); $i < $c; $i += 2 ) {