1313/**
1414 * Checks whether the given notice should be rendered based on the provided conditions.
1515 *
16- * @unreleased
16+ * @since 2.0.0
1717 */
1818class NoticeShouldRender
1919{
2020 use HasNamespace;
2121
2222 /**
23- * @unreleased
23+ * @since 2.0.0
2424 */
2525 public function __invoke (AdminNotice $ notice ): bool
2626 {
@@ -34,7 +34,7 @@ public function __invoke(AdminNotice $notice): bool
3434 /**
3535 * Checks whether the notice should be displayed based on the provided date limits.
3636 *
37- * @unreleased moved to the NoticeShouldRender class
37+ * @since 2.0.0 moved to the NoticeShouldRender class
3838 * @since 1.0.0
3939 */
4040 private function passesDateLimits (AdminNotice $ notice ): bool
@@ -59,7 +59,7 @@ private function passesDateLimits(AdminNotice $notice): bool
5959 /**
6060 * Checks whether the notice should be displayed based on the provided callback.
6161 *
62- * @unreleased moved to the NoticeShouldRender class
62+ * @since 2.0.0 moved to the NoticeShouldRender class
6363 * @since 1.0.0
6464 */
6565 private function passesWhenCallback (AdminNotice $ notice ): bool
@@ -77,7 +77,7 @@ private function passesWhenCallback(AdminNotice $notice): bool
7777 * Checks whether user limits were provided and they pass. Only one capability is required to pass, allowing for
7878 * multiple users have visibility.
7979 *
80- * @unreleased moved to the NoticeShouldRender class
80+ * @since 2.0.0 moved to the NoticeShouldRender class
8181 * @since 1.0.0
8282 */
8383 private function passesUserCapabilities (AdminNotice $ notice ): bool
@@ -101,7 +101,7 @@ private function passesUserCapabilities(AdminNotice $notice): bool
101101 * Checks whether the notice is limited to specific screens and the current screen matches the conditions. Only one
102102 * screen condition is required to pass, allowing for the notice to appear on multiple screens.
103103 *
104- * @unreleased moved to the NoticeShouldRender class
104+ * @since 2.0.0 moved to the NoticeShouldRender class
105105 * @since 1.0.0
106106 */
107107 private function passesScreenConditions (AdminNotice $ notice ): bool
@@ -144,7 +144,7 @@ private function passesScreenConditions(AdminNotice $notice): bool
144144 /**
145145 * Checks whether the notice has been dismissed by the user.
146146 *
147- * @unreleased moved to the NoticeShouldRender class
147+ * @since 2.0.0 moved to the NoticeShouldRender class
148148 * @since 1.1.0 added namespacing to the preferences key
149149 * @since 1.0.0
150150 */
0 commit comments