Download all files FTP

This commit is contained in:
2026-04-13 15:50:16 +02:00
parent d8382136b2
commit cb5b386424
6906 changed files with 1956223 additions and 40713 deletions

View File

@@ -36,10 +36,11 @@ window.wp = window.wp || {};
};
return function ( data ) {
if ( ! document.getElementById( 'tmpl-' + id ) ) {
var el = document.querySelector( 'script#tmpl-' + id );
if ( ! el ) {
throw new Error( 'Template not found: ' + '#tmpl-' + id );
}
compiled = compiled || _.template( $( '#tmpl-' + id ).html(), options );
compiled = compiled || _.template( $( el ).html(), options );
return compiled( data );
};
});