File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,17 @@ public static function jetpack_debug_display_handler() {
123123 $ debug_info .= "\r\n" . sprintf ( esc_html__ ( 'Full Sync Queue size: %1$s ' , 'jetpack ' ), $ full_sync_queue ->size () );
124124 $ debug_info .= "\r\n" . sprintf ( esc_html__ ( 'Full Sync Queue lag: %1$s ' , 'jetpack ' ), self ::seconds_to_time ( $ full_sync_queue ->lag () ) );
125125
126+ require_once JETPACK__PLUGIN_DIR . 'sync/class.jetpack-sync-functions.php ' ;
127+ $ idc_urls = array (
128+ 'home ' => Jetpack_Sync_Functions::home_url (),
129+ 'siteurl ' => Jetpack_Sync_Functions::site_url (),
130+ 'WP_HOME ' => Jetpack_Constants::is_defined ( 'WP_HOME ' ) ? Jetpack_Constants::get_constant ( 'WP_HOME ' ) : '' ,
131+ 'WP_SITEURL ' => Jetpack_Constants::is_defined ( 'WP_SITEURL ' ) ? Jetpack_Constants::get_constant ( 'WP_SITEURL ' ) : '' ,
132+ );
133+ $ debug_info .= "\r\n" . esc_html ( sprintf ( 'Sync IDC URLs: %s ' , json_encode ( $ idc_urls ) ) );
134+ $ debug_info .= "\r\n" . esc_html ( sprintf ( 'Sync error IDC option: %s ' , json_encode ( Jetpack_Options::get_option ( 'sync_error_idc ' ) ) ) );
135+ $ debug_info .= "\r\n" . esc_html ( sprintf ( 'Sync IDC Optin: %s ' , (string ) Jetpack::sync_idc_optin () ) );
136+
126137 $ debug_info .= "\r\n" ;
127138
128139 foreach ( array (
You can’t perform that action at this time.
0 commit comments