PluginProbe
Plugin Detective – Troubleshooting Conflicts / 1.2.24
Plugin Detective – Troubleshooting Conflicts v1.2.24
1.2.33 1.2.32 1.2.31 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2 1.2.1 1.2.10 1.2.12 1.2.13 1.2.14 1.2.16 1.2.19 1.2.20 1.2.22 1.2.23 1.2.24 1.2.25 All 53 releases
plugin-detective / troubleshoot / index.php

index.php in Plugin Detective – Troubleshooting Conflicts 1.2.24, at troubleshoot/index.php

38 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // define( 'WP_DEBUG', false );
3 // ini_set( 'display_errors', false );
4 require_once dirname( __FILE__ ) . '/troubleshoot.php';
5 $app = pd_troubleshoot();
6
7 // check if we're attempting to restore the site
8 if (isset($_GET['restore'])) {
9 if($app->delete_maintenance_file()){
10 wp_redirect(home_url());
11 exit;
12 }
13 }
14
15
16 ?>
17 <!DOCTYPE html>
18 <html>
19 <head>
20 <meta charset="utf-8">
21 <title>Plugin Detective</title>
22 <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic">
23 <link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons">
24 <link href="<?php echo $app->url('app/dist/static/css/app.css' ); ?>" rel="stylesheet">
25 </head>
26 <body>
27 <div id="app"></div>
28
29 <script type='text/javascript'>
30 var app = <?php echo json_encode( $app->get_api_params() ); ?>;
31 var pd_translations = <?php echo json_encode( $app->get_translations() ); ?>;
32 </script>
33 <script type=text/javascript src="<?php echo $app->url('app/dist/static/js/manifest.js' ).'?v='.PD_Troubleshoot::VERSION; ?>"></script>
34 <script type=text/javascript src="<?php echo $app->url('app/dist/static/js/chunk-vendors.js' ).'?v='.PD_Troubleshoot::VERSION; ?>"></script>
35 <script type=text/javascript src="<?php echo $app->url('app/dist/static/js/app.js' ).'?v='.PD_Troubleshoot::VERSION; ?>"></script>
36 </body>
37 </html>
38