' . __( 'Provides support for Domain Mapping plugin to map multiple domains to a blog.', 'wp-super-cache' ) . '

'; if ( isset( $changed ) && $changed ) { if ( $cache_domain_mapping ) $status = __( "enabled", 'wp-super-cache' ); else $status = __( "disabled", 'wp-super-cache' ); echo "

" . sprintf( __( "Domain Mapping support is now %s", 'wp-super-cache' ), $status ) . "

"; } echo '
'; wp_nonce_field('wp-cache'); ?>

' . __('Domain Mapping plugin detected! Please go to the Supercache plugins page and enable the domain mapping helper plugin.', 'wp-super-cache' ) . '

'; } function wp_supercache_domain_mapping_exists() { global $cache_domain_mapping; if ( $cache_domain_mapping == 1 ) return false; if ( is_admin() && function_exists( 'domain_mapping_warning' ) ) add_action( 'admin_notices', 'wp_supercache_domain_mapping_notice' ); } if ( isset( $_GET[ 'page' ] ) && $_GET[ 'page' ] == 'wpsupercache' ) { add_cacheaction( 'add_cacheaction', 'wp_supercache_domain_mapping_exists' ); } function wpsc_domain_mapping_list( $list ) { $list[ 'domain_mapping' ] = array( 'key' => 'domain_mapping', 'url' => 'http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/', 'title' => __( 'Domain Mapping', 'wp-super-cache' ), 'desc' => __( 'Provides support for Domain Mapping plugin to map multiple domains to a blog.', 'wp-super-cache' ), ); return $list; } add_cacheaction( 'wpsc_filter_list', 'wpsc_domain_mapping_list' ); ?>