Which query need to be escaped
-
I found that
$wpdb -> insert
and$wpdb -> update
do not need escaping as described in the documentation.Is that mean all queries other than the two mentioned above need to be escaped by
$wpdb->prepare
?If yes, then it’s simple.
But if not, how do I know which query needs to use with
$wpdb->prepare
?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Which query need to be escaped’ is closed to new replies.