|
@@ 169-171 (lines=3) @@
|
| 166 |
|
|
| 167 |
|
} else { |
| 168 |
|
|
| 169 |
|
if ( ! is_dir( HMBKP_PATH ) ) { |
| 170 |
|
$messages[] = sprintf( __( 'Your custom backups directory %1$s doesn\'t exist and can\'t be created, your backups will be saved to %2$s instead.', 'backupwordpress' ), '<code>' . esc_html( HMBKP_PATH ) . '</code>', '<code>' . esc_html( Path::get_path() ) . '</code>' ); |
| 171 |
|
} |
| 172 |
|
|
| 173 |
|
if ( is_dir( HMBKP_PATH ) && ! wp_is_writable( HMBKP_PATH ) ) { |
| 174 |
|
$messages[] = sprintf( __( 'Your custom backups directory %1$s isn\'t writable, new backups will be saved to %2$s instead.', 'backupwordpress' ), '<code>' . esc_html( HMBKP_PATH ) . '</code>', '<code>' . esc_html( Path::get_path() ) . '</code>' ); |
|
@@ 173-176 (lines=4) @@
|
| 170 |
|
$messages[] = sprintf( __( 'Your custom backups directory %1$s doesn\'t exist and can\'t be created, your backups will be saved to %2$s instead.', 'backupwordpress' ), '<code>' . esc_html( HMBKP_PATH ) . '</code>', '<code>' . esc_html( Path::get_path() ) . '</code>' ); |
| 171 |
|
} |
| 172 |
|
|
| 173 |
|
if ( is_dir( HMBKP_PATH ) && ! wp_is_writable( HMBKP_PATH ) ) { |
| 174 |
|
$messages[] = sprintf( __( 'Your custom backups directory %1$s isn\'t writable, new backups will be saved to %2$s instead.', 'backupwordpress' ), '<code>' . esc_html( HMBKP_PATH ) . '</code>', '<code>' . esc_html( Path::get_path() ) . '</code>' ); |
| 175 |
|
|
| 176 |
|
} |
| 177 |
|
} |
| 178 |
|
} |
| 179 |
|
|