Changeset 43119 for branches/4.9
- Timestamp:
- 05/02/2018 06:50:49 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/includes/file.php
r43108 r43119 1877 1877 1878 1878 if ( ! $request || 'export_personal_data' !== $request->action_name ) { 1879 wp_send_json_error( __( 'Invalid request ID when generating export file ' ) );1879 wp_send_json_error( __( 'Invalid request ID when generating export file.' ) ); 1880 1880 } 1881 1881 … … 1883 1883 1884 1884 if ( ! is_email( $email_address ) ) { 1885 wp_send_json_error( __( 'Invalid email address when generating export file ' ) );1885 wp_send_json_error( __( 'Invalid email address when generating export file.' ) ); 1886 1886 } 1887 1887 … … 1901 1901 $file = fopen( $index_pathname, 'w' ); 1902 1902 if ( false === $file ) { 1903 wp_send_json_error( __( 'Unable to protect export folder from browsing ' ) );1903 wp_send_json_error( __( 'Unable to protect export folder from browsing.' ) ); 1904 1904 } 1905 1905 fwrite( $file, 'Silence is golden.' ); … … 1915 1915 $file = fopen( $html_report_pathname, 'w' ); 1916 1916 if ( false === $file ) { 1917 wp_send_json_error( __( 'Unable to open export file (HTML report) for writing ' ) );1917 wp_send_json_error( __( 'Unable to open export file (HTML report) for writing.' ) ); 1918 1918 } 1919 1919 … … 1958 1958 'about-1' => array( 1959 1959 array( 1960 'name' => _ _( 'Report generated for' ),1960 'name' => _x( 'Report generated for', 'email address' ), 1961 1961 'value' => $email_address, 1962 1962 ), 1963 1963 array( 1964 'name' => _ _( 'For site' ),1964 'name' => _x( 'For site', 'website name' ), 1965 1965 'value' => get_bloginfo( 'name' ), 1966 1966 ), 1967 1967 array( 1968 'name' => _ _( 'AtURL' ),1968 'name' => _x( 'At URL', 'website URL' ), 1969 1969 'value' => get_bloginfo( 'url' ), 1970 1970 ), 1971 1971 array( 1972 'name' => _ _( 'On' ),1972 'name' => _x( 'On', 'date/time' ), 1973 1973 'value' => current_time( 'mysql' ), 1974 1974 ), … … 2153 2153 2154 2154 if ( ! $request || 'export_personal_data' !== $request->action_name ) { 2155 wp_send_json_error( __( 'Invalid request ID when merging exporter data ' ) );2155 wp_send_json_error( __( 'Invalid request ID when merging exporter data.' ) ); 2156 2156 } 2157 2157 -
branches/4.9/src/wp-admin/includes/user.php
r43111 r43119 1312 1312 '<span style="display:none" class="export_personal_data_processing" >' . __( 'Downloading Data...' ) . '</span>' . 1313 1313 '<span style="display:none" class="export_personal_data_success"><a href="#" >' . __( 'Download Personal Data Again' ) . '</a></span>' . 1314 '<span style="display:none" class="export_personal_data_failed">' . __( 'Download Failed!' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>';1314 '<span style="display:none" class="export_personal_data_failed">' . __( 'Download has failed.' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>'; 1315 1315 1316 1316 $download_data_markup .= '</div>'; … … 1353 1353 <span class="export_personal_data_idle"><a class="button" href="#" ><?php _e( 'Email Data' ); ?></a></span> 1354 1354 <span style="display:none" class="export_personal_data_processing button updating-message" ><?php _e( 'Sending Email...' ); ?></span> 1355 <span style="display:none" class="export_personal_data_success success-message" ><?php _e( 'Email Sent!' ); ?></span>1356 <span style="display:none" class="export_personal_data_failed"><?php _e( 'Email Failed!' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span>1355 <span style="display:none" class="export_personal_data_success success-message" ><?php _e( 'Email sent.' ); ?></span> 1356 <span style="display:none" class="export_personal_data_failed"><?php _e( 'Email could not be sent.' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span> 1357 1357 <?php 1358 1358 … … 1423 1423 $remove_data_markup .= '<span class="remove_personal_data_idle"><a href="#" >' . __( 'Force Remove Personal Data' ) . '</a></span>' . 1424 1424 '<span style="display:none" class="remove_personal_data_processing" >' . __( 'Removing Data...' ) . '</span>' . 1425 '<span style="display:none" class="remove_personal_data_failed">' . __( 'Force Remove Failed!' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>';1425 '<span style="display:none" class="remove_personal_data_failed">' . __( 'Force Remove has failed.' ) . ' <a href="#" >' . __( 'Retry' ) . '</a></span>'; 1426 1426 1427 1427 $remove_data_markup .= '</div>'; … … 1465 1465 <span class="remove_personal_data_idle"><a class="button" href="#" ><?php _e( 'Remove Personal Data' ); ?></a></span> 1466 1466 <span style="display:none" class="remove_personal_data_processing button updating-message" ><?php _e( 'Removing Data...' ); ?></span> 1467 <span style="display:none" class="remove_personal_data_failed"><?php _e( 'Removing Data Failed!' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span>1467 <span style="display:none" class="remove_personal_data_failed"><?php _e( 'Removing Data has failed.' ); ?> <a class="button" href="#" ><?php _e( 'Retry' ); ?></a></span> 1468 1468 <?php 1469 1469 -
branches/4.9/src/wp-admin/privacy.php
r43103 r43119 196 196 <input type="hidden" name="action" value="create-privacy-page" /> 197 197 <span> 198 <?php _e( 'Or create a new page: ' ); ?>198 <?php _e( 'Or create a new page:' ); ?> 199 199 </span> 200 200 <?php -
branches/4.9/src/wp-includes/user.php
r43117 r43119 2910 2910 2911 2911 if ( ! is_email( $email_address ) ) { 2912 return new WP_Error( 'invalid_email', __( 'Invalid email address ' ) );2912 return new WP_Error( 'invalid_email', __( 'Invalid email address.' ) ); 2913 2913 } 2914 2914 2915 2915 if ( ! $action_name ) { 2916 return new WP_Error( 'invalid_action', __( 'Invalid action name ' ) );2916 return new WP_Error( 'invalid_action', __( 'Invalid action name.' ) ); 2917 2917 } 2918 2918 -
branches/4.9/src/wp-login.php
r43083 r43119 841 841 case 'confirmaction' : 842 842 if ( ! isset( $_GET['request_id'] ) ) { 843 wp_die( __( 'Invalid request ' ) );843 wp_die( __( 'Invalid request.' ) ); 844 844 } 845 845
Note: See TracChangeset
for help on using the changeset viewer.