WordPress.org

Make WordPress Core

Changeset 15000


Ignore:
Timestamp:
05/27/10 19:05:59 (4 years ago)
Author:
nacin
Message:

Settings help. props duck_, see #13467.

Location:
trunk/wp-admin
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-discussion.php

    r14650 r15000  
    1515$title = __('Discussion Settings'); 
    1616$parent_file = 'options-general.php'; 
     17 
     18add_contextual_help($current_screen,  
     19    '<p>' . __('This screen provides many options for controlling the management and display of comments and links to your posts/pages. So many, in fact, they won&#8217;t all fit here! :) Use the documentation link below to get information on what each discussion setting does.') . '</p>' . 
     20    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     21    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     22    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Discussion_SubPanel">Discussion Settings Documentation</a>') . '</p>' . 
     23    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     24); 
    1725 
    1826include('./admin-header.php'); 
  • trunk/wp-admin/options-general.php

    r14989 r15000  
    5151add_filter('admin_head', 'add_js'); 
    5252 
    53 add_contextual_help($current_screen, __('<a href="http://codex.wordpress.org/Settings_General_SubPanel">General Settings Documentation</a>')); 
     53add_contextual_help($current_screen,  
     54    '<p>' . __('The fields on this screen determine some of the basics of your site setup.') . '</p>' . 
     55    '<p>' . __('Most themes display the site title at the top of every page, in the title bar of the browser, and as the identifying name for syndicated feeds, unless not allowed by your theme. The tagline is also displayed by many themes.') . '</p>' . 
     56    '<p>' . __('The WordPress URL and the Site URL can be the same (example.com) or different; for example, having the WordPress core files (example.com/wordpress) in a subdirectory instead of the root directory.') . '</p>' . 
     57    '<p>' . __('If you want site visitors to be able to register themselves, as opposed to being registered by the site administrator, check the membership box. A default user role can be set for all new users, whether self-registered or registered by the site administrator.') . '</p>' . 
     58    '<p>' . __('UTC means Coordinated Universal Time.') . '</p>' . 
     59    '<p>' . __('Remember to click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     60    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     61    '<p>' . __('<a href="http://codex.wordpress.org/Settings_General_SubPanel">General Settings Documentation</a>') . '</p>' . 
     62    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     63); 
    5464 
    5565include('./admin-header.php'); 
  • trunk/wp-admin/options-media.php

    r14139 r15000  
    1515$title = __('Media Settings'); 
    1616$parent_file = 'options-general.php'; 
     17 
     18add_contextual_help($current_screen,  
     19    '<p>' . __('You can set maximum sizes for images in the Add An Image popup window which appears when you insert images into your written content. These sizes can set limits for three of your four options; you can also insert an image as Full Size.') . '</p>' . 
     20    '<p>' . __('The Embed option allows for any URL linking to a video, image, or other media content to automatically become embedded in your post or page. Just type that URL on its own line when you&#8217;re creating your content.') . '</p>' . 
     21    '<p>' . __('Uploading Options gives you folder and path choices for storing your files in your installation&#8217;s directory.') . '</p>' . 
     22    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     23    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     24    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Media_SubPanel">Media Settings Documentation</a>') . '</p>' . 
     25    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     26); 
    1727 
    1828include('./admin-header.php'); 
  • trunk/wp-admin/options-permalink.php

    r14733 r15000  
    1515$title = __('Permalink Settings'); 
    1616$parent_file = 'options-general.php'; 
     17 
     18add_contextual_help($current_screen,  
     19    '<p>' . __('This screen provides some common options for your default permalinks URL structure.') . '</p>' . 
     20    '<p>' . __('If you pick an option other than Default, your general URL path with structure tags, terms surrounded by %, will also appear in the custom structure field and your path can be further modified there.') . '</p>' . 
     21    '<p>' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes %category% or %tag%.') . '</p>' . 
     22    '<p>' . __('Note that permalinks beginning with structure tags calling Category, Tag, Author, or Postname require more advanced server resources. Double-check your hosting details to make sure those are in place or start your permalinks with other structure tags.') . '</p>' . 
     23    '<p>' . __('The Optional fields lets you have add a base name that will appear in archive URLs intead of &#8220;category&#8221; or &#8220;tag.&#8221; For example, the page listing all posts in the category &#8220;uncategorized&#8221; could be /topics/uncategorized instead of category/uncategorized.') . '</p>' . 
     24    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     25    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     26    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Permalinks_SubPanel">Permalinks Settings Documentation</a>') . '</p>' . 
     27    '<p>' . __('<a href="http://codex.wordpress.org/Using_Permalinks">Using Permalinks Documentation</a>') . '</p>' . 
     28    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     29); 
    1730 
    1831/** 
  • trunk/wp-admin/options-privacy.php

    r13750 r15000  
    1515$title = __('Privacy Settings'); 
    1616$parent_file = 'options-general.php'; 
     17 
     18add_contextual_help($current_screen,  
     19    '<p>' . __('You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the second option here. Note that your privacy is not complete; your site is still visible on the web.') . '</p>' . 
     20    '<p>' . __('When this setting is in effect a reminder is shown in the header of these administration screens that says, "Search Engines Blocked," to remind you that your site is not being crawled.') . '</p>' . 
     21    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     22    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     23    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Privacy_SubPanel">Privacy Settings Documentation</a>') . '</p>' . 
     24    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     25); 
    1726 
    1827include('./admin-header.php'); 
  • trunk/wp-admin/options-reading.php

    r14362 r15000  
    1515$title = __( 'Reading Settings' ); 
    1616$parent_file = 'options-general.php'; 
     17 
     18add_contextual_help($current_screen,  
     19    '<p>' . __('This screen contains the settings that affect the display of your content.') . '</p>' . 
     20    '<p>' . __('You can choose what&#8217;s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two <a href="post-new.php?post_type=page">Pages</a>. One will become the front page, and the other will be where your posts are displayed.') . '</p>' . 
     21    '<p>' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display, whether to show full text or a summary, and the character set encoding.') . '</p>' . 
     22    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     23    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     24    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Reading_SubPanel">Reading Settings Documentation</a>') . '</p>' . 
     25    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     26); 
    1727 
    1828include( './admin-header.php' ); 
  • trunk/wp-admin/options-writing.php

    r14963 r15000  
    1515$title = __('Writing Settings'); 
    1616$parent_file = 'options-general.php'; 
     17 
     18add_contextual_help($current_screen,  
     19    '<p>' . __('You can submit content in several different ways; this screen holds the settings for all of them. The top section controls the editor within these administration screens, while the rest control external publishing methods. For more information on any of these methods, use the documentation links below.') . '</p>' . 
     20    '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>' . 
     21    '<p><strong>' . __('For more information:') . '</strong></p>' . 
     22    '<p>' . __('<a href="http://codex.wordpress.org/Settings_Writing_SubPanel">Writing Settings Documentation</a>') . '</p>' . 
     23    '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 
     24); 
    1725 
    1826include('./admin-header.php'); 
Note: See TracChangeset for help on using the changeset viewer.