Plugin Directory

Changeset 3166487


Ignore:
Timestamp:
10/10/2024 11:04:29 AM (18 months ago)
Author:
ploudapp
Message:

New version published 2.0.1

Location:
pcloud-wp-backup/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pcloud-wp-backup/trunk/Pcloud/Classes/class-wp2pcloudfilebackup.php

    r3166447 r3166487  
    904904
    905905        $args = array(
    906             'method'      => 'POST',
    907             'timeout'     => 60,
     906            'method'      => 'POST', // Adjust as needed
     907            'timeout'     => 45,
    908908            'redirection' => 5,
     909            // 'httpversion' => '1.0',
    909910            'blocking'    => true,
    910             'headers'     => array(),
    911             'body'        => $content,
     911            'headers'     => array(
     912                'Content-Type'   => 'application/octet-stream',
     913                'Content-Length' => strlen( $content ),
     914                'Expect'         => '',
     915            ),
     916            'body'        => $content, // Ensure this matches the server's expected format
     917            'cookies'     => array(),
     918            'sslverify'   => false,
    912919        );
    913 
    914         $args_tmp = $args;
    915         $args_tmp['body'] = 'cdsacdsac';
    916 
    917         wp2pclouddebugger::log( 'write() - data sent: ' . http_build_query( $get_params ) . ' / ' . print_r( $args_tmp, true ) );
    918920
    919921        $api_response = wp_remote_request( $this->apiep . '/upload_write?' . http_build_query( $get_params ), $args );
    920922        if ( is_array( $api_response ) && ! is_wp_error( $api_response ) ) {
    921923            $response_body = wp_remote_retrieve_body( $api_response );
     924
    922925            $response_json = json_decode( $response_body, true );
    923926            if ( ! is_bool( $response_json ) ) {
  • pcloud-wp-backup/trunk/pcloud-wp-backup.php

    r3166447 r3166487  
    1010 * Summary: pCloud WP Backup plugin
    1111 * Description: pCloud WP Backup has been created to make instant backups of your blog and its data, regularly.
    12  * Version: 2.0.0
     12 * Version: 2.0.1
    1313 * Requires PHP: 8.0
    1414 * Author: pCloud
  • pcloud-wp-backup/trunk/readme.txt

    r3166447 r3166487  
    55Tested up to: 6.6.2
    66Requires PHP: 8.0
    7 Stable tag: 2.0.0
     7Stable tag: 2.0.1
    88License: GPLv3 or later
    99
     
    5959== Changelog ==
    6060
     61= 2.0.1 =
     62* Hotfix for cURL http headers issue.
     63
    6164= 2.0.0 =
    6265* Dropped support for PHP lower than 8.0.
Note: See TracChangeset for help on using the changeset viewer.