backwpup icon indicating copy to clipboard operation
backwpup copied to clipboard

[BackWPUp Pro] wp-config.php appears twice if "Use one folder above as WordPress install folder" is chosen

Open superpoincare opened this issue 4 years ago • 1 comments

Describe the bug

wp-config.php appears twice if you choose the options

  • backup wp-config.php, robots.txt, nginx.conf, .htaccess, .htpasswd, favicon.ico, and Web.config from root if it is not included in backup. (default)
  • Use one folder above as WordPress install folder!

To Reproduce

Steps to reproduce the behavior:

  1. Go to "Files" in "Add a new job"
  2. Click on '.Use one folder above as WordPress install folder!'
  3. Open the zip file and check wp-config.php appears twice, once in the top folder and once in the public_html folder (or equivalent like htdocs)

Expected behavior

Since wp-config,php is already included, it shouldn't appear twice.

System

  • Linux (server), Windows (personal computer)
  • Version 4.19.150-76.ELK.el6.x86_64, Windows 10, respectively.

superpoincare avatar May 31 '21 07:05 superpoincare

@superpoincare Thank you so much for the report, we was able to reproduce this, I'm going to report this to our devs team ^^

cuongdcdev avatar May 31 '21 12:05 cuongdcdev