Make WordPress Core

Ticket #26769: 26769.4.patch

File 26769.4.patch, 4.7 KB (added by kirasong, 11 years ago)

Includes help text and inline docs changes WRT 'Profile'

  • src/wp-admin/about.php

    diff --git src/wp-admin/about.php src/wp-admin/about.php
    index f7ba999..853f4fd 100644
    if ( count( $_wp_admin_css_colors ) > 1 && has_action( 'admin_color_scheme_picke 
    9393                                /** This action is documented in wp-admin/user-edit.php */
    9494                                do_action( 'admin_color_scheme_picker' );
    9595                                ?>
    96                         <p><?php printf( __( 'To change your color scheme later, just <a href="%1$s">visit your profile</a>.' ), get_edit_profile_url() ); ?></p>
     96                        <p><?php printf( __( 'To change your color scheme later, just <a href="%1$s">update your profile</a>.' ), get_edit_profile_url() ); ?></p>
    9797                </div>
    9898        </div>
    9999</div>
  • src/wp-admin/menu.php

    diff --git src/wp-admin/menu.php src/wp-admin/menu.php
    index 5a53cff..b8c673f 100644
    if ( current_user_can('list_users') ) { 
    192192        else
    193193                $submenu['users.php'][10] = array(_x('Add New', 'user'), 'promote_users', 'user-new.php');
    194194
    195         $submenu['users.php'][15] = array(__('Your Profile'), 'read', 'profile.php');
     195        $submenu['users.php'][15] = array(__('Profile'), 'read', 'profile.php');
    196196} else {
    197197        $_wp_real_parent_file['users.php'] = 'profile.php';
    198         $submenu['profile.php'][5] = array(__('Your Profile'), 'read', 'profile.php');
     198        $submenu['profile.php'][5] = array(__('Profile'), 'read', 'profile.php');
    199199        if ( current_user_can('create_users') )
    200200                $submenu['profile.php'][10] = array(__('Add New User'), 'create_users', 'user-new.php');
    201201        else
  • src/wp-admin/user-edit.php

    diff --git src/wp-admin/user-edit.php src/wp-admin/user-edit.php
    index e35c879..3937664 100644
    if ( !current_user_can('edit_user', $user_id) ) 
    125125
    126126if ( IS_PROFILE_PAGE ) {
    127127        /**
    128          * Fires before the page loads on the 'Your Profile' editing screen.
     128         * Fires before the page loads on the 'Profile' editing screen.
    129129         *
    130130         * The action only fires if the current user is editing their own profile.
    131131         *
    do_action( 'personal_options', $profileuser ); 
    293293<?php
    294294        if ( IS_PROFILE_PAGE ) {
    295295                /**
    296                  * Fires after the 'Personal Options' settings table on the 'Your Profile' editing screen.
     296                 * Fires after the 'Personal Options' settings table on the 'Profile' editing screen.
    297297                 *
    298298                 * The action only fires if the current user is editing their own profile.
    299299                 *
    if ( $show_password_fields ) : 
    479479<?php
    480480        if ( IS_PROFILE_PAGE ) {
    481481                /**
    482                  * Fires after the 'About Yourself' settings table on the 'Your Profile' editing screen.
     482                 * Fires after the 'About Yourself' settings table on the 'Profile' editing screen.
    483483                 *
    484484                 * The action only fires if the current user is editing their own profile.
    485485                 *
  • src/wp-includes/js/tinymce/wp-mce-help.php

    diff --git src/wp-includes/js/tinymce/wp-mce-help.php src/wp-includes/js/tinymce/wp-mce-help.php
    index 1c58540..fd3ce76 100644
    header('Content-Type: text/html; charset=' . get_bloginfo('charset')); 
    4747                -webkit-transition: none;
    4848                transition: none;
    4949        }
    50        
     50
    5151        #tabs-wrap #tabs > a {
    5252                float: left;
    5353                font-size: 14px;
    if ( tinymce.isMac ) 
    167167        <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>
    168168        <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>
    169169        <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>
    170         <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>
     170        <p><?php _e('If you do not like the way the rich editor works, you may turn it off from Profile submenu, under Users in the admin menu.'); ?></p>
    171171</div>
    172172
    173173<div id="content2" class="hidden">