Changeset 1476439
- Timestamp:
- 08/17/2016 07:11:53 AM (10 years ago)
- Location:
- mk-simple-backups
- Files:
-
- 3 edited
- 7 copied
-
tags/1.0.6 (copied) (copied from mk-simple-backups/trunk)
-
tags/1.0.6/class.backuphandler.php (copied) (copied from mk-simple-backups/trunk/class.backuphandler.php) (4 diffs)
-
tags/1.0.6/languages/mk-simple-backups-de_DE.mo (copied) (copied from mk-simple-backups/trunk/languages/mk-simple-backups-de_DE.mo)
-
tags/1.0.6/languages/mk-simple-backups-de_DE.po (copied) (copied from mk-simple-backups/trunk/languages/mk-simple-backups-de_DE.po)
-
tags/1.0.6/libraries (copied) (copied from mk-simple-backups/trunk/libraries)
-
tags/1.0.6/mk-simple-backups.php (copied) (copied from mk-simple-backups/trunk/mk-simple-backups.php) (3 diffs)
-
tags/1.0.6/readme.txt (copied) (copied from mk-simple-backups/trunk/readme.txt) (2 diffs)
-
trunk/class.backuphandler.php (modified) (4 diffs)
-
trunk/mk-simple-backups.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mk-simple-backups/tags/1.0.6/class.backuphandler.php
r1062062 r1476439 21 21 public $tmp_files = array(); 22 22 public $sys_enabled = false; 23 public $backup_filename = ""; 23 24 private $backup_name = ""; 24 25 private $backup_desc = ""; … … 117 118 // scan 118 119 if(is_dir($path)) { 119 for($i = 0; $i < =count($tmp_folders); $i++) {120 for($i = 0; $i < count($tmp_folders); $i++) { 120 121 121 122 $tmp_dir = $tmp_folders[$i]; … … 207 208 function removeFiles( $files ) { 208 209 210 $errors = array(); 211 209 212 foreach($files AS $name=>$src ) { 210 213 … … 215 218 } 216 219 217 // if there are errors (filenames that didn 't get removed) return array with those220 // if there are errors (filenames that didnt get removed) return array with those 218 221 if(count($errors) > 0) return $errors; 219 222 else { -
mk-simple-backups/tags/1.0.6/mk-simple-backups.php
r1476400 r1476439 5 5 * Plugin URI: http://wordpress.org/plugins/mk-simple-backups/ 6 6 * Description: Allows you to create simple backups on a dedicated page nested in the "Tools" Menu. 7 * Version: 1.0. 57 * Version: 1.0.6 8 8 * Author: Michael Kühni 9 9 * Author URI: http://michaelkuehni.ch … … 111 111 112 112 113 $bkp ->createZip();113 $bkp_filename = $bkp->createZip(); 114 114 115 115 … … 204 204 foreach($msg AS $m) { 205 205 206 if( $m["error"] == true) $class = ' class="error"';206 if(isset($m["error"]) AND $m["error"] == true) $class = ' class="error"'; 207 207 else unset($class); 208 208 -
mk-simple-backups/tags/1.0.6/readme.txt
r1476400 r1476439 3 3 Tags: backup, db, uploads 4 4 Requires at least: 3.7 5 Stable tag: 1.0. 55 Stable tag: 1.0.6 6 6 Tested up to: 4.6 7 7 License: GPLv2 or later … … 68 68 == Changelog == 69 69 70 = 1.0.5 = 70 71 72 = 1.0.6 = 71 73 * Compatibility with WP 4.6 74 * fixed some php errors provided by adampatterson (thanks) 72 75 73 76 = 1.0.4 = -
mk-simple-backups/trunk/class.backuphandler.php
r1062062 r1476439 21 21 public $tmp_files = array(); 22 22 public $sys_enabled = false; 23 public $backup_filename = ""; 23 24 private $backup_name = ""; 24 25 private $backup_desc = ""; … … 117 118 // scan 118 119 if(is_dir($path)) { 119 for($i = 0; $i < =count($tmp_folders); $i++) {120 for($i = 0; $i < count($tmp_folders); $i++) { 120 121 121 122 $tmp_dir = $tmp_folders[$i]; … … 207 208 function removeFiles( $files ) { 208 209 210 $errors = array(); 211 209 212 foreach($files AS $name=>$src ) { 210 213 … … 215 218 } 216 219 217 // if there are errors (filenames that didn 't get removed) return array with those220 // if there are errors (filenames that didnt get removed) return array with those 218 221 if(count($errors) > 0) return $errors; 219 222 else { -
mk-simple-backups/trunk/mk-simple-backups.php
r1476400 r1476439 5 5 * Plugin URI: http://wordpress.org/plugins/mk-simple-backups/ 6 6 * Description: Allows you to create simple backups on a dedicated page nested in the "Tools" Menu. 7 * Version: 1.0. 57 * Version: 1.0.6 8 8 * Author: Michael Kühni 9 9 * Author URI: http://michaelkuehni.ch … … 111 111 112 112 113 $bkp ->createZip();113 $bkp_filename = $bkp->createZip(); 114 114 115 115 … … 204 204 foreach($msg AS $m) { 205 205 206 if( $m["error"] == true) $class = ' class="error"';206 if(isset($m["error"]) AND $m["error"] == true) $class = ' class="error"'; 207 207 else unset($class); 208 208 -
mk-simple-backups/trunk/readme.txt
r1476400 r1476439 3 3 Tags: backup, db, uploads 4 4 Requires at least: 3.7 5 Stable tag: 1.0. 55 Stable tag: 1.0.6 6 6 Tested up to: 4.6 7 7 License: GPLv2 or later … … 68 68 == Changelog == 69 69 70 = 1.0.5 = 70 71 72 = 1.0.6 = 71 73 * Compatibility with WP 4.6 74 * fixed some php errors provided by adampatterson (thanks) 72 75 73 76 = 1.0.4 =
Note: See TracChangeset
for help on using the changeset viewer.