Quantcast
Channel: WordPress.org Forums » [WordPress MU Domain Mapping] Support
Viewing all articles
Browse latest Browse all 3502

Mark Rowatt Anderson on "[Plugin: WordPress MU Domain Mapping] WP 3.6 outputs NOTICE warnings ESCAPE"

$
0
0

Thanks. RTFM ;-)

And having read the manual, it looks like they are equivalent anyway:-

An alias for $wpdb->escape(). Prepares a string for use as an SQL query. A glorified addslashes() that works with arrays.

Since $_SERVER[ 'HTTP_HOST' ] isn't an array, they will do the same thing, and I suppose using addslashes will save a msec or two :-)


Viewing all articles
Browse latest Browse all 3502

Trending Articles