PluginProbe
WP Database Backup – Unlimited Database & Files Backup by Backup for WP / 7.4
WP Database Backup – Unlimited Database & Files Backup by Backup for WP v7.4
7.13 7.12 trunk 1.1 2.1.1 5.9 6.0 6.1 6.10 6.11 6.12 6.12.1 6.2 6.3 6.4 6.5 6.5.1 6.6 6.7 6.8 6.9 7.0 7.0.1 7.1 7.10 All 34 releases
← All changes | includes/admin/Destination/FTP/preflight.php +3 -3 6.107.4 View file →
@@ -34,19 +34,19 @@
34 34 if ( current_user_can( 'manage_options' ) ) {
35 35 // Connect to host ONLY if the 2 security conditions are valid / met.
36 36 $conn = ftp_connect( $host );
37 37 if ( ! $conn ) {
38 - $trouble = 'I could not connect to your FTP server.<br />Please check your FTP Host settings and try again (leave FTP Host BLANK for local backups).';
38 + $trouble = esc_html__('I could not connect to your FTP server..','wpdbbkp').'<br />'.esc_html__('Please check your FTP Host settings and try again (leave FTP Host BLANK for local backups).','wpdbbkp');
39 39 backupbreeze_preflight_problem( $trouble );
40 40 }
41 41 $result = ftp_login( $conn, $user, $pass );
42 42 if ( ! $result ) {
43 - $trouble = 'I could not log in to your FTP server.<br />Please check your FTP Username and Password, then try again.<br />For local backups, please leave the FTP Host option BLANK.';
43 + $trouble = esc_html__('I could not log in to your FTP server.','wpdbbkp').'<br />'.esc_html__('Please check your FTP Username and Password, then try again.','wpdbbkp').'<br />'.esc_html__('For local backups, please leave the FTP Host option BLANK.','wpdbbkp');
44 44 backupbreeze_preflight_problem( $trouble );
45 45 }
46 46 $success = ftp_chdir( $conn, $subdir );
47 47 if ( ! $success ) {
48 - $trouble = 'I cannot change into the FTP subdirectory you specified. Does it exist?<br />You must create it first using an FTP client like FileZilla.<br />Please check and try again.';
48 + $trouble = esc_html__('I cannot change into the FTP subdirectory you specified. Does it exist?','wpdbbkp').'<br />'.esc_html__('You must create it first using an FTP client like FileZilla.','wpdbbkp').'<br />'.esc_html__('Please check and try again.','wpdbbkp');
49 49 backupbreeze_preflight_problem( $trouble );
50 50 }
51 51 }
52 52 }