PluginProbe
GD Security Headers / trunk
GD Security Headers vtrunk
trunk 1.0 1.1 1.1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 1.7 1.7.1 1.8 1.9
gd-security-headers / forms / update.php

update.php in GD Security Headers trunk, at forms/update.php

44 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit;
5 }
6
7 $_classes = array( 'd4p-wrap', 'wpv-' . GDSIH_WPV, 'd4p-page-update' );
8
9 ?>
10 <div class="<?php echo join( ' ', $_classes ); ?>">
11 <div class="d4p-header">
12 <div class="d4p-plugin">
13 GD Security Headers
14 </div>
15 </div>
16 <div class="d4p-content">
17 <div class="d4p-content-left">
18 <div class="d4p-panel-title">
19 <i aria-hidden="true" class="fa fa-magic"></i>
20 <h3><?php esc_html_e( 'Update', 'gd-security-headers' ); ?></h3>
21 </div>
22 <div class="d4p-panel-info">
23 <?php esc_html_e( 'Before you continue, make sure plugin was successfully updated.', 'gd-security-headers' ); ?>
24 </div>
25 </div>
26 <div class="d4p-content-right">
27 <div class="d4p-update-info">
28 <?php
29
30 include( GDSIH_PATH . 'forms/setup/database.php' );
31
32 gdsih_settings()->set( 'install', false, 'info' );
33 gdsih_settings()->set( 'update', false, 'info', true );
34
35 ?>
36
37 <h3><?php esc_html_e( 'All Done', 'gd-security-headers' ); ?></h3>
38 <?php esc_html_e( 'Update completed.', 'gd-security-headers' ); ?>
39
40 <br/><br/><a class="button-primary" href="<?php echo network_admin_url( 'admin.php?page=gd-security-headers-about' ); ?>"><?php esc_html_e( 'Click here to continue.', 'gd-security-headers' ); ?></a>
41 </div>
42 </div>
43 </div>
44 </div>