Skip to content

Conversation

@tmtrademark
Copy link

Locally, I made the datepicker field cloneable, but _sanitize_field_value chokes when strtotime() is fed an Array of values. Switching the order of sanitize_callback allows for customized sanitization of these values.

…tize callback can be executed before date conversion happens
@mjangda
Copy link
Member

mjangda commented Jul 25, 2014

Probably better to fix the strtotime conversion; have it handle an array input?

@tmtrademark
Copy link
Author

@mjangda Now handles array input

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants