[wp-trac] [WordPress Trac] #38503: {$taxonomy}_term_new_form_tag is suspicious.

WordPress Trac noreply at wordpress.org
Wed Oct 26 01:16:37 UTC 2016


#38503: {$taxonomy}_term_new_form_tag is suspicious.
--------------------------+-----------------------------
 Reporter:  princepink    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In the code view (edit-tags.php), this action is written in ''the <form>
 opening tag'' itself like attributes, but '''not the content of the tag'''
 for human.
 Is this really intended to?

 395 <form id="addtag" method="post" action="edit-tags.php"
 class="validate"
 396     <?php
 397     /**
 398      * Fires at the beginning of the Add Tag form.
 399      *
 400      * The dynamic portion of the hook name, `$taxonomy`, refers to
 the taxonomy slug.
 401      *
 402      * @since 3.7.0
 403      */
 404     do_action( "{$taxonomy}_term_new_form_tag" );
 405     ?>>

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38503>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list