'Invalid nonce.' ), 403 ); } if ( ! current_user_can( 'manage_network' ) ) { wp_send_json_error( array( 'message' => 'Insufficient permissions.' ), 403 ); } $progress = Robotstxt_Mlp2_Mlp5_Step_Content_Relations::run_batch(); wp_send_json_success( $progress ); } }