' . esc_html($dm_cname) . '' ); ?>

CNAME @

' . esc_html($dm_ipaddress) . '' ); ?>

$ip) : ?>
A @

' . esc_html(WP_CONTENT_DIR) . '' ); ?>
' . esc_html(SUNRISE) . '' ); ?> define( 'SUNRISE', 'on' );
' . esc_html(COOKIE_DOMAIN) . '' ); ?>
base_prefix . WP_DOMAIN_MAPPING_TABLE_DOMAINS, $wpdb->base_prefix . WP_DOMAIN_MAPPING_TABLE_LOGINS, $wpdb->base_prefix . WP_DOMAIN_MAPPING_TABLE_LOGS, ) as $table) { if ($wpdb->get_var("SHOW TABLES LIKE '$table'") != $table) { $tables_exist = false; break; } } ?>
get_domains_by_blog_id($wpdb->blogid); // Display updated messages if (isset($_GET['updated'])) { echo '

'; switch ($_GET['updated']) { case 'add': _e('Domain added successfully.', 'wp-domain-mapping'); break; case 'exists': _e('This domain is already mapped to a site.', 'wp-domain-mapping'); break; case 'primary': _e('Primary domain updated.', 'wp-domain-mapping'); break; case 'del': _e('Domain deleted successfully.', 'wp-domain-mapping'); break; } echo '

'; } ?>

domain); ?> active == 1): ?> active != 1): ?>

%s', 'wp-domain-mapping'), esc_html($cname)); ?>

%s', 'wp-domain-mapping'), esc_html($ipaddress)); ?>

base_prefix . WP_DOMAIN_MAPPING_TABLE_DOMAINS; $domains = $wpdb->get_results(" SELECT d.*, b.domain as original_domain, b.path FROM {$table} d JOIN {$wpdb->blogs} b ON d.blog_id = b.blog_id ORDER BY d.blog_id ASC, d.active DESC "); // Get health check results $health_results = get_site_option('dm_domain_health_results', array()); // Display page ?>

' . __('Domain health check completed.', 'wp-domain-mapping') . '

'; } if (isset($_GET['settings-updated']) && $_GET['settings-updated']) { echo '

' . __('Settings saved.', 'wp-domain-mapping') . '

'; } ?>


domain); $health_data = isset($health_results[$domain_key]) ? $health_results[$domain_key] : null; $site_name = get_blog_option($domain->blog_id, 'blogname', __('Unknown', 'wp-domain-mapping')); ?>
domain); ?> active) : ?>
original_domain . $domain->path); ?>

' . sprintf( _n( '%d domain mapping imported successfully.', '%d domain mappings imported successfully.', $count, 'wp-domain-mapping' ), $count ) . '

'; } if (isset($_GET['export']) && $_GET['export'] == 'success') { echo '

' . __('Domain mappings exported successfully.', 'wp-domain-mapping') . '

'; } ?>



blog_id domain active
1 example.com 1
2 example.org 0