$wpdb->escape warning in domain_mapping.php
-
The known bug for the older sunrise.php is also in domain_mapping.php
Line 341
$domain = $wpdb->escape( $_POST[ 'domain' ] );
Line 374
$domain = $wpdb->escape( $_GET[ 'domain' ] );
Line 519
$domain = $wpdb->get_var( "SELECT domain FROM {$wpdb->dmtable} WHERE blog_id = '{$wpdb->blogid}' AND domain = '" . $wpdb->escape( $_SERVER[ 'HTTP_HOST' ] ) . "' LIMIT 1" );
A fix would be great!
https://www.ads-software.com/plugins/wordpress-mu-domain-mapping/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘$wpdb->escape warning in domain_mapping.php’ is closed to new replies.