Make WordPress Core


Ignore:
Timestamp:
12/17/2010 03:32:46 AM (14 years ago)
Author:
nacin
Message:

Help fixes. props zeo, fixes #15346.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-tags.php

    r17006 r17014  
    161161    $help ='';
    162162    if ( 'category' == $taxonomy )
    163         $help .= '<p>' . sprintf(__( 'You can use categories to define sections of your site and group related posts. The default category is &#8220;Uncategorized&#8221; until you change it in your <a href="%s">writing settings</a>.' ) , 'options-writing.php' ) . '</p>';
    164     elseif ( 'link_category' == $taxonomy ) 
    165         $help .= '<p>' . __( 'You can create groups of links by using link categories. Link category names must be unique and link categories are separate from the categories you use for posts.' ) . '</p>';
    166     else
    167         $help .= '<p>' . __( 'You can assign keywords to your posts using Post Tags. Unlike categories, tags have no hierarchy, meaning there&#8217;s no relationship from one tag to another.' ) . '</p>';
    168        
    169     if ( 'link_category' == $taxonomy ) 
     163        $help = '<p>' . sprintf(__( 'You can use categories to define sections of your site and group related posts. The default category is &#8220;Uncategorized&#8221; until you change it in your <a href="%s">writing settings</a>.' ) , 'options-writing.php' ) . '</p>';
     164    elseif ( 'link_category' == $taxonomy )
     165        $help = '<p>' . __( 'You can create groups of links by using link categories. Link category names must be unique and link categories are separate from the categories you use for posts.' ) . '</p>';
     166    else
     167        $help = '<p>' . __( 'You can assign keywords to your posts using Post Tags. Unlike categories, tags have no hierarchy, meaning there&#8217;s no relationship from one tag to another.' ) . '</p>';
     168
     169    if ( 'link_category' == $taxonomy )
    170170        $help .= '<p>' . __( 'You can delete link categories in the Bulk Action pulldown, but that action does not delete the links within the category. Instead, it moves them to the default link category.' ) . '</p>';
    171171    else
     
    174174    if ( 'category' == $taxonomy )
    175175        $help .= '<p>' . __( 'When adding a new category on this screen, you&#8217;ll fill in the following fields:' ) . '</p>';
    176     elseif ( 'post_tag' == $taxonomy ) 
     176    elseif ( 'post_tag' == $taxonomy )
    177177        $help .= '<p>' . __( 'When adding a new tag on this screen, you&#8217;ll fill in the following fields:' ) . '</p>';
    178178
     
    181181        $help .= '<ul>' .
    182182        '<li>' . __( '<strong>Name</strong> - The name is how it appears on your site.' ) . '</li>';
    183    
     183
    184184    if ( ! global_terms_enabled()  )
    185185    if ( 'category' == $taxonomy || 'post_tag' == $taxonomy  )
Note: See TracChangeset for help on using the changeset viewer.