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 / api.php

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

13 lines 520 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // If you're here wondering why we're building our own API
3 // instead of using the WP REST API... we're doing it this way
4 // so that we can actually troubleshoot issues when the WP API
5 // is down (like a fatal/white-screen error for example)
6 //
7 // We're still doing things safely, we connect to the DB directly
8 // authenticate requests, use nonces, and all that good stuff :)
9
10 // Initialization
11 require_once dirname( __FILE__ ) . '/troubleshoot.php';
12 $app = pd_troubleshoot();
13 $api = $app->api->process_request();