Changeset 3284895
- Timestamp:
- 04/30/2025 01:12:55 PM (10 months ago)
- Location:
- backwpup
- Files:
-
- 2 added
- 12 edited
- 1 copied
-
tags/5.2.1 (copied) (copied from backwpup/trunk)
-
tags/5.2.1/backwpup.php (modified) (2 diffs)
-
tags/5.2.1/changelog.txt (modified) (1 diff)
-
tags/5.2.1/inc/functions.php (modified) (1 diff)
-
tags/5.2.1/languages/backwpup.pot (modified) (2 diffs)
-
tags/5.2.1/readme.txt (modified) (2 diffs)
-
tags/5.2.1/src/compat.php (added)
-
tags/5.2.1/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/backwpup.php (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/inc/functions.php (modified) (1 diff)
-
trunk/languages/backwpup.pot (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/compat.php (added)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
backwpup/tags/5.2.1/backwpup.php
r3284139 r3284895 6 6 * Author: BackWPup – WordPress Backup & Restore Plugin 7 7 * Author URI: https://backwpup.com 8 * Version: 5.2. 08 * Version: 5.2.1 9 9 * Requires at least: 4.9 10 10 * Requires PHP: 7.4 … … 59 59 60 60 require_once __DIR__ . '/inc/functions.php'; 61 require_once __DIR__ . '/src/compat.php'; 61 62 62 63 $file = untrailingslashit( self::get_plugin_data( 'plugindir' ) ) -
backwpup/tags/5.2.1/changelog.txt
r3284139 r3284895 1 1 == Changelog == 2 = 5.2.1 = 3 Release date: April 30, 2025 4 5 * Bugfix: Fixed fatal error caused by cal_days_in_month() function on 5.2 for unsupported servers. 6 2 7 = 5.2.0 = 3 8 Release date: April 29, 2025 -
backwpup/tags/5.2.1/inc/functions.php
r3097066 r3284895 235 235 return $escaped_url; 236 236 } 237 238 /** 239 * Compatibility code for cal_days_in_month. 240 * 241 * @param int $month Month. 242 * @param int $year Year. 243 * 244 * @return int 245 */ 246 function backwpup_cal_days_in_month( $month, $year ) { 247 $month = (int) $month; 248 $year = (int) $year; 249 250 // Array of the number of days in each month for a non-leap year. 251 $days_in_months = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; 252 253 // Check if the month is February and if the year is a leap year. 254 if ( 2 === $month && ( ( 0 === ( $year % 4 ) && 0 !== ( $year % 100 ) ) || ( 0 === $year % 400 ) ) ) { 255 return 29; // February in a leap year has 29 days. 256 } 257 258 // Return the number of days for the given month. 259 return $days_in_months[ $month - 1 ]; 260 } -
backwpup/tags/5.2.1/languages/backwpup.pot
r3284139 r3284895 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2025-04- 29 13:13+0000\n"9 "POT-Creation-Date: 2025-04-30 12:53+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" … … 35 35 msgstr "" 36 36 37 #: backwpup.php:38 8, inc/class-page-backups.php:22337 #: backwpup.php:389, inc/class-page-backups.php:223 38 38 msgid "Folder" 39 39 msgstr "" 40 40 41 #: backwpup.php:3 8941 #: backwpup.php:390 42 42 msgid "Backup to Folder" 43 43 msgstr "" 44 44 45 #: backwpup.php:40 345 #: backwpup.php:404 46 46 msgid "Email" 47 47 msgstr "" 48 48 49 #: backwpup.php:40 449 #: backwpup.php:405 50 50 msgid "Backup sent via email" 51 51 msgstr "" 52 52 53 #: backwpup.php:41 853 #: backwpup.php:419 54 54 msgid "FTP" 55 55 msgstr "" 56 56 57 #: backwpup.php:4 1957 #: backwpup.php:420 58 58 msgid "Backup to FTP" 59 59 msgstr "" 60 60 61 #: backwpup.php:43 3, inc/class-destination-dropbox.php:47161 #: backwpup.php:434, inc/class-destination-dropbox.php:471 62 62 msgid "Dropbox" 63 63 msgstr "" 64 64 65 #: backwpup.php:43 4, inc/class-page-about.php:50465 #: backwpup.php:435, inc/class-page-about.php:504 66 66 msgid "Backup to Dropbox" 67 67 msgstr "" 68 68 69 #: backwpup.php:44 8, inc/class-destination-s3.php:42, parts/sidebar/storage-S3.php:5169 #: backwpup.php:449, inc/class-destination-s3.php:42, parts/sidebar/storage-S3.php:51 70 70 msgid "S3 Service" 71 71 msgstr "" 72 72 73 #: backwpup.php:4 4973 #: backwpup.php:450 74 74 msgid "Backup to an S3 Service" 75 75 msgstr "" 76 76 77 #: backwpup.php:46 377 #: backwpup.php:464 78 78 msgid "MS Azure" 79 79 msgstr "" 80 80 81 #: backwpup.php:46 481 #: backwpup.php:465 82 82 msgid "Backup to Microsoft Azure (Blob)" 83 83 msgstr "" 84 84 85 #: backwpup.php:47 885 #: backwpup.php:479 86 86 msgid "RSC" 87 87 msgstr "" 88 88 89 #: backwpup.php:4 79, inc/class-page-about.php:50989 #: backwpup.php:480, inc/class-page-about.php:509 90 90 msgid "Backup to Rackspace Cloud Files" 91 91 msgstr "" 92 92 93 #: backwpup.php:49 393 #: backwpup.php:494 94 94 msgid "SugarSync" 95 95 msgstr "" 96 96 97 #: backwpup.php:49 4, inc/class-page-about.php:52497 #: backwpup.php:495, inc/class-page-about.php:524 98 98 msgid "Backup to SugarSync" 99 99 msgstr "" 100 100 101 #: backwpup.php:52 2101 #: backwpup.php:523 102 102 msgid "PHP Version %1$s is to low, you need Version %2$s or above." 103 103 msgstr "" 104 104 105 #: backwpup.php:53 6105 #: backwpup.php:537 106 106 msgid "Missing function \"%s\"." 107 107 msgstr "" 108 108 109 #: backwpup.php:55 1109 #: backwpup.php:552 110 110 msgid "Missing class \"%s\"." 111 111 msgstr "" 112 112 113 #: backwpup.php:63 7113 #: backwpup.php:638 114 114 msgid "BackWPup requires PHP version %1$s with spl extension or greater and WordPress %2$s or greater." 115 115 msgstr "" -
backwpup/tags/5.2.1/readme.txt
r3284139 r3284895 6 6 Tested up to: 6.8 7 7 Requires PHP: 7.4 8 Stable tag: 5.2. 08 Stable tag: 5.2.1 9 9 License: GPLv2+ 10 10 … … 190 190 191 191 == Changelog == 192 193 = 5.2.1 = 194 Release date: April 30, 2025 195 196 * Bugfix: Fixed fatal error caused by cal_days_in_month() function on 5.2 for unsupported servers. 192 197 193 198 = 5.2.0 = -
backwpup/tags/5.2.1/vendor/composer/installed.php
r3284139 r3284895 2 2 'root' => array( 3 3 'name' => 'inpsyde/backwpup-pro', 4 'pretty_version' => '5.2. 0',5 'version' => '5.2. 0.0',6 'reference' => ' 24fa7ddc3a8a0d72683a8fdedc55a492c56ac532',4 'pretty_version' => '5.2.1', 5 'version' => '5.2.1.0', 6 'reference' => '5f22f5b2473dd0da1733bf536eb9b3f7cf04cd14', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 225 225 ), 226 226 'inpsyde/backwpup-pro' => array( 227 'pretty_version' => '5.2. 0',228 'version' => '5.2. 0.0',229 'reference' => ' 24fa7ddc3a8a0d72683a8fdedc55a492c56ac532',227 'pretty_version' => '5.2.1', 228 'version' => '5.2.1.0', 229 'reference' => '5f22f5b2473dd0da1733bf536eb9b3f7cf04cd14', 230 230 'type' => 'wordpress-plugin', 231 231 'install_path' => __DIR__ . '/../../', -
backwpup/trunk/backwpup.php
r3284139 r3284895 6 6 * Author: BackWPup – WordPress Backup & Restore Plugin 7 7 * Author URI: https://backwpup.com 8 * Version: 5.2. 08 * Version: 5.2.1 9 9 * Requires at least: 4.9 10 10 * Requires PHP: 7.4 … … 59 59 60 60 require_once __DIR__ . '/inc/functions.php'; 61 require_once __DIR__ . '/src/compat.php'; 61 62 62 63 $file = untrailingslashit( self::get_plugin_data( 'plugindir' ) ) -
backwpup/trunk/changelog.txt
r3284139 r3284895 1 1 == Changelog == 2 = 5.2.1 = 3 Release date: April 30, 2025 4 5 * Bugfix: Fixed fatal error caused by cal_days_in_month() function on 5.2 for unsupported servers. 6 2 7 = 5.2.0 = 3 8 Release date: April 29, 2025 -
backwpup/trunk/inc/functions.php
r3097066 r3284895 235 235 return $escaped_url; 236 236 } 237 238 /** 239 * Compatibility code for cal_days_in_month. 240 * 241 * @param int $month Month. 242 * @param int $year Year. 243 * 244 * @return int 245 */ 246 function backwpup_cal_days_in_month( $month, $year ) { 247 $month = (int) $month; 248 $year = (int) $year; 249 250 // Array of the number of days in each month for a non-leap year. 251 $days_in_months = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; 252 253 // Check if the month is February and if the year is a leap year. 254 if ( 2 === $month && ( ( 0 === ( $year % 4 ) && 0 !== ( $year % 100 ) ) || ( 0 === $year % 400 ) ) ) { 255 return 29; // February in a leap year has 29 days. 256 } 257 258 // Return the number of days for the given month. 259 return $days_in_months[ $month - 1 ]; 260 } -
backwpup/trunk/languages/backwpup.pot
r3284139 r3284895 7 7 "Content-Type: text/plain; charset=UTF-8\n" 8 8 "Content-Transfer-Encoding: 8bit\n" 9 "POT-Creation-Date: 2025-04- 29 13:13+0000\n"9 "POT-Creation-Date: 2025-04-30 12:53+0000\n" 10 10 "X-Poedit-Basepath: ..\n" 11 11 "X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n" … … 35 35 msgstr "" 36 36 37 #: backwpup.php:38 8, inc/class-page-backups.php:22337 #: backwpup.php:389, inc/class-page-backups.php:223 38 38 msgid "Folder" 39 39 msgstr "" 40 40 41 #: backwpup.php:3 8941 #: backwpup.php:390 42 42 msgid "Backup to Folder" 43 43 msgstr "" 44 44 45 #: backwpup.php:40 345 #: backwpup.php:404 46 46 msgid "Email" 47 47 msgstr "" 48 48 49 #: backwpup.php:40 449 #: backwpup.php:405 50 50 msgid "Backup sent via email" 51 51 msgstr "" 52 52 53 #: backwpup.php:41 853 #: backwpup.php:419 54 54 msgid "FTP" 55 55 msgstr "" 56 56 57 #: backwpup.php:4 1957 #: backwpup.php:420 58 58 msgid "Backup to FTP" 59 59 msgstr "" 60 60 61 #: backwpup.php:43 3, inc/class-destination-dropbox.php:47161 #: backwpup.php:434, inc/class-destination-dropbox.php:471 62 62 msgid "Dropbox" 63 63 msgstr "" 64 64 65 #: backwpup.php:43 4, inc/class-page-about.php:50465 #: backwpup.php:435, inc/class-page-about.php:504 66 66 msgid "Backup to Dropbox" 67 67 msgstr "" 68 68 69 #: backwpup.php:44 8, inc/class-destination-s3.php:42, parts/sidebar/storage-S3.php:5169 #: backwpup.php:449, inc/class-destination-s3.php:42, parts/sidebar/storage-S3.php:51 70 70 msgid "S3 Service" 71 71 msgstr "" 72 72 73 #: backwpup.php:4 4973 #: backwpup.php:450 74 74 msgid "Backup to an S3 Service" 75 75 msgstr "" 76 76 77 #: backwpup.php:46 377 #: backwpup.php:464 78 78 msgid "MS Azure" 79 79 msgstr "" 80 80 81 #: backwpup.php:46 481 #: backwpup.php:465 82 82 msgid "Backup to Microsoft Azure (Blob)" 83 83 msgstr "" 84 84 85 #: backwpup.php:47 885 #: backwpup.php:479 86 86 msgid "RSC" 87 87 msgstr "" 88 88 89 #: backwpup.php:4 79, inc/class-page-about.php:50989 #: backwpup.php:480, inc/class-page-about.php:509 90 90 msgid "Backup to Rackspace Cloud Files" 91 91 msgstr "" 92 92 93 #: backwpup.php:49 393 #: backwpup.php:494 94 94 msgid "SugarSync" 95 95 msgstr "" 96 96 97 #: backwpup.php:49 4, inc/class-page-about.php:52497 #: backwpup.php:495, inc/class-page-about.php:524 98 98 msgid "Backup to SugarSync" 99 99 msgstr "" 100 100 101 #: backwpup.php:52 2101 #: backwpup.php:523 102 102 msgid "PHP Version %1$s is to low, you need Version %2$s or above." 103 103 msgstr "" 104 104 105 #: backwpup.php:53 6105 #: backwpup.php:537 106 106 msgid "Missing function \"%s\"." 107 107 msgstr "" 108 108 109 #: backwpup.php:55 1109 #: backwpup.php:552 110 110 msgid "Missing class \"%s\"." 111 111 msgstr "" 112 112 113 #: backwpup.php:63 7113 #: backwpup.php:638 114 114 msgid "BackWPup requires PHP version %1$s with spl extension or greater and WordPress %2$s or greater." 115 115 msgstr "" -
backwpup/trunk/readme.txt
r3284139 r3284895 6 6 Tested up to: 6.8 7 7 Requires PHP: 7.4 8 Stable tag: 5.2. 08 Stable tag: 5.2.1 9 9 License: GPLv2+ 10 10 … … 190 190 191 191 == Changelog == 192 193 = 5.2.1 = 194 Release date: April 30, 2025 195 196 * Bugfix: Fixed fatal error caused by cal_days_in_month() function on 5.2 for unsupported servers. 192 197 193 198 = 5.2.0 = -
backwpup/trunk/vendor/composer/installed.php
r3284139 r3284895 2 2 'root' => array( 3 3 'name' => 'inpsyde/backwpup-pro', 4 'pretty_version' => '5.2. 0',5 'version' => '5.2. 0.0',6 'reference' => ' 24fa7ddc3a8a0d72683a8fdedc55a492c56ac532',4 'pretty_version' => '5.2.1', 5 'version' => '5.2.1.0', 6 'reference' => '5f22f5b2473dd0da1733bf536eb9b3f7cf04cd14', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 225 225 ), 226 226 'inpsyde/backwpup-pro' => array( 227 'pretty_version' => '5.2. 0',228 'version' => '5.2. 0.0',229 'reference' => ' 24fa7ddc3a8a0d72683a8fdedc55a492c56ac532',227 'pretty_version' => '5.2.1', 228 'version' => '5.2.1.0', 229 'reference' => '5f22f5b2473dd0da1733bf536eb9b3f7cf04cd14', 230 230 'type' => 'wordpress-plugin', 231 231 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.