Ticket #13433: 13433.2.diff
| File 13433.2.diff, 10.0 KB (added by , 16 years ago) |
|---|
-
wp-admin/includes/misc.php
594 594 */ 595 595 function admin_color_scheme_picker() { 596 596 global $_wp_admin_css_colors, $user_id; ?> 597 <fieldset><legend class="screen-reader-text"><span><?php _e(' AdminColor Scheme')?></span></legend>597 <fieldset><legend class="screen-reader-text"><span><?php _e('Dashboard Color Scheme')?></span></legend> 598 598 <?php 599 599 $current_color = get_user_option('admin_color', $user_id); 600 600 if ( empty($current_color) ) -
wp-admin/options-general.php
103 103 <tr valign="top"> 104 104 <th scope="row"><label for="admin_email"><?php _e('E-mail address') ?> </label></th> 105 105 <td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" /> 106 <span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>106 <span class="description"><?php _e('This address is used for administrative purposes, like new user notification.') ?></span></td> 107 107 </tr> 108 108 <tr valign="top"> 109 109 <th scope="row"><?php _e('Membership') ?></th> … … 122 122 <tr valign="top"> 123 123 <th scope="row"><label for="new_admin_email"><?php _e('E-mail address') ?> </label></th> 124 124 <td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" /> 125 <span class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span>125 <span class="description"><?php _e('This address is used for administrative purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span> 126 126 <?php 127 127 $new_admin_email = get_option( 'new_admin_email' ); 128 128 if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> 129 129 <div class="updated inline"> 130 <p><?php printf( __('There is a pending change of the admin e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_admin_email, esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p>130 <p><?php printf( __('There is a pending change of the administrator e-mail to <code>%1$s</code>. <a href="%2$s">Cancel</a>'), $new_admin_email, esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) ); ?></p> 131 131 </div> 132 132 <?php endif; ?> 133 133 </td> -
wp-admin/themes.php
188 188 if ( current_user_can('edit_themes') && count( $broken_themes ) ) { 189 189 ?> 190 190 191 <h2><?php _e('Broken Themes'); ?> <?php if ( is_multisite() ) _e( '(S ite adminonly)' ); ?></h2>191 <h2><?php _e('Broken Themes'); ?> <?php if ( is_multisite() ) _e( '(Super administrator only)' ); ?></h2> 192 192 <p><?php _e('The following themes are installed but incomplete. Themes must have a stylesheet and a template.'); ?></p> 193 193 194 194 <table id="broken-themes"> -
wp-admin/user-edit.php
36 36 else 37 37 $parent_file = 'profile.php'; 38 38 39 // contextual help - choose Help on the top right of admin panel to preview this.39 // contextual help - choose Help on the top right of administration panel to preview this. 40 40 add_contextual_help($current_screen, 41 41 '<p>' . __('Your profile contains information about you (your “account”) as well as some personal options related to using WordPress.') . '</p>' . 42 42 '<p>' . __('You can change your password, turn on keyboard shortcuts, change the color scheme of your WordPress administration screens, and turn off the WYSIWYG (Visual) editor, among other things.') . '</p>' . … … 67 67 ?> 68 68 <tr> 69 69 <th scope="row"><?php _e('Use https')?></th> 70 <td><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1', $user->use_ssl); ?> /> <?php _e('Always use https when visiting the admin '); ?></label></td>70 <td><label for="use_ssl"><input name="use_ssl" type="checkbox" id="use_ssl" value="1" <?php checked('1', $user->use_ssl); ?> /> <?php _e('Always use https when visiting the administration area.'); ?></label></td> 71 71 </tr> 72 72 <?php 73 73 } 74 74 75 75 76 // Only allow super admin s on multisite to edit every user.76 // Only allow super administrators on multisite to edit every user. 77 77 if ( is_multisite() && ! current_user_can( 'manage_network_users' ) && $user_id != $current_user->ID && ! apply_filters( 'enable_edit_any_user_configuration', true ) ) 78 78 wp_die( __( 'You do not have permission to edit this user.' ) ); 79 79 … … 162 162 ?> 163 163 164 164 <?php if ( !IS_PROFILE_PAGE && is_super_admin( $profileuser->ID ) && current_user_can( 'manage_network_options' ) ) { ?> 165 <div class="updated"><p><strong><?php _e('Important:'); ?></strong> <?php _e('This user has super admin privileges.'); ?></p></div>165 <div class="updated"><p><strong><?php _e('Important:'); ?></strong> <?php _e('This user has super administrator privileges.'); ?></p></div> 166 166 <?php } ?> 167 167 <?php if ( isset($_GET['updated']) ) : ?> 168 168 <div id="message" class="updated"> … … 201 201 <?php endif; ?> 202 202 <?php if ( count($_wp_admin_css_colors) > 1 && has_action('admin_color_scheme_picker') ) : ?> 203 203 <tr> 204 <th scope="row"><?php _e(' AdminColor Scheme')?></th>204 <th scope="row"><?php _e('Dashboard Color Scheme')?></th> 205 205 <td><?php do_action( 'admin_color_scheme_picker' ); ?></td> 206 206 </tr> 207 207 <?php … … 249 249 ?> 250 250 </select> 251 251 <?php if ( is_multisite() && is_network_admin() && current_user_can( 'manage_network_options' ) && !isset($super_admins) ) { ?> 252 <p><label><input type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( $profileuser->ID ) ); ?> /> <?php _e( 'Grant this user super admin privileges for the Network.'); ?></label></p>252 <p><label><input type="checkbox" id="super_admin" name="super_admin"<?php checked( is_super_admin( $profileuser->ID ) ); ?> /> <?php _e( 'Grant this user super administrator privileges for the Network.'); ?></label></p> 253 253 <?php } ?> 254 254 </td></tr> 255 255 <?php endif; //!IS_PROFILE_PAGE ?> -
wp-app.php
11 11 * @var bool 12 12 */ 13 13 define('APP_REQUEST', true); 14 define('WP_SHOW_ADMIN_BAR' , false);14 define('WP_SHOW_ADMIN_BAR', false); 15 15 16 16 /** Set up WordPress environment */ 17 17 require_once('./wp-load.php'); … … 19 19 /** Atom Publishing Protocol Class */ 20 20 require_once(ABSPATH . WPINC . '/atomlib.php'); 21 21 22 /** Admin Image API for metadata updating */22 /** Administration Image API for metadata updating */ 23 23 require_once(ABSPATH . '/wp-admin/includes/image.php'); 24 24 25 25 $_SERVER['PATH_INFO'] = preg_replace( '/.*\/wp-app\.php/', '', $_SERVER['REQUEST_URI'] ); … … 285 285 286 286 // check to see if AtomPub is enabled 287 287 if ( !get_option( 'enable_app' ) ) 288 $this->forbidden( sprintf( __( 'AtomPub services are disabled on this site. An admin user can enable them at %s' ), admin_url('options-writing.php') ) );288 $this->forbidden( sprintf( __( 'AtomPub services are disabled on this site. An administrator user can enable them at %s' ), admin_url('options-writing.php') ) ); 289 289 290 290 // dispatch 291 291 foreach ( $this->selectors as $regex => $funcs ) { -
wp-includes/js/tinymce/wp-mce-help.php
184 184 <p><?php _e('<em>Rich editing</em>, also called WYSIWYG for What You See Is What You Get, means your text is formatted as you type. The rich editor creates HTML code behind the scenes while you concentrate on writing. Font styles, links and images all appear approximately as they will on the internet.') ?></p> 185 185 <p><?php _e('WordPress includes a rich HTML editor that works well in all major web browsers used today. However editing HTML is not the same as typing text. Each web page has two major components: the structure, which is the actual HTML code and is produced by the editor as you type, and the display, that is applied to it by the currently selected WordPress theme and is defined in style.css. WordPress is producing valid XHTML 1.0 which means that inserting multiple line breaks (BR tags) after a paragraph would not produce white space on the web page. The BR tags will be removed as invalid by the internal HTML correcting functions.') ?></p> 186 186 <p><?php _e('While using the editor, most basic keyboard shortcuts work like in any other text editor. For example: Shift+Enter inserts line break, Ctrl+C = copy, Ctrl+X = cut, Ctrl+Z = undo, Ctrl+Y = redo, Ctrl+A = select all, etc. (on Mac use the Command key instead of Ctrl). See the Hotkeys tab for all available keyboard shortcuts.') ?></p> 187 <p><?php _e('If you do not like the way the rich editor works, you may turn it off from Your Profile submenu, under Users in the admin menu.') ?></p>187 <p><?php _e('If you do not like the way the rich editor works, you may turn it off from Your Profile submenu, under Users in the administration menu.') ?></p> 188 188 </div> 189 189 190 190 <div id="content2" class="hidden"> -
xmlrpc.php
11 11 * @var bool 12 12 */ 13 13 define('XMLRPC_REQUEST', true); 14 define('WP_SHOW_ADMIN_BAR' , false);14 define('WP_SHOW_ADMIN_BAR', false); 15 15 16 16 // Some browser-embedded clients send cookies. We don't want them. 17 17 $_COOKIE = array();
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)