Make WordPress Core

Changeset 18810


Ignore:
Timestamp:
09/29/2011 05:50:44 AM (13 years ago)
Author:
nacin
Message:

Revert [18804] until we have a proper solution. see #11520.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class.wp-scripts.php

    r18804 r18810  
    6363                unset($data['l10n_print_after']);
    6464            }
    65             $output = "var $name = " . json_encode( html_entity_decode($data, ENT_QUOTES, 'UTF-8') ) . "; $after\n";
     65            $output = "var $name = " . json_encode($data) . "; $after\n";
    6666        } else {
    6767            $data = $this->get_data( $handle, 'data' );
     
    7171
    7272            foreach ( (array) $data as $name => $data ) {
    73                 $output = "var $name = " . json_encode( html_entity_decode($data, ENT_QUOTES, 'UTF-8') ) . ";\n";
     73                $output = "var $name = " . json_encode($data) . ";\n";
    7474            }
    7575        }
Note: See TracChangeset for help on using the changeset viewer.