diff --git src/wp-admin/includes/template.php src/wp-admin/includes/template.php
index be6d02809a..00d9c467b2 100644
--- src/wp-admin/includes/template.php
+++ src/wp-admin/includes/template.php
@@ -1685,6 +1685,7 @@ function do_settings_fields( $page, $section ) {
  * page is first accessed.
  *
  * @since 3.0.0
+ * @since 5.3.0    Added support for 'info' and 'warning' as `$type`.
  *
  * @global array $wp_settings_errors Storage array of errors registered during this pageload
  *
@@ -1692,8 +1693,8 @@ function do_settings_fields( $page, $section ) {
  * @param string $code    Slug-name to identify the error. Used as part of 'id' attribute in HTML output.
  * @param string $message The formatted message text to display to the user (will be shown inside styled
  *                        `<div>` and `<p>` tags).
- * @param string $type    Optional. Message type, controls HTML class. Accepts 'error' or 'updated'.
- *                        Default 'error'.
+ * @param string $type    Optional. Message type, controls HTML class. Accepts 'error', 'updated', 'info',
+ *                        or 'warning'. Default 'error'.
  */
 function add_settings_error( $setting, $code, $message, $type = 'error' ) {
 	global $wp_settings_errors;
