Plugin Directory

Changeset 727856


Ignore:
Timestamp:
06/18/2013 10:56:03 AM (13 years ago)
Author:
Driskell
Message:

Update

Location:
wponlinebackup/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wponlinebackup/trunk/include/bootstrap.php

    r726630 r727856  
    26382638        $this->Load_Status();
    26392639
     2640        // Clear any data we have in any WordPress buffers - should not get much due to POST but just in case
     2641        $this->_Clear_Output_Buffers();
     2642
     2643        // Avoid timeouts and do not ignore a client abort
     2644        @set_time_limit( 0 );
     2645        @ignore_user_abort( false );
     2646
     2647        // Turn off HTML errors to try and ensure the data stream doesn't get tainted by any
     2648        ini_set( 'display_errors', 0 );
     2649        ini_set( 'html_errors', 0 );
     2650
    26402651        // Check we have a backup running
    26412652        if ( $this->status['status'] != WPONLINEBACKUP_STATUS_RUNNING && $this->status['status'] != WPONLINEBACKUP_STATUS_TICKING && $this->status['status'] != WPONLINEBACKUP_STATUS_CHECKING )
     
    26462657            return $this->_Pull_Failure( 'OBFWRI2' );
    26472658
    2648         // We may replace all this with WPOnlineBackup_HTTP_Range at some point...
    2649 
    2650         // Grab the variables - we are safe to assume wponlinebackup_fetch exists in one of _GET and _POST as we don't call this function unless it does
     2659        // Grab the variables
    26512660        $nonce = isset( $_GET['wponlinebackup_fetch'] ) ? strval( $_GET['wponlinebackup_fetch'] ) : strval( $_POST['wponlinebackup_fetch'] );
    26522661        $which = isset( $_GET['which'] ) ? strval( $_GET['which'] ) : ( isset( $_POST['which'] ) ? strval( $_POST['which'] ) : '' );
     
    26772686        }
    26782687
    2679         // Clear any data we have in any WordPress buffers - should not get much due to POST but just in case
    2680         $this->_Clear_Output_Buffers();
    2681 
    2682         // Avoid timeouts and do not ignore a client abort
    2683         @set_time_limit( 0 );
    2684         @ignore_user_abort( false );
    2685 
    2686         // Turn off HTML errors to try and ensure the data stream doesn't get tainted by any
    2687         ini_set( 'display_errors', 0 );
    2688         ini_set( 'html_errors', 0 );
    2689 
    26902688        // Send through a content-type header to stop any CDN or rogue plugin modifying our binary stream
    26912689        // We had an instance where 0x09 (tab) was getting replaced with 0x20 (space), corrupting the data stream
  • wponlinebackup/trunk/readme.txt

    r724954 r727856  
    8989* Multisite: "Must Use" compatibile: Extract the plugin and you'll find some information on how to use the plugin with the "Must Use" feature within "wponlinebackup/wponlinebackup-mu.php"
    9090* Added measures to prevent "Too many open files" errors
     91* Implement Online Backup retrieve retries
    9192* Improve handling, and reporting, of low memory situations
    9293* Minor tweaks and fixes
Note: See TracChangeset for help on using the changeset viewer.