WordPress.org

Plugin Directory

Changeset 493262


Ignore:
Timestamp:
01/21/12 16:43:14 (2 years ago)
Author:
wpmuguru
Message:

tag & release 0.5.4.2

Location:
wordpress-mu-domain-mapping
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-mu-domain-mapping/trunk/readme.txt

    r412240 r493262  
    33Tags: wordpressmu, domain-mapping, multisite 
    44Tested up to: 3.2 
    5 Stable tag: 0.5.4.1 
     5Stable tag: 0.5.4.2 
    66Requires at least: 2.9.2 
    77 
     
    3636 
    3737== Upgrade Notice == 
     38 
     39= 0.5.4.2 = 
     40WordPress 3.3 compatibility, bugfixes 
     41Set $current_site->site_name 
    3842 
    3943= 0.5.4.1 = 
  • wordpress-mu-domain-mapping/trunk/sunrise.php

    r259265 r493262  
    3030    $current_site = $wpdb->get_row( "SELECT * from {$wpdb->site} WHERE id = '{$current_blog->site_id}' LIMIT 0,1" ); 
    3131    $current_site->blog_id = $wpdb->get_var( "SELECT blog_id FROM {$wpdb->blogs} WHERE domain='{$current_site->domain}' AND path='{$current_site->path}'" ); 
     32    if( function_exists( 'get_current_site_name' ) ) 
     33        $current_site = get_current_site_name( $current_site ); 
     34 
    3235    define( 'DOMAIN_MAPPING', 1 ); 
    3336} 
Note: See TracChangeset for help on using the changeset viewer.