WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/23/2013 09:17:24 PM (8 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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.