← All changes
|
modules/api-backups/classes/class-api-backups-handler.php
+0
-3
6.3
→
6.2.3
View file →
| @@ -70,11 +70,8 @@ | ||
| 70 | 70 | * |
| 71 | 71 | * @return void |
| 72 | 72 | */ |
| 73 | 73 | public function ajax_backups_selected_websites() { |
| 74 | - Api_Backups_Helper::authorize_ajax_action( 'execute_backups', 'websiteId' ); | |
| 75 | - // Create workers prefer website_id over the authorized websiteId argument. | |
| 76 | - unset( $_POST['website_id'], $_REQUEST['website_id'] ); | |
| 77 | 74 | Api_Backups_Helper::security_nonce( 'mainwp_api_backups_selected_websites' ); |
| 78 | 75 | static::backups_selected_site( true ); |
| 79 | 76 | wp_die( esc_html__( 'Error: backup', 'mainwp' ) ); |
| 80 | 77 | } |