[wp-trac] [WordPress Trac] #27466: WordPress 3.9 issue - database connection lost on mysql_real_escape_string() / AJAX?

WordPress Trac noreply at wordpress.org
Thu Mar 20 22:29:48 UTC 2014


#27466: WordPress 3.9 issue - database connection lost on
mysql_real_escape_string() / AJAX?
--------------------------+-------------------------
 Reporter:  harmr         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Query         |     Version:
 Severity:  normal        |  Resolution:  worksforme
 Keywords:  close         |     Focuses:
--------------------------+-------------------------
Changes (by harmr):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 thanks for the clarification Nacin! I use $wpdb->prepare() wherever
 possible - anyway due to the design of my plugin there are a few cases
 (e.g. where input values can be 1,2,3 or ALL) where I need this
 replacement. Will check if I can reduce these cases in in future releases.

 Now closing ticket for certain ;-)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27466#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list