Make WordPress Core

Ticket #38434: 38434.patch

File 38434.patch, 639 bytes (added by georgemandis, 10 years ago)

Patch for escaping character in svg-painter.js

  • src/wp-admin/js/svg-painter.js

    diff --git a/src/wp-admin/js/svg-painter.js b/src/wp-admin/js/svg-painter.js
    index 6810fd2..7b68760 100644
    a b wp.svgPainter = ( function( $, window, document, undefined ) {  
    1313
    1414        $(document).ready( function() {
    1515                // detection for browser SVG capability
    16                 if ( document.implementation.hasFeature( 'http://www.w3.org/TR/SVG11/feature\#Image', '1.1' ) ) {
     16                if ( document.implementation.hasFeature( 'http://www.w3.org/TR/SVG11/feature#Image', '1.1' ) ) {
    1717                        $( document.body ).removeClass( 'no-svg' ).addClass( 'svg' );
    1818                        wp.svgPainter.init();
    1919                }