Changeset 14313
- Timestamp:
- 04/30/2010 01:54:32 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-link-category-form.php
r12712 r14313 12 12 13 13 if ( !current_user_can('manage_categories') ) 14 wp_die(__('You do not have sufficient permissions to edit link categories for this blog.'));14 wp_die(__('You do not have sufficient permissions to edit link categories for this site.')); 15 15 16 16 /** -
trunk/wp-admin/export.php
r14153 r14313 11 11 12 12 if ( !current_user_can('edit_files') ) 13 wp_die(__('You do not have sufficient permissions to export the content of this blog.'));13 wp_die(__('You do not have sufficient permissions to export the content of this site.')); 14 14 15 15 /** Load WordPress export API */ … … 60 60 <p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p> 61 61 <p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, pages, comments, custom fields, categories, and tags.'); ?></p> 62 <p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>62 <p><?php _e('Once you’ve saved the download file, you can use the Import function on another WordPress site to import this site.'); ?></p> 63 63 <form action="" method="get"> 64 64 <h3><?php _e('Options'); ?></h3> -
trunk/wp-admin/import.php
r11764 r14313 11 11 12 12 if ( !current_user_can('edit_files') ) 13 wp_die(__('You do not have sufficient permissions to import content in this blog.'));13 wp_die(__('You do not have sufficient permissions to import content in this site.')); 14 14 15 15 $title = __('Import'); … … 21 21 <?php screen_icon(); ?> 22 22 <h2><?php echo esc_html( $title ); ?></h2> 23 <p><?php _e('If you have posts or comments in another system, WordPress can import those into this blog. To get started, choose a system to import from below:'); ?></p>23 <p><?php _e('If you have posts or comments in another system, WordPress can import those into this site. To get started, choose a system to import from below:'); ?></p> 24 24 25 25 <?php -
trunk/wp-admin/link-add.php
r14139 r14313 11 11 12 12 if ( ! current_user_can('manage_links') ) 13 wp_die(__('You do not have sufficient permissions to add links to this blog.'));13 wp_die(__('You do not have sufficient permissions to add links to this site.')); 14 14 15 15 $title = __('Add New Link'); -
trunk/wp-admin/link-manager.php
r14139 r14313 16 16 17 17 if ( ! current_user_can('manage_links') ) 18 wp_die( __('You do not have sufficient permissions to edit the links for this blog.') );18 wp_die( __('You do not have sufficient permissions to edit the links for this site.') ); 19 19 20 20 if ( 'delete' == $doaction ) { … … 47 47 48 48 if ( ! current_user_can('manage_links') ) 49 wp_die(__("You do not have sufficient permissions to edit the links for this blog."));49 wp_die(__("You do not have sufficient permissions to edit the links for this site.")); 50 50 51 51 switch ($order_by) { -
trunk/wp-admin/link.php
r13960 r14313 16 16 17 17 if ( ! current_user_can('manage_links') ) 18 wp_die( __('You do not have sufficient permissions to edit the links for this blog.') );18 wp_die( __('You do not have sufficient permissions to edit the links for this site.') ); 19 19 20 20 if ( !empty($_POST['deletebookmarks']) ) -
trunk/wp-admin/ms-edit.php
r14277 r14313 83 83 if ( false === $blog_details ) { 84 84 if ( is_numeric( $dashboard_blog ) ) 85 wp_die( __( ' Dashboard blog_id must be a blog that already exists' ) );85 wp_die( __( 'A dashboard site referenced by ID must already exist' ) ); 86 86 if ( is_subdomain_install() ) { 87 87 $domain = $dashboard_blog . '.' . $current_site->domain; … … 99 99 } 100 100 if ( is_wp_error( $dashboard_blog_id ) ) 101 wp_die( __( 'Problem creating dashboard blog: ' ) . $dashboard_blog_id->get_error_message() );101 wp_die( __( 'Problem creating dashboard site: ' ) . $dashboard_blog_id->get_error_message() ); 102 102 if ( $_POST['dashboard_blog_orig'] != $_POST['dashboard_blog'] ) { 103 103 $users = get_users_of_blog( get_site_option( 'dashboard_blog' ) ); -
trunk/wp-admin/plugin-install.php
r14139 r14313 11 11 12 12 if ( ! current_user_can('install_plugins') ) 13 wp_die(__('You do not have sufficient permissions to install plugins on this blog.'));13 wp_die(__('You do not have sufficient permissions to install plugins on this site.')); 14 14 15 15 include(ABSPATH . 'wp-admin/includes/plugin-install.php'); -
trunk/wp-admin/plugins.php
r14159 r14313 46 46 case 'activate': 47 47 if ( ! current_user_can('activate_plugins') ) 48 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));48 wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); 49 49 50 50 check_admin_referer('activate-plugin_' . $plugin); … … 73 73 case 'network-activate-selected': 74 74 if ( ! current_user_can('activate_plugins') ) 75 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));75 wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); 76 76 77 77 check_admin_referer('bulk-manage-plugins'); … … 127 127 case 'error_scrape': 128 128 if ( ! current_user_can('activate_plugins') ) 129 wp_die(__('You do not have sufficient permissions to activate plugins for this blog.'));129 wp_die(__('You do not have sufficient permissions to activate plugins for this site.')); 130 130 131 131 check_admin_referer('plugin-activation-error_' . $plugin); … … 153 153 case 'deactivate': 154 154 if ( ! current_user_can('activate_plugins') ) 155 wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));155 wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.')); 156 156 157 157 check_admin_referer('deactivate-plugin_' . $plugin); … … 166 166 case 'deactivate-selected': 167 167 if ( ! current_user_can('activate_plugins') ) 168 wp_die(__('You do not have sufficient permissions to deactivate plugins for this blog.'));168 wp_die(__('You do not have sufficient permissions to deactivate plugins for this site.')); 169 169 170 170 check_admin_referer('bulk-manage-plugins'); … … 189 189 case 'delete-selected': 190 190 if ( ! current_user_can('delete_plugins') ) 191 wp_die(__('You do not have sufficient permissions to delete plugins for this blog.'));191 wp_die(__('You do not have sufficient permissions to delete plugins for this site.')); 192 192 193 193 check_admin_referer('bulk-manage-plugins'); -
trunk/wp-admin/theme-editor.php
r14139 r14313 11 11 12 12 if ( !current_user_can('edit_themes') ) 13 wp_die('<p>'.__('You do not have sufficient permissions to edit templates for this blog.').'</p>');13 wp_die('<p>'.__('You do not have sufficient permissions to edit templates for this site.').'</p>'); 14 14 15 15 $title = __("Edit Themes"); -
trunk/wp-admin/theme-install.php
r14287 r14313 11 11 12 12 if ( ! current_user_can('install_themes') ) 13 wp_die(__('You do not have sufficient permissions to install themes on this blog.'));13 wp_die(__('You do not have sufficient permissions to install themes on this site.')); 14 14 15 15 include(ABSPATH . 'wp-admin/includes/theme-install.php'); -
trunk/wp-admin/update-core.php
r14166 r14313 11 11 12 12 if ( ! current_user_can('update_plugins') ) 13 wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));13 wp_die(__('You do not have sufficient permissions to update plugins for this site.')); 14 14 15 15 function list_core_update( $update ) { -
trunk/wp-admin/update.php
r14139 r14313 19 19 if ( 'update-selected' == $action ) { 20 20 if ( ! current_user_can( 'update_plugins' ) ) 21 wp_die( __( 'You do not have sufficient permissions to update plugins for this blog.' ) );21 wp_die( __( 'You do not have sufficient permissions to update plugins for this site.' ) ); 22 22 23 23 check_admin_referer( 'bulk-update-plugins' ); … … 46 46 } elseif ( 'upgrade-plugin' == $action ) { 47 47 if ( ! current_user_can('update_plugins') ) 48 wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));48 wp_die(__('You do not have sufficient permissions to update plugins for this site.')); 49 49 50 50 check_admin_referer('upgrade-plugin_' . $plugin); … … 65 65 } elseif ('activate-plugin' == $action ) { 66 66 if ( ! current_user_can('update_plugins') ) 67 wp_die(__('You do not have sufficient permissions to update plugins for this blog.'));67 wp_die(__('You do not have sufficient permissions to update plugins for this site.')); 68 68 69 69 check_admin_referer('activate-plugin_' . $plugin); … … 93 93 94 94 if ( ! current_user_can('install_plugins') ) 95 wp_die(__('You do not have sufficient permissions to install plugins for this blog.'));95 wp_die(__('You do not have sufficient permissions to install plugins for this site.')); 96 96 97 97 include_once ABSPATH . 'wp-admin/includes/plugin-install.php'; //for plugins_api.. … … 121 121 122 122 if ( ! current_user_can('install_plugins') ) 123 wp_die(__('You do not have sufficient permissions to install plugins for this blog.'));123 wp_die(__('You do not have sufficient permissions to install plugins for this site.')); 124 124 125 125 check_admin_referer('plugin-upload'); … … 145 145 146 146 if ( ! current_user_can('update_themes') ) 147 wp_die(__('You do not have sufficient permissions to update themes for this blog.'));147 wp_die(__('You do not have sufficient permissions to update themes for this site.')); 148 148 149 149 check_admin_referer('upgrade-theme_' . $theme); … … 165 165 } elseif ( 'update-selected-themes' == $action ) { 166 166 if ( ! current_user_can( 'update_themes' ) ) 167 wp_die( __( 'You do not have sufficient permissions to update themes for this blog.' ) );167 wp_die( __( 'You do not have sufficient permissions to update themes for this site.' ) ); 168 168 169 169 check_admin_referer( 'bulk-update-themes' ); … … 192 192 193 193 if ( ! current_user_can('install_themes') ) 194 wp_die(__('You do not have sufficient permissions to install themes for this blog.'));194 wp_die(__('You do not have sufficient permissions to install themes for this site.')); 195 195 196 196 include_once ABSPATH . 'wp-admin/includes/theme-install.php'; //for themes_api.. … … 222 222 223 223 if ( ! current_user_can('install_themes') ) 224 wp_die(__('You do not have sufficient permissions to install themes for this blog.'));224 wp_die(__('You do not have sufficient permissions to install themes for this site.')); 225 225 226 226 check_admin_referer('theme-upload'); -
trunk/wp-includes/load.php
r14190 r14313 393 393 if ( is_multisite() ) { 394 394 if ( ! is_blog_installed() && ! defined( 'WP_INSTALLING' ) ) 395 wp_die( __( 'The blogyou have requested is not installed properly. Please contact the system administrator.' ) );395 wp_die( __( 'The site you have requested is not installed properly. Please contact the system administrator.' ) ); 396 396 } elseif ( ! is_blog_installed() && false === strpos( $_SERVER['PHP_SELF'], 'install.php' ) && !defined( 'WP_INSTALLING' ) ) { 397 397 if ( defined( 'WP_SITEURL' ) ) -
trunk/wp-includes/ms-load.php
r14199 r14313 69 69 } else { 70 70 header( 'HTTP/1.1 410 Gone' ); 71 wp_die( /*WP_I18N_ARCHIVED*/'This bloghas been archived or suspended.'/*/WP_I18N_ARCHIVED*/ );71 wp_die( /*WP_I18N_ARCHIVED*/'This site has been archived or suspended.'/*/WP_I18N_ARCHIVED*/ ); 72 72 } 73 73 } … … 182 182 // @todo Update or remove WPMU codex link. 183 183 if ( 1 == count( $sites ) ) 184 wp_die( sprintf( /*WP_I18N_BLOG_DOESNT_EXIST*/'That blogdoes not exist. Please try <a href="%s">%s</a>.'/*/WP_I18N_BLOG_DOESNT_EXIST*/, $sites[0]->domain . $sites[0]->path ) );184 wp_die( sprintf( /*WP_I18N_BLOG_DOESNT_EXIST*/'That site does not exist. Please try <a href="%s">%s</a>.'/*/WP_I18N_BLOG_DOESNT_EXIST*/, $sites[0]->domain . $sites[0]->path ) ); 185 185 else 186 186 wp_die( /*WP_I18N_NO_SITE_DEFINED*/'No site defined on this host. If you are the owner of this site, please check <a href="http://codex.wordpress.org/Debugging_WPMU">Debugging WPMU</a> for help.'/*/WP_I18N_NO_SITE_DEFINED*/ ); -
trunk/wp-includes/ms-settings.php
r14070 r14313 116 116 } else { 117 117 $msg = ! $wpdb->get_var( "SHOW TABLES LIKE '$wpdb->site'" ) ? ' ' . /*WP_I18N_TABLES_MISSING*/'Database tables are missing.'/*/WP_I18N_TABLES_MISSING*/ : ''; 118 wp_die( /*WP_I18N_NO_BLOG*/'No blogby that name on this system.'/*/WP_I18N_NO_BLOG*/ . $msg );118 wp_die( /*WP_I18N_NO_BLOG*/'No site by that name on this system.'/*/WP_I18N_NO_BLOG*/ . $msg ); 119 119 } 120 120 }
Note: See TracChangeset
for help on using the changeset viewer.