WordPress.org

Plugin Directory

Changeset 775577


Ignore:
Timestamp:
09/19/13 20:04:18 (7 months ago)
Author:
wpmuguru
Message:

remove $wpdb->escape from sunrise.php

Location:
wordpress-mu-domain-mapping/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-mu-domain-mapping/trunk/domain_mapping.php

    r685582 r775577  
    44Plugin URI: http://ocaoimh.ie/wordpress-mu-domain-mapping/ 
    55Description: Map any blog on a WordPress website to another domain. 
    6 Version: 0.5.4.3 
     6Version: 0.5.4.4 
    77Author: Donncha O Caoimh 
    88Author URI: http://ocaoimh.ie/ 
  • wordpress-mu-domain-mapping/trunk/sunrise.php

    r493262 r775577  
    99// let the site admin page catch the VHOST == 'no' 
    1010$wpdb->dmtable = $wpdb->base_prefix . 'domain_mapping'; 
    11 $dm_domain = $wpdb->escape( $_SERVER[ 'HTTP_HOST' ] ); 
     11$dm_domain = $_SERVER[ 'HTTP_HOST' ]; 
    1212 
    1313if( ( $nowww = preg_replace( '|^www\.|', '', $dm_domain ) ) != $dm_domain ) 
Note: See TracChangeset for help on using the changeset viewer.