diff --git a/patterns/admin-notices.php b/patterns/admin-notices.php
index b15100d..a1533a0 100644
--- a/patterns/admin-notices.php
+++ b/patterns/admin-notices.php
@@ -4,7 +4,7 @@
function add_settings_error(), or use class(es) on a wrapping div
.',
+ __( 'Define type via parameter (same as CSS classes) with function add_settings_error()
, or use class(es) on a wrapping div
.',
'WpAdminStyle' ), 'https://developer.wordpress.org/reference/functions/add_settings_error/'
);
?>
@@ -18,74 +18,156 @@
);
?>
+ wp_admin_notice()
to standardize admin notices. See this changeset on core.trac.wordpress.org for further details.', 'WpAdminStyle' ),
+ 'https://developer.wordpress.org/reference/functions/wp_admin_notice/',
+ 'https://core.trac.wordpress.org/changeset/56408'
+ );
+ ?>
+
inline class is only to leave the notices here. On default WordPress will hide them via javascript.', 'WpAdminStyle' ); ?>
-
- .notice-error',
- '.inline
'
- );
- ?>
-