PluginProbe
WP-Stateless – Google Cloud Storage / 2.3.1
WP-Stateless – Google Cloud Storage v2.3.1
4.4.3 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.2.0 3.2.1 3.2.2 All 62 releases
wp-stateless / static / views / error-notice.php

error-notice.php in WP-Stateless – Google Cloud Storage 2.3.1, at static/views/error-notice.php

20 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <div id="stateless-notice-<?php if(!empty($data['key'])) echo $data['key'];?>" class="stateless-admin-notice ud-admin-notice <?php echo $data['class'];?> update-nag fade">
2 <div>
3 <div class="title"><?php echo $data['title'];?></div>
4 <div class="description"><?php echo $data['message'];?></div>
5 </div>
6 <?php
7 if( !empty( $data['action_links'] ) && is_array( $data['action_links'] ) ):
8 echo '<p>' . implode( ' | ', $data['action_links'] ) . '</p>';
9 endif;
10 ?>
11 <div class="buttons-container">
12 <?php if(!empty($data['button']) && !empty($data['key'])):?>
13 <a class="button-action button button-primary" data-action="sm_enable_notice" data-key="<?php echo $data['key'];?>" href="<?php echo $data['button_link'];?>"><?php echo $data['button'];?></a>
14 <?php endif;?>
15 <?php if(!empty($data['key'])):?>
16 <a class="dismiss-warning dismiss notice-dismiss" data-key="dismissed_notice_<?php echo $data['key'];?>" href="#"></a>
17 <?php endif;?>
18 </div>
19 </div>
20