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

pepsiamir on "[Plugin: WordPress MU Domain Mapping] wpdb::escape is deprecated"

$
0
0

sorry, I found the answer :)

Actually, it's already being escaped below so you should be able to replace

$dm_domain = $wpdb->escape( $_SERVER[ 'HTTP_HOST' ] );

with

$dm_domain = $_SERVER[ 'HTTP_HOST' ];

Ron Rennick
MultiSite Guru
Plugin Author


Viewing all articles
Browse latest Browse all 3502

Trending Articles