WordPress.org

Make WordPress Core

Changeset 7891


Ignore:
Timestamp:
05/05/08 08:15:54 (6 years ago)
Author:
westi
Message:

Revert [7887] see #6915.

Location:
trunk/wp-admin
Files:
4 edited

Legend:

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

    r7888 r7891  
    3232        <tr class="form-field"> 
    3333            <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th> 
    34             <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape(rawurldecode($category->slug)); ?>" size="40" /><br /> 
     34            <td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo attribute_escape($category->slug); ?>" size="40" /><br /> 
    3535            <?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 
    3636        </tr> 
  • trunk/wp-admin/edit-link-category-form.php

    r7888 r7891  
    3131        <tr class="form-field"> 
    3232            <th scope="row" valign="top"><label for="slug"><?php _e('Category slug') ?></label></th> 
    33             <td><input name="slug" id="slug" type="text" value="<?php echo rawurldecode($category->slug); ?>" size="40" /> 
     33            <td><input name="slug" id="slug" type="text" value="<?php echo $category->slug; ?>" size="40" /> 
    3434            <?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></td> 
    3535        </tr> 
  • trunk/wp-admin/edit-tag-form.php

    r7888 r7891  
    3232        <tr class="form-field"> 
    3333            <th scope="row" valign="top"><label for="slug"><?php _e('Tag slug') ?></label></th> 
    34             <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape(rawurldecode($tag->slug)); ?>" size="40" /> 
     34            <td><input name="slug" id="slug" type="text" value="<?php echo attribute_escape($tag->slug); ?>" size="40" /> 
    3535            <p><?php _e('The &#8220;slug&#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td> 
    3636        </tr> 
  • trunk/wp-admin/includes/post.php

    r7887 r7891  
    643643    } 
    644644    $title = __('Click to edit this part of the permalink'); 
    645  
    646     // make %-encoded international names readable and therefore editable 
    647     $post_name = rawurldecode($post_name); 
    648          
    649645    if (strlen($post_name) > 30) { 
    650646        $post_name_abridged = substr($post_name, 0, 14). '&hellip;' . substr($post_name, -14); 
Note: See TracChangeset for help on using the changeset viewer.