Make WordPress Core

Changeset 14915


Ignore:
Timestamp:
05/26/2010 12:09:49 AM (15 years ago)
Author:
nacin
Message:

Only show slug help text when global terms are disabled. see #13467

File:
1 edited

Legend:

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

    r14913 r14915  
    179179
    180180    $help .= '<ul>' .
    181         '<li>' . __('<strong>Name</strong> - The name is how it appears on your site.') . '</li>' .
    182         '<li>' . __('<strong>Slug</strong> - The  &#8220;slug &#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.') . '</li>';
     181        '<li>' . __('<strong>Name</strong> - The name is how it appears on your site.') . '</li>';
     182    if ( ! global_terms_enabled() )
     183        $help .= '<li>' . __('<strong>Slug</strong> - The  &#8220;slug &#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.') . '</li>';
    183184
    184185    if ( 'category' == $taxonomy )
Note: See TracChangeset for help on using the changeset viewer.