ACF PRO + wc_appointment_form_params
Issue #51
resolved
On edit appointment page datepicker doesn’t work when ACF Pro is installed.
$( '.date-picker' ).datepicker({
dateFormat: 'yy-mm-dd',
numberOfMonths: 1,
showButtonPanel: true,
closeText: wc_appointment_form_params.closeText,
post.php?post=13&action=edit:1923 Uncaught ReferenceError: wc_appointment_form_params is not defined
Line 356 - 365 are not necessary as date-picker is already translated globally. So removing these lines fixes this error.
Comments (2)
-
-
- changed status to resolved
Fixed with 2.0+ (still in beta)
- Log in to comment
I'll remove all datepicker translation options from all datepickers after WordPress 4.6 is live and stable.