Make WordPress Core

Ticket #12284: 12284.2.patch

File 12284.2.patch, 424 bytes (added by hakre, 15 years ago)

Patch preserves a change I had here in my testing bed. If I remember correctly that value is in the defition but not in the code. A calling function does actually have it.

  • formatting.php

     
    324324
    325325        $_quote_style = $quote_style;
    326326
    327         if ( $quote_style === 'double' ) {
     327        if ( $quote_style === 'double' || $quote_style === true ) {
    328328                $quote_style = ENT_COMPAT;
    329329                $_quote_style = ENT_COMPAT;
    330330        } elseif ( $quote_style === 'single' ) {