WordPress.org

Plugin Directory

Changeset 543145


Ignore:
Timestamp:
05/11/12 23:10:07 (2 years ago)
Author:
wpmuguru
Message:

disable domain redirect for theme customizer in 3.4

File:
1 edited

Legend:

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

    r486243 r543145  
    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.2 
     6Version: 0.5.4.3 
    77Author: Donncha O Caoimh 
    88Author URI: http://ocaoimh.ie/ 
     
    711711    // don't redirect post previews 
    712712    if ( isset( $_GET['preview'] ) && $_GET['preview'] == 'true' ) 
     713        return; 
     714 
     715    // don't redirect theme customizer (WP 3.4) 
     716    if ( isset( $_POST['customize'] ) && isset( $_POST['theme'] ) && $_POST['customize'] == 'on' ) 
    713717        return; 
    714718 
Note: See TracChangeset for help on using the changeset viewer.