General > Secure Sign On * * @since 2.7 * * @deprecated 13.5 * * @param string $message Error message. * * @return string **/ public static function msg_login_by_jetpack( $message ) { _deprecated_function( __METHOD__, 'jetpack-13.5', 'Automattic\\Jetpack\\Connection\\Manager\\SSO\\Notices::msg_login_by_jetpack' ); return Notices::msg_login_by_jetpack( $message ); } /** * Get the message for SSO required. * * @deprecated 13.5 * * @return string */ public static function get_sso_required_message() { _deprecated_function( __METHOD__, 'jetpack-13.5', 'Automattic\\Jetpack\\Connection\\Manager\\SSO\\Notices::get_sso_required_message' ); return Notices::get_sso_required_message(); } /** * Message displayed when the user can not be found after approving the SSO process on WordPress.com * * @deprecated 13.5 * * @param string $message Error message. * * @return string */ public static function cant_find_user( $message ) { _deprecated_function( __METHOD__, 'jetpack-13.5', 'Automattic\\Jetpack\\Connection\\Manager\\SSO\\Notices::cant_find_user' ); return Notices::cant_find_user( $message ); } /** * Error message that is displayed when the current site is in an identity crisis and SSO can not be used. * * @since 4.4.0 * * @deprecated 13.5 * * @param string $message Error message. * * @return string */ public static function sso_not_allowed_in_staging( $message ) { _deprecated_function( __METHOD__, 'jetpack-13.5', 'Automattic\\Jetpack\\Connection\\Manager\\SSO\\Notices::sso_not_allowed_in_staging' ); // @phan-suppress-next-line PhanDeprecatedFunction return Notices::sso_not_allowed_in_staging( $message ); } } endif;