Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r17436 r18010  
    11<?php
    22/**
    3  * Edit Tags Administration Panel.
     3 * Edit Tags Administration Screen.
    44 *
    55 * @package WordPress
     
    3535case 'add-tag':
    3636
    37     check_admin_referer( 'add-tag' );
     37    check_admin_referer( 'add-tag', '_wpnonce_add-tag' );
    3838
    3939    if ( !current_user_can( $tax->cap->edit_terms ) )
     
    210210
    211211    if ( 'category' == $taxonomy )
    212         $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Posts_Categories_SubPanel" target="_blank">Documentation on Categories</a>' ) . '</p>';
     212        $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Posts_Categories_Screen" target="_blank">Documentation on Categories</a>' ) . '</p>';
    213213    elseif ( 'link_category' == $taxonomy )
    214         $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Links_Link_Categories_SubPanel" target="_blank">Documentation on Link Categories</a>' ) . '</p>';
    215     else
    216         $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Posts_Post_Tags_SubPanel" target="_blank">Documentation on Post Tags</a>' ) . '</p>';
     214        $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Links_Link_Categories_Screen" target="_blank">Documentation on Link Categories</a>' ) . '</p>';
     215    else
     216        $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Posts_Post_Tags_Screen" target="_blank">Documentation on Post Tags</a>' ) . '</p>';
    217217
    218218    $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>';
     
    329329<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />
    330330<input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" />
    331 <?php wp_nonce_field('add-tag'); ?>
     331<?php wp_nonce_field('add-tag', '_wpnonce_add-tag'); ?>
    332332
    333333<div class="form-field form-required">
Note: See TracChangeset for help on using the changeset viewer.