﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
23064	support str_to_date on $wpdb->prepare	jperelli		"I was trying to use the function str_to_date from mysql in a SQL raw query using $wpdb to query de db.

I realized that $wpdb->prepare is not letting the query execute because of the presence of str_to_date

Steps to reproduce:

global $wpdb;

echo $wpdb->get_var($wpdb->prepare(""select STR_TO_DATE('200442 Monday', '%X%V %W');""));"	defect (bug)	closed	normal		Database	3.4.2	normal	invalid	needs-patch dev-feedback	
