is_user_connected( $user->ID ) ) {
// If this is a local user, show the default UX.
return;
}
$wp_kses_rule = array(
'a' => array(
'href' => array(),
'rel' => array(),
'target' => array(),
),
);
// Since there is no hook for altering profile fields, we will use CSS and JS.
$name_info_wpcom_link_message = sprintf(
/* translators: 1 link */
__( 'WordPress.com users can change their profile’s basic details ( i.e., First Name, Last Name, Display Name, About ) in WordPress.com Profile settings.', 'jetpack' ),
'https://wordpress.com/me'
);
$contact_info_wpcom_link_message = sprintf(
/* translators: 1 link */
__( 'WordPress.com users can change their profile’s email & website address in WordPress.com Account settings.', 'jetpack' ),
'https://wordpress.com/me/account'
);
?>