Changeset 2949600
- Timestamp:
- 08/08/2023 08:44:52 PM (3 years ago)
- Location:
- wpcommand/trunk
- Files:
-
- 3 edited
-
plugin.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wpcac.api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wpcommand/trunk/plugin.php
r2911988 r2949600 4 4 Plugin Name: WP Command and Control 5 5 Description: Manage your WordPress site with <a href="https://wpcommandcontrol.com/">WP Command and Control</a>. <strong>Deactivate to clear your API Key.</strong> 6 Version: 2.3.5. 16 Version: 2.3.5.2 7 7 Author: SoJu Studios 8 8 Author URI: http://supersoju.com/ -
wpcommand/trunk/readme.txt
r2911988 r2949600 3 3 Tags: wpcommand, wpcontrol, remote administration, multiple wordpress 4 4 Requires at least: 3.1 5 Tested up to: 6. 26 Stable tag: 2.3.5. 15 Tested up to: 6.3 6 Stable tag: 2.3.5.2 7 7 8 8 WP Command and Control allows you to manage multiple WordPress installs from a single dashboard. -
wpcommand/trunk/wpcac.api.php
r2195602 r2949600 26 26 exit; 27 27 } 28 29 $response = wp_remote_post( 'https://wpcommandcontrol.com/client/api/verify_request', [ 30 'method' => 'POST', 31 'timeout' => 45, 32 'httpversion' => '1.0', 33 'blocking' => true, 34 'body' => [ 35 'action' => 'verify_ips', 36 'verify' => $verify, 37 'req_ip' => $_SERVER['REMOTE_ADDR'], 38 ], 39 ]); 40 41 if ( is_wp_error( $response ) ) { 42 echo json_encode( 'invalid-request' ); 43 exit; 44 } else { 45 if($response['body'] != 'success'){ 46 echo json_encode( 'invalid-request' ); 47 exit; 48 }; 49 }; 28 50 29 51 /*
Note: See TracChangeset
for help on using the changeset viewer.