Changeset 18841
- Timestamp:
- 09/30/2011 05:18:35 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r18820 r18841 641 641 die('1'); 642 642 elseif ( in_array($status, array('draft', 'pending', 'trash') ) ) 643 die( __('E rror: you are replying to a comment on a draft post.') );643 die( __('ERROR: you are replying to a comment on a draft post.') ); 644 644 645 645 $user = wp_get_current_user(); … … 660 660 661 661 if ( '' == $comment_content ) 662 die( __('E rror: please type a comment.') );662 die( __('ERROR: please type a comment.') ); 663 663 664 664 $comment_parent = absint($_POST['comment_ID']); … … 722 722 723 723 if ( '' == $_POST['content'] ) 724 die( __('E rror: please type a comment.') );724 die( __('ERROR: please type a comment.') ); 725 725 726 726 $_POST['comment_status'] = $_POST['status']; -
trunk/wp-admin/includes/file.php
r18632 r18841 966 966 extract($credentials, EXTR_OVERWRITE); 967 967 if ( $error ) { 968 $error_string = __('<strong>E rror:</strong> There was an error connecting to the server, Please verify the settings are correct.');968 $error_string = __('<strong>ERROR:</strong> There was an error connecting to the server, Please verify the settings are correct.'); 969 969 if ( is_wp_error($error) ) 970 970 $error_string = esc_html( $error->get_error_message() ); -
trunk/wp-admin/includes/theme-install.php
r18462 r18841 238 238 239 239 if ( empty($api->download_link) ) { 240 echo '<div id="message" class="error"><p>' . __('<strong>E rror:</strong> This theme is currently not available. Please try again later.') . '</p></div>';240 echo '<div id="message" class="error"><p>' . __('<strong>ERROR:</strong> This theme is currently not available. Please try again later.') . '</p></div>'; 241 241 iframe_footer(); 242 242 exit; -
trunk/wp-admin/network.php
r18692 r18841 136 136 137 137 if ( get_option( 'siteurl' ) != get_option( 'home' ) ) { 138 echo '<div class="error"><p><strong>' . __('E rror:') . '</strong> ' . sprintf( __( 'Your <strong>WordPress address</strong> must match your <strong>Site address</strong> before creating a Network. See <a href="%s">General Settings</a>.' ), esc_url( admin_url( 'options-general.php' ) ) ) . '</p></div>';138 echo '<div class="error"><p><strong>' . __('ERROR:') . '</strong> ' . sprintf( __( 'Your <strong>WordPress address</strong> must match your <strong>Site address</strong> before creating a Network. See <a href="%s">General Settings</a>.' ), esc_url( admin_url( 'options-general.php' ) ) ) . '</p></div>'; 139 139 echo '</div>'; 140 140 include ( ABSPATH . 'wp-admin/admin-footer.php' ); … … 143 143 144 144 if ( defined('DO_NOT_UPGRADE_GLOBAL_TABLES') ) { 145 echo '<div class="error"><p><strong>' . __('E rror:') . '</strong> ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network.' ) . '</p></div>';145 echo '<div class="error"><p><strong>' . __('ERROR:') . '</strong> ' . __( 'The constant DO_NOT_UPGRADE_GLOBAL_TABLES cannot be defined when creating a network.' ) . '</p></div>'; 146 146 echo '</div>'; 147 147 include ( ABSPATH . 'wp-admin/admin-footer.php' ); … … 160 160 $has_ports = strstr( $hostname, ':' ); 161 161 if ( ( false !== $has_ports && ! in_array( $has_ports, array( ':80', ':443' ) ) ) ) { 162 echo '<div class="error"><p><strong>' . __( 'E rror:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>';162 echo '<div class="error"><p><strong>' . __( 'ERROR:') . '</strong> ' . __( 'You cannot install a network of sites with your server address.' ) . '</p></div>'; 163 163 echo '<p>' . sprintf( __( 'You cannot use port numbers such as <code>%s</code>.' ), $has_ports ) . '</p>'; 164 164 echo '<a href="' . esc_url( admin_url() ) . '">' . __( 'Return to Dashboard' ) . '</a>'; -
trunk/wp-admin/options.php
r17986 r18841 111 111 112 112 if ( !isset( $whitelist_options[ $option_page ] ) ) 113 wp_die( __( ' Error: options page not found.' ) );113 wp_die( __( '<strong>ERROR</strong>: options page not found.' ) ); 114 114 115 115 if ( 'options' == $option_page ) { -
trunk/wp-comments-post.php
r16847 r18841 76 76 if ( get_option('require_name_email') && !$user->ID ) { 77 77 if ( 6 > strlen($comment_author_email) || '' == $comment_author ) 78 wp_die( __(' Error: please fill the required fields (name, email).') );78 wp_die( __('<strong>ERROR</strong>: please fill the required fields (name, email).') ); 79 79 elseif ( !is_email($comment_author_email)) 80 wp_die( __(' Error: please enter a valid email address.') );80 wp_die( __('<strong>ERROR</strong>: please enter a valid email address.') ); 81 81 } 82 82 83 83 if ( '' == $comment_content ) 84 wp_die( __(' Error: please type a comment.') );84 wp_die( __('<strong>ERROR</strong>: please type a comment.') ); 85 85 86 86 $comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0; -
trunk/wp-includes/js/tinymce/langs/wp-langs.php
r18518 r18841 25 25 clipboard_no_support:"' . mce_escape( __('Currently not supported by your browser, use keyboard shortcuts instead.') ) . '", 26 26 popup_blocked:"' . mce_escape( __('Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.') ) . '", 27 invalid_data:"' . mce_escape( __('E rror: Invalid values entered, these are marked in red.') ) . '",27 invalid_data:"' . mce_escape( __('ERROR: Invalid values entered, these are marked in red.') ) . '", 28 28 invalid_data_number:"' . mce_escape( __('{#field} must be a number') ) . '", 29 29 invalid_data_min:"' . mce_escape( __('{#field} must be a number greater than {#min}') ) . '", -
trunk/wp-includes/ms-functions.php
r18834 r18841 319 319 // Check if the domain has been used already. We should return an error message. 320 320 if ( domain_exists($domain, $path, $site_id) ) 321 return __( ' Error: Site URL already taken.' );321 return __( '<strong>ERROR</strong>: Site URL already taken.' ); 322 322 323 323 // Need to back up wpdb table names, and create a new wp_blogs entry for new blog. … … 326 326 327 327 if ( ! $blog_id = insert_blog($domain, $path, $site_id) ) 328 return __( ' Error: problem creating site entry.' );328 return __( '<strong>ERROR</strong>: problem creating site entry.' ); 329 329 330 330 switch_to_blog($blog_id);
Note: See TracChangeset
for help on using the changeset viewer.