WordPress.org

Make WordPress Core

Ticket #13736: 13736.diff

File 13736.diff, 22.6 KB (added by zeo, 5 years ago)

Merging all patches above. Add and corrected missing link to codex.

  • wp-admin/users.php

     
    2424    '<p>' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '</p>' . 
    2525    '<p>' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '</p>' . 
    2626    '<p><strong>' . __('For more information:') . '</strong></p>' . 
    27     '<p>' . __('<a href="http://codex.wordpress.org/Users_Authors_and_Users_SubPanel" target="_blank">Documentation on Authors and Users</a>') . '</p>' . 
    28     '<p>' . __('<a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">Roles and Capabilities Descriptions</a>') . '</p>' . 
     27    '<p>' . __('<a href="http://codex.wordpress.org/Users_Users_SubPanel" target="_blank">Documentation on Managing Users</a>') . '</p>' . 
     28    '<p>' . __('<a href="http://codex.wordpress.org/Roles_and_Capabilities" target="_blank">Documentation on Roles and Capabilities</a>') . '</p>' . 
    2929    '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    3030); 
    3131 
  • wp-admin/includes/template.php

     
    36373637                $contextual_help .= '<div class="metabox-prefs">' . $_wp_contextual_help[$screen->id] . "</div>\n"; 
    36383638        } else { 
    36393639                $contextual_help .= '<div class="metabox-prefs">'; 
    3640                 $default_help = __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>'); 
    3641                 $default_help .= '<br />'; 
    3642                 $default_help .= __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>'); 
     3640                $default_help = '<p>' . __('<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>') . '</p>'; 
     3641                $default_help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
    36433642                $contextual_help .= apply_filters('default_contextual_help', $default_help); 
    36443643                $contextual_help .= "</div>\n"; 
    36453644        } 
  • wp-admin/edit-tags.php

     
    191191                '<p><strong>' . __('For more information:') . '</strong></p>'; 
    192192 
    193193        if ( 'category' == $taxonomy ) 
    194                 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Manage_Categories_SubPanel" target="_blank">Categories Documentation</a>') . '</p>'; 
     194                $help .= '<p>' . __('<a href="http://codex.wordpress.org/Posts_Categories_SubPanel" target="_blank">Documentation on Managing Categories</a>') . '</p>'; 
    195195        else 
    196                 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Post_Tags_SubPanel" target="_blank">Tags Documentation</a>') . '</p>'; 
     196                $help .= '<p>' . __('<a href="http://codex.wordpress.org/Posts_Post_Tags_SubPanel" target="_blank">Documentation on Managing Post Tags</a>') . '</p>'; 
    197197 
    198198        $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
    199199 
  • wp-admin/theme-editor.php

     
    2222$help .= '<p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p>'; 
    2323$help .= '<p>' . __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="http://codex.wordpress.org/Child_Themes" target="_blank">child theme</a> instead.') . '</p>'; 
    2424$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
     25$help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Editor_SubPanel" target="_blank">Documentation on Editing Themes</a>') . '</p>'; 
    2526$help .= '<p>' . __('<a href="http://codex.wordpress.org/Theme_Development" target="_blank">Documentation on Theme Development</a>') . '</p>'; 
    2627$help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes" target="_blank">Documentation on Using Themes</a>') . '</p>'; 
    2728$help .= '<p>' . __('<a href="http://codex.wordpress.org/Editing_Files" target="_blank">Documentation on Editing Files</a>') . '</p>'; 
  • wp-admin/custom-header.php

     
    9393                '<p>' . __( 'If you want to discard your custom header and go back to the default included in your theme, click on the buttons to remove the custom image and restore the original header image.' ) . '</p>' . 
    9494                '<p>' . __( 'Some themes come with additional header images bundled. If you see multiple images displayed, select the one you&#8217;d like and click the Save Changes button.' ) . '</p>' . 
    9595                '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    96                 '<p>' . __( '<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>' ) . '</p>' . 
     96                '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Header_SubPanel" target="_blank">Documentation on Custom Header</a>' ) . '</p>' . 
    9797                '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' ); 
    9898        } 
    9999 
  • wp-admin/ms-sites.php

     
    2323                '<p>' . __('This extensive list of options has five modules: Site Info, Site Options, allowing Site Themes for this given site, changing user roles and passwords for that site, adding a new user, and Miscellaneous Site Actions (upload size limits).') . '</p>' . 
    2424                '<p>' . __('Note that some fields in Site Options are grayed out and say Serialized Data. These are stored values in the database which you cannot change from here.') . '</p>' . 
    2525                '<p><strong>' . __('For more information:') . '</strong></p>' . 
    26                 '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Sites_Edit_Site" target="_blank">Documentation on Editing Sites</a>') . '</p>' . 
     26                '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Sites_SubPanel#Editing_Individual_Sites" target="_blank">Documentation on Editing Sites</a>') . '</p>' . 
    2727                '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    2828        ); 
    2929} else { 
  • wp-admin/index.php

     
    3838        '<p>' . __('<strong>Other WordPress News</strong> - Shows the feed from <a href="http://planet.wordpress.org" target="_blank">WordPress Planet</a>. You can configure it to show a different feed of your choosing.') . '</p>' . 
    3939        '<p>' . __('<strong>Plugins</strong> - Features the most popular, newest, and recently updated plugins from the WordPress.org Plugin Directory.') . '</p>' . 
    4040        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    41         '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_SubPanel" target="_blank">Dashboard Documentation</a>') . '</p>' . 
     41        '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_Dashboard_SubPanel" target="_blank">Documentation on Dashboard</a>') . '</p>' . 
    4242        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    4343); 
    4444 
  • wp-admin/my-sites.php

     
    4242        '<p>' . __('This screen shows an individual user all of their sites in this network, and also allows that user to set a primary site. He or she can use the links under each site to visit either the frontend or the dashboard for that site.') . '</p>' . 
    4343        '<p>' . __('Up until WordPress version 3.0, what is now called a Multi-site Network had to be installed separately as WordPress MU (multi-user).') . '</p>' . 
    4444        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    45         '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_My_Sites_SubPanel" target="_blank">My Sites Documentation</a>') . '</p>' . 
     45        '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_My_Sites_SubPanel" target="_blank">Documentation on My Sites</a>') . '</p>' . 
    4646        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    4747); 
    4848 
  • wp-admin/edit-link-form.php

     
    4242        '<p>' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don&#8217;t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '</p>' . 
    4343        '<p>' . __( 'XFN stands for <a href="http://gmpg.org/xfn/" target="_blank">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '</p>' . 
    4444        '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    45         '<p>' . __( '<a href="http://codex.wordpress.org/Links_Add_New_SubPanel" target="_blank">Documentation on Creating Links</a>' ) . '</p>' . 
     45        '<p>' . __( '<a href="http://codex.wordpress.org/Links_Add_New_SubPanel" target="_blank">Documentation on Adding New Links</a>' ) . '</p>' . 
     46        '<p>' . __( '<a href="http://codex.wordpress.org/Links_Links_SubPanel#Link_Editing" target="_blank">Documentation on Editing Links</a>' ) . '</p>' . 
    4647        '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' 
    4748); 
    4849 
  • wp-admin/edit-form-advanced.php

     
    177177        '<p>' . __('<strong>Discussion</strong> - You can turn comments and pings on or off, and if there are comments on the post, you can see them here and moderate them.') . '</p>' . 
    178178        '<p>' . sprintf(__('You can also create posts with the <a href="%s">Press This bookmarklet</a>.'), 'options-writing.php') . '</p>' . 
    179179        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    180         '<p>' . __('<a href="http://codex.wordpress.org/Writing_Posts" target="_blank">Documentation on Writing Posts</a>') . '</p>' . 
     180        '<p>' . __('<a href="http://codex.wordpress.org/Posts_Add_New_SubPanel" target="_blank">Documentation on Adding New Posts</a>') . '</p>' . 
     181        '<p>' . __('<a href="http://codex.wordpress.org/Posts_Posts_SubPanel#Editing_Individual_Posts" target="_blank">Documentation on Editing Posts</a>') . '</p>' . 
    181182        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    182183        ); 
    183184} elseif ( 'page' == $post_type ) { 
     
    187188        '<p>' . __('<strong>Template</strong> - Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you&#8217;ll see them in this dropdown menu.') . '</p>' . 
    188189        '<p>' . __('<strong>Order</strong> - Pages are usually ordered alphabetically, but you can choose your own order by entering a number (1 for first, etc.) in this field.') . '</p>' . 
    189190        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    190         '<p>' . __('<a href="http://codex.wordpress.org/Pages_Add_New_SubPanel" target="_blank">Page Creation Documentation</a>') . '</p>' . 
     191        '<p>' . __('<a href="http://codex.wordpress.org/Pages_Add_New_SubPanel" target="_blank">Documentation on Adding New Pages</a>') . '</p>' . 
     192        '<p>' . __('<a href="http://codex.wordpress.org/Pages_Pages_SubPanel#Editing_Individual_Pages" target="_blank">Documentation on Editing Pages</a>') . '</p>' . 
    191193        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    192194        ); 
    193195} 
  • wp-admin/edit.php

     
     
    174174        '</ul>' . 
    175175        '<p>' . __('You can also edit multiple posts at once. Select the posts you want to edit using the checkboxes, select Edit from the Bulk Actions menu and click Apply. You will be able to change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.') . '</p>' . 
    176176        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    177         '<p>' . __('<a href="http://codex.wordpress.org/Posts_Edit_SubPanel" target="_blank">Edit Posts Documentation</a>') . '</p>' . 
     177        '<p>' . __('<a href="http://codex.wordpress.org/Posts_Posts_SubPanel" target="_blank">Documentation on Managing Posts</a>') . '</p>' . 
    178178        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    179179        ); 
    180180} elseif ( 'page' == $post_type ) { 
     
    183183        '<p>' . __('Managing Pages is very similar to managing Posts, and the screens can be customized in the same way.') . '</p>' . 
    184184        '<p>' . __('You can also perform the same types of actions, including narrowing the list by using the filters, acting on a Page using the action links that appear when you hover over a row, or using the Bulk Actions menu to edit the metadata for multiple Pages at once.') . '</p>' . 
    185185        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    186         '<p>' . __('<a href="http://codex.wordpress.org/Pages_Edit_SubPanel" target="_blank">Page Management Documentation</a>') . '</p>' . 
     186        '<p>' . __('<a href="http://codex.wordpress.org/Pages_Pages_SubPanel" target="_blank">Documentation on Managing Pages</a>') . '</p>' . 
    187187        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    188188        ); 
    189189} 
  • wp-admin/ms-admin.php

     
    2424        '<li>' . __('Blogs are now called Sites; Site is now called Network.') . '</li></ul>' . 
    2525        '<p>' . __('This screen provides the network administrator with links to the screens for Sites and Users to either create a new site or user, or to search existing users and sites. Those screens are also accessible through the left-hand navigation in the Super Admin section.') . '</p>' . 
    2626        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    27         '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Super_Admin_Menu" target="_blank">Documentation on Super Admin Menu</a>') . '</p>' . 
     27        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Menu" target="_blank">Documentation on Super Admin</a>') . '</p>' . 
     28        '<p>' . __('<a href="http://codex.wordpress.org/Super_Admin_Admin_SubPanel" target="_blank">Documentation on Network Admin</a>') . '</p>' . 
    2829        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    2930); 
    3031 
  • wp-admin/link-manager.php

     
    4646 
    4747add_contextual_help( $current_screen, 
    4848        '<p>' . sprintf(__('You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in the WordPress community are included as examples.'), 'widgets.php') . '</p>' . 
    49     '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' . 
    50     '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' . 
    51     '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>' . 
     49        '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' . 
     50        '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' . 
     51        '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet.') . '</p>' . 
    5252        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    53         '<p>' . __('<a href="http://codex.wordpress.org/Links_Edit_SubPanel" target="_blank">Link Management Documentation</a>') . '</p>' . 
     53        '<p>' . __('<a href="http://codex.wordpress.org/Links_Links_SubPanel" target="_blank">Documentation on Managing Links</a>') . '</p>' . 
    5454        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    5555); 
    5656 
  • wp-admin/theme-install.php

     
    5757$help .= '<p>' . __('You can Search for themes by keyword, author, or tag, or can get more specific and search by criteria listed in the feature filter. Alternately, you can browse the themes that are Featured, Newest, or Recently Updated. When you find a theme you like, you can preview it or install it.') . '</p>'; 
    5858$help .= '<p>' . __('You can Upload a theme manually if you have already downloaded its ZIP archive onto your computer (make sure it is from a trusted and original source). You can also do it the old-fashioned way and copy a downloaded theme&#8217;s folder via FTP into your <code>/wp-content/themes</code> directory.') . '</p>'; 
    5959$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
    60 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes#Adding_New_Themes" target="_blank">Documentation on Adding New Themes</a>') . '</p>'; 
     60$help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Themes_SubPanel" target="_blank">Documentation on Themes</a>') . '</p>'; 
     61$help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Themes_SubPanel#Install_Themes" target="_blank">Documentation on Installing Themes</a>') . '</p>'; 
    6162$help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
    6263add_contextual_help($current_screen, $help); 
    6364 
  • wp-admin/update-core.php

     
    384384add_contextual_help($current_screen, 
    385385        '<p>' . __('This screen lets you update to the latest version of WordPress as well as update your themes and plugins from the WordPress.org repository. When updates are available, the number of available updates will appear in a bubble on the left hand menu as a notification. It is very important to keep your WordPress installation up to date for security reasons, so when you see a number appear, make sure you take the time to update, which is an easy process.') . '</p>' . 
    386386        '<p>' . __('Updating your WordPress installation is a simple one-click procedure; just click on the Update button when it says a new version is available.') . '</p>' . 
    387         '<p>' . __('To upgrade themes or plugins from this screen, use the checkboxes to make your selection and click on the appropriate Update button. Check the box at the top of the Themes or Plugins section to select all and update them all at once.') . '</p>' 
     387        '<p>' . __('To upgrade themes or plugins from this screen, use the checkboxes to make your selection and click on the appropriate Update button. Check the box at the top of the Themes or Plugins section to select all and update them all at once.') . '</p>' . 
     388        '<p><strong>' . __('For more information:') . '</strong></p>' . 
     389        '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_Updates_SubPanel" target="_blank">Documentation on Updating WordPress</a>') . '</p>' . 
     390        '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 
    388391); 
    389392 
    390393if ( 'upgrade-core' == $action ) { 
  • wp-admin/themes.php

     
    3939        $help .= '<p>' . sprintf(__('If you would like to see more themes to choose from, click on the &#8220;Install Themes&#8221; tab and you will be able to browse or search for additional themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are licensed under the GNU General Public License, version 2, just like WordPress. Oh, and they&#8217;re free!'), 'http://wordpress.org/extend/themes/') . '</p>'; 
    4040 
    4141$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
    42 $help .= '<p>' . __('<a href="http://codex.wordpress.org/Using_Themes" target="_blank">Documentation on Using Themes</a>') . '</p>'; 
     42$help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Themes_SubPanel" target="_blank">Documentation on Themes</a>') . '</p>'; 
     43$help .= '<p>' . __('<a href="http://codex.wordpress.org/Appearance_Themes_SubPanel#Manage_Themes" target="_blank">Documentation on Managing Themes</a>') . '</p>'; 
    4344$help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; 
    4445add_contextual_help($current_screen, $help); 
    4546 
  • wp-admin/custom-background.php

     
    8585                '<p>' . __( 'You can also choose a background color. If you know the hexadecimal code for the color you want, enter it in the Color field. If not, click on the Select a Color link, and a color picker will allow you to choose the exact shade you want.' ) . '</p>' . 
    8686                '<p>' . __( 'Don&#8217;t forget to click on the Save Changes button when you are finished.' ) . '</p>' . 
    8787                '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . 
    88                 '<p>' . __( '<a href="http://codex.wordpress.org/" target="_blank">Documentation</a>' ) . '</p>' . 
     88                '<p>' . __( '<a href="http://codex.wordpress.org/Appearance_Background_SubPanel" target="_blank">Documentation on Custom Background</a>' ) . '</p>' . 
    8989                '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' ); 
    9090                wp_enqueue_script('custom-background'); 
    9191                wp_enqueue_style('farbtastic');