WordPress.org

Make WordPress Core

Ticket #38052: wp-util.js.patch

File wp-util.js.patch, 412 bytes (added by ross_ritchey, 5 years ago)

Patch file to bring back null in the _.template call

  • wp-util.js

     
    3030                        };
    3131
    3232                return function ( data ) {
    33                         compiled = compiled || _.template( $( '#tmpl-' + id ).html(), options );
     33                        compiled = compiled || _.template( $( '#tmpl-' + id ).html(), null, options );
    3434                        return compiled( data );
    3535                };
    3636        });