DateTimePicker
DateTimePicker copied to clipboard
Error with jQuery no conflict mode
jQuery in no conflict mode uses jQuery
instead of $
. A check should be added to determine is no conflict mode is enabled, and set $ = jQuery;
accordingly to avoid errors.
In the meantime, the function can be wrapped in:
(function($){ // code })(jQuery);
although this really shouldn't be necessary as the plugin should be able to be deployed as-is on websites that use no conflict--such as all standard WordPress installations--with a proper check.