- wp-db-backup requires that /wp-content/ be writable, in order to create a backup destination directory that is not easily guessed. I strongly discourage /wp-content/ from being writable. Specific directories underneath can (and should) be writable.
The display of ABSPATH is actively misleading. This is a more helpful message:
WARNING: Your /wp-content/backup/ directory is NOT writable! We cannot create the backup directory:
/home/skippy/public_html/wp/wp-content/backup/FOO
- The error message is repeated, which is less than useful.
The attached patch:
- revised WP_BACKUP_DIR to use /wp-content/backup/XXX
- displays the whole path in the error message
- and dies outright if the backup directory cannot be created so as to suppress multiple error messages.