You appear to be a bot. Output may be restricted
Description
Check for an IDC.
Usage
$array = Jetpack_Cxn_Tests::test__identity_crisis();
Parameters
Returns
array Test results.
Source
File name: jetpack/_inc/lib/debugger/class-jetpack-cxn-tests.php
Lines:
1 to 31 of 31
protected function test__identity_crisis() { $name = __FUNCTION__; if ( ! $this->helper_is_jetpack_connected() ) { return self::skipped_test( array( 'name' => $name, 'short_description' => __( 'Jetpack is not connected.', 'jetpack' ), ) ); } $identity_crisis = Jetpack::check_identity_crisis(); if ( ! $identity_crisis ) { $result = self::passing_test( array( 'name' => $name ) ); } else { $result = self::failing_test( array( 'name' => $name, 'short_description' => sprintf( /* translators: Two URLs. The first is the locally-recorded value, the second is the value as recorded on WP.com. */ __( 'Your url is set as `%1$s`, but your WordPress.com connection lists it as `%2$s`!', 'jetpack' ), $identity_crisis['home'], $identity_crisis['wpcom_home'] ), 'action_label' => $this->helper_get_support_text(), 'action' => $this->helper_get_support_url(), ) ); } return $result; }