Changes from branches/3.1/wp-admin/edit-tags.php at r17436 to trunk/wp-admin/edit-tags.php at r18010
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-tags.php
r17436 r18010 1 1 <?php 2 2 /** 3 * Edit Tags Administration Panel.3 * Edit Tags Administration Screen. 4 4 * 5 5 * @package WordPress … … 35 35 case 'add-tag': 36 36 37 check_admin_referer( 'add-tag' );37 check_admin_referer( 'add-tag', '_wpnonce_add-tag' ); 38 38 39 39 if ( !current_user_can( $tax->cap->edit_terms ) ) … … 210 210 211 211 if ( 'category' == $taxonomy ) 212 $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Posts_Categories_S ubPanel" 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>'; 213 213 elseif ( 'link_category' == $taxonomy ) 214 $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Links_Link_Categories_S ubPanel" target="_blank">Documentation on Link Categories</a>' ) . '</p>';215 else 216 $help .= '<p>' . __( '<a href="http://codex.wordpress.org/Posts_Post_Tags_S ubPanel" 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>'; 217 217 218 218 $help .= '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'; … … 329 329 <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" /> 330 330 <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'); ?> 332 332 333 333 <div class="form-field form-required">
Note: See TracChangeset
for help on using the changeset viewer.