You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( $available_version && $dismissed_version === $available_version ) {
124
+
return;
125
+
}
126
+
111
127
$message = sprintf(
112
128
// translators: %s is a link to the Pantheon upstream updates documentation.
113
129
__( 'For details on applying updates, see the <a href="%s">Applying Upstream Updates</a> documentation. If you need help, contact an administrator for your Pantheon organization.', 'pantheon-systems' ),
@@ -122,6 +138,7 @@ function _pantheon_upstream_update_notice() {
122
138
'button_url' => $dashboard_url,
123
139
'id' => 'pantheon-update-notice',
124
140
'extra_classes' => 'pantheon-update-notice',
141
+
'dismissible' => true,
125
142
] );
126
143
} elseif ( $is_update_page ) {
127
144
// If no update is available but we're on the update pages, show the "Check for updates" message.
@@ -183,6 +200,56 @@ function _pantheon_register_upstream_update_notice() {
0 commit comments