Changes between Version 4 and Version 5 of Ticket #57791, comment 8
- Timestamp:
- 02/24/2023 08:23:10 AM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #57791, comment 8
v4 v5 54 54 However, this means that separate admin notices are output, so we might want to consider either a `(bool) $output = true` parameter for `wp_admin_notice()`, or put the main logic in a separate `wp_get_admin_notice()` function. 55 55 56 We could then take the conditions for `'updated' === $details['type']` and the `in_array()` check into `wp_admin_notice()` for consistency throughout Core.56 We could then take the conditions for `'updated' === $details['type']` and the `in_array()` check into `wp_admin_notice()`/`wp_get_admin_notice()` for consistency throughout Core. 57 57 58 58