Ipstenu / dreamobjects

DreamObjects Backup Plugin for WordPress
10 stars 5 forks source link

Fix htaccess backup #9

Closed Ipstenu closed 8 years ago

Ipstenu commented 8 years ago

https://wordpress.org/support/topic/please-backup-more-than-db-wp-content?replies=10#post-8142964

Looks like you don't need to escape the dot in the filename inside the quotes on lines 240 & 241 of dhdo.php. Currently they are:

if ( file_exists(ABSPATH .'.htaccess') ) { $backups[] = ABSPATH .'.htaccess' ;

Eliminating the \ gives joy:

if ( file_exists(ABSPATH .'.htaccess') ) { $backups[] = ABSPATH .'.htaccess' ;

Ipstenu commented 8 years ago

Fixed in 4.0.1