[wp-trac] [WordPress Trac] #38104: form html tag is not properly closed, using {$taxonomy}_term_new_form_tag causes incorrect html output
WordPress Trac
noreply at wordpress.org
Tue Sep 20 11:43:50 UTC 2016
#38104: form html tag is not properly closed, using {$taxonomy}_term_new_form_tag
causes incorrect html output
--------------------------+-----------------------------
Reporter: BjornW | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
As you can see in [https://github.com/WordPress/WordPress/blob/master/wp-
admin/edit-tags.php#L395 edit-tags.php] the html form tag is not properly
closed:
{{{#!php
<form id="addtag" method="post" action="edit-tags.php" class="validate"
<?php
/**
* Fires at the beginning of the Add Tag form.
*
* The dynamic portion of the hook name, `$taxonomy`, refers to the
taxonomy slug.
*
* @since 3.7.0
*/
do_action( "{$taxonomy}_term_new_form_tag" );
?>>
}}}
This causes incorrect html output when using the
{$taxonomy}_term_new_form_tag action.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38104>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list