rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -139,4 +139,18 @@ class Helpers {
return $error_text;
}
/**
* Get the default user agent.
*
* @since 3.9.0
*
* @return string
*/
public static function get_default_user_agent() {
$license_type = wp_mail_smtp()->get_license_type();
return 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ) . '; WPMailSMTP/' . $license_type . '-' . WPMS_PLUGIN_VER;
}
}