Make WordPress Core

Changeset 26339


Ignore:
Timestamp:
11/23/2013 09:17:24 PM (11 years ago)
Author:
DrewAPicture
Message:

Cleanup incorrect duplicate comments for hooks in wp-admin/edit-tag-form.php introduced in [26274].

Also corrects the @since version for {$taxonomy}_term_new_form_tag in wp-admin/edit-tags.php.

Props kpdesign. See #25532.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

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

    r26274 r26339  
    1919// Back compat hooks
    2020if ( 'category' == $taxonomy ) {
    21     /** This action is documented in wp-admin/edit-tags.php */
    2221    do_action( 'edit_category_form_pre', $tag );
    2322} elseif ( 'link_category' == $taxonomy ) {
    24     /** This action is documented in wp-admin/edit-tags.php */
    2523    do_action( 'edit_link_category_form_pre', $tag );
    2624} else {
    27     /** This action is documented in wp-admin/edit-tags.php */
    2825    do_action( 'edit_tag_form_pre', $tag );
    2926}
    30 /** This action is documented in wp-admin/edit-tags.php */
    3127do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
    3228
  • trunk/src/wp-admin/edit-tags.php

    r26274 r26339  
    338338<?php if ( 'category' == $taxonomy ) : ?>
    339339<div class="form-wrap">
     340<?php /** This filter is documented in wp-includes/category-template.php */ ?>
    340341<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>
    341342<?php if ( current_user_can( 'import' ) ) : ?>
     
    438439 * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
    439440 *
    440  * @since 3.0.0
     441 * @since 3.7.0
    441442 */
    442443?>
Note: See TracChangeset for help on using the changeset viewer.