Changeset 26339
- Timestamp:
- 11/23/2013 09:17:24 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r26274 r26339 19 19 // Back compat hooks 20 20 if ( 'category' == $taxonomy ) { 21 /** This action is documented in wp-admin/edit-tags.php */22 21 do_action( 'edit_category_form_pre', $tag ); 23 22 } elseif ( 'link_category' == $taxonomy ) { 24 /** This action is documented in wp-admin/edit-tags.php */25 23 do_action( 'edit_link_category_form_pre', $tag ); 26 24 } else { 27 /** This action is documented in wp-admin/edit-tags.php */28 25 do_action( 'edit_tag_form_pre', $tag ); 29 26 } 30 /** This action is documented in wp-admin/edit-tags.php */31 27 do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?> 32 28 -
trunk/src/wp-admin/edit-tags.php
r26274 r26339 338 338 <?php if ( 'category' == $taxonomy ) : ?> 339 339 <div class="form-wrap"> 340 <?php /** This filter is documented in wp-includes/category-template.php */ ?> 340 341 <p><?php printf(__('<strong>Note:</strong><br />Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the category <strong>%s</strong>.'), apply_filters('the_category', get_cat_name(get_option('default_category')))) ?></p> 341 342 <?php if ( current_user_can( 'import' ) ) : ?> … … 438 439 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug. 439 440 * 440 * @since 3. 0.0441 * @since 3.7.0 441 442 */ 442 443 ?>
Note: See TracChangeset
for help on using the changeset viewer.