Plugin Directory

Changeset 578428


Ignore:
Timestamp:
07/28/2012 03:01:06 PM (13 years ago)
Author:
hel.io
Message:

Fixed a couple bugs.

Location:
backup/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified backup/trunk/backup.php

    r577113 r578428  
    22/*
    33Plugin Name: Backup
    4 Version: 2.1.1
     4Version: 2.1.2
    55Plugin URI: http://hel.io/wordpress/backup/
    66Description: Back up your WordPress website to Google Drive.
     
    365365            ignore_user_abort( true ); // Allow the script to run after the user closes the window.
    366366            // All this is needed in order that every echo gets sent to the browser.
    367             @apache_setenv( 'no-gzip', 1 );
    368367            @ini_set( 'zlib.output_compression', 0 );
    369368            @ini_set( 'implicit_flush', 1 );
     
    410409        // Set the backup token here, because in the constructor 'wp_generate_password()' is not defined.
    411410        $this->options['backup_token'] = wp_generate_password( 12, false );
    412         if ( empty( $this->options['local_folder'] ) )
    413             $this->options['local_folder'] = relative_path( ABSPATH, WP_CONTENT_DIR . '/' . $this->options['backup_token'] );
     411        if ( empty( $this->options['local_folder'] ) ) {
     412            $this->local_folder = WP_CONTENT_DIR . '/' . $this->options['backup_token'];
     413            $this->options['local_folder'] = relative_path( ABSPATH, $this->local_folder );
     414        }
    414415
    415416        if ( $this->goauth->is_authorized() )
  • TabularUnified backup/trunk/readme.txt

    r577113 r578428  
    55Requires at least: 3.4
    66Tested up to: 3.4.1
    7 Stable tag: 2.1.1
     7Stable tag: 2.1.2
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    5858
    5959== Changelog ==
     60
     61= 2.1.2 =
     62* Fixed a bug that was causing Backup to not work on most shared hosts.
     63* Fixed a bug that was causing the initial backup directory not to be created.
    6064
    6165= 2.1 =
Note: See TracChangeset for help on using the changeset viewer.