Escape date_display_format
[MAILPOET-5457]
This commit is contained in:
committed by
Aschepikov
parent
5c0201f3b1
commit
a07ac12978
@@ -19,7 +19,7 @@
|
||||
var mailpoet_current_time = <%= json_encode(current_time) %>;
|
||||
var mailpoet_current_date_time = <%= json_encode(current_date_time) %>;
|
||||
var mailpoet_schedule_time_of_day = <%= json_encode(schedule_time_of_day) %>;
|
||||
var mailpoet_date_display_format = "<%= wp_date_format() %>";
|
||||
var mailpoet_date_display_format = "<%= wp_datetime_format()|escape('js') %>";
|
||||
var mailpoet_date_storage_format = "Y-m-d";
|
||||
var mailpoet_product_categories = <%= json_encode(product_categories) %>;
|
||||
var mailpoet_products = <%= json_encode(products) %>;
|
||||
|
Reference in New Issue
Block a user