Backup and Restore WordPress – WPBackItUp Backup Plugin - Version 1.6.7

Version Description

  • Wordpress 3.9.1 support
  • Unicode fix to support utf8 content
Download this release

Release Info

Developer cssimmon
Plugin Icon 128x128 Backup and Restore WordPress – WPBackItUp Backup Plugin
Version 1.6.7
Comparing to
See all releases

Code changes from version 1.6.6 to 1.6.7

Files changed (4) hide show
  1. index.php +2 -2
  2. lib/constants.php +1 -1
  3. lib/functions.php +9 -3
  4. readme.txt +6 -2
index.php CHANGED
@@ -7,13 +7,13 @@
7
  * @global object $wpdb
8
  *
9
  * @author cssimmon
10
- * @version 1.6.6
11
  */
12
  /*
13
  Plugin Name: WP Backitup
14
  Plugin URI: http://www.wpbackitup.com
15
  Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
16
- Version: 1.6.6
17
  Author: Chris Simmons
18
  Author URI: http://www.wpbackitup.com
19
  License: GPL3
7
  * @global object $wpdb
8
  *
9
  * @author cssimmon
10
+ * @version 1.6.7
11
  */
12
  /*
13
  Plugin Name: WP Backitup
14
  Plugin URI: http://www.wpbackitup.com
15
  Description: Backup your content, settings, themes, plugins and media in just a few simple clicks.
16
+ Version: 1.6.7
17
  Author: Chris Simmons
18
  Author URI: http://www.wpbackitup.com
19
  License: GPL3
lib/constants.php CHANGED
@@ -9,7 +9,7 @@
9
  * @since 1.0.1
10
  */
11
 
12
- if( !defined( 'WPBACKITUP_VERSION' ) ) define( 'WPBACKITUP_VERSION', '1.6.6' );
13
 
14
  if( !defined( 'WPBACKITUP_DIRNAME' ) ) define( 'WPBACKITUP_DIRNAME', dirname( dirname( __FILE__ ) ) );
15
 
9
  * @since 1.0.1
10
  */
11
 
12
+ if( !defined( 'WPBACKITUP_VERSION' ) ) define( 'WPBACKITUP_VERSION', '1.6.7' );
13
 
14
  if( !defined( 'WPBACKITUP_DIRNAME' ) ) define( 'WPBACKITUP_DIRNAME', dirname( dirname( __FILE__ ) ) );
15
 
lib/functions.php CHANGED
@@ -370,6 +370,12 @@ if(!function_exists('db_backup')) {
370
  $return .= "-- ------------------------------------------------------\n";
371
  $return .= 'SET AUTOCOMMIT = 0 ;' ."\n" ;
372
  $return .= 'SET FOREIGN_KEY_CHECKS=0 ;' ."\n" ;
 
 
 
 
 
 
373
 
374
  $tables = array() ;
375
 
@@ -391,7 +397,7 @@ if(!function_exists('db_backup')) {
391
 
392
  // Add table information
393
  $return .= "--\n" ;
394
- $return .= '-- Tabel structure for table `' . $table . '`' . "\n" ;
395
  $return .= "--\n" ;
396
  $return.= 'DROP TABLE IF EXISTS `'.$table.'`;' . "\n" ;
397
 
@@ -552,9 +558,9 @@ if(!function_exists('db_run_sql')) {
552
  . ' --database=' . $db_name
553
  . ' --execute="SOURCE ' . $sql_file .'"';
554
 
555
- //_log('(functions.db_run_sql)Execute command:' . $command);
556
 
557
- //$output = shell_exec($command);
558
  exec($command,$output,$rtn_var);
559
  _log('(functions.db_run_sql)Execute output:');
560
  _log($output);
370
  $return .= "-- ------------------------------------------------------\n";
371
  $return .= 'SET AUTOCOMMIT = 0 ;' ."\n" ;
372
  $return .= 'SET FOREIGN_KEY_CHECKS=0 ;' ."\n" ;
373
+ $return .= "\n";
374
+
375
+ $return .= '/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;' ."\n" ;
376
+ $return .= '/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;' ."\n" ;
377
+ $return .= '/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;' ."\n" ;
378
+ $return .= '/*!40101 SET NAMES utf8 */;' ."\n" ;
379
 
380
  $tables = array() ;
381
 
397
 
398
  // Add table information
399
  $return .= "--\n" ;
400
+ $return .= '-- Table structure for table `' . $table . '`' . "\n" ;
401
  $return .= "--\n" ;
402
  $return.= 'DROP TABLE IF EXISTS `'.$table.'`;' . "\n" ;
403
 
558
  . ' --database=' . $db_name
559
  . ' --execute="SOURCE ' . $sql_file .'"';
560
 
561
+ _log('(functions.db_run_sql)Execute command:' . $command);
562
 
563
+ $output = shell_exec($command);
564
  exec($command,$output,$rtn_var);
565
  _log('(functions.db_run_sql)Execute output:');
566
  _log($output);
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: cssimmon,jcpeden
3
  Donate link: http://www.wpbackitup.com
4
  Tags: backup wordpress, database backup, backup database, download database, backup and restore, restoring wordpress, restore wordpress, restore wordpress backup
5
  Requires at least: 3.4.2
6
- Tested up to: 3.9
7
- Stable tag: 1.6.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -91,6 +91,10 @@ Yes.
91
  3. When the backup has been created, click the download link to access a zipped backup of your site.
92
 
93
  == Changelog ==
 
 
 
 
94
  = 1.6.6 =
95
  * Wordpress 3.9 support
96
 
3
  Donate link: http://www.wpbackitup.com
4
  Tags: backup wordpress, database backup, backup database, download database, backup and restore, restoring wordpress, restore wordpress, restore wordpress backup
5
  Requires at least: 3.4.2
6
+ Tested up to: 3.9.1
7
+ Stable tag: 1.6.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
91
  3. When the backup has been created, click the download link to access a zipped backup of your site.
92
 
93
  == Changelog ==
94
+ = 1.6.7 =
95
+ * Wordpress 3.9.1 support
96
+ * Unicode fix to support utf8 content
97
+
98
  = 1.6.6 =
99
  * Wordpress 3.9 support
100