Better error, fixes #1934
git-svn-id: https://develop.svn.wordpress.org/trunk@3212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
68f2bdc166
commit
1761ed4b6b
@ -739,7 +739,7 @@ class wpdbBackup {
|
||||
if ( @ mkdir( ABSPATH . $this->backup_dir) ) {
|
||||
@ chmod( ABSPATH . $this->backup_dir, $dir_perms);
|
||||
} else {
|
||||
echo '<div class="updated error"><p align="center">' . __('WARNING: Your wp-content directory is <strong>NOT</strong> writable! We can not create the backup directory.', 'wp-db-backup') . '<br />' . ABSPATH . "</p></div>";
|
||||
echo '<div class="updated error"><p align="center">' . __('WARNING: Your wp-content directory is <strong>NOT</strong> writable! We can not create the backup directory.', 'wp-db-backup') . '<br />' . ABSPATH . $this->backup_dir . "</p></div>";
|
||||
$WHOOPS = TRUE;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user