Merge pull request #10368 from justinshreve/variation-js-error-10367

[2.5] Correct the 'unavailable template' call for variations
This commit is contained in:
Claudio Sanches 2016-02-17 16:59:57 -02:00
commit 013b861535
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@
var $template_html = '';
if ( ! variation.variation_is_visible ) {
$template_html = unavailable_template;
$template_html = unavailable_template();
// w3 total cache inline minification adds CDATA tags around our HTML (sigh)
$template_html = $template_html.replace( '/*<![CDATA[*/', '' );
$template_html = $template_html.replace( '/*]]>*/', '' );

File diff suppressed because one or more lines are too long