Fix Docblock syntax for the `taxonomy_parent_dropdown_args` filter.

See [30998]. See #31888


git-svn-id: https://develop.svn.wordpress.org/trunk@32003 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-04-04 14:12:04 +00:00
parent ddb33c9aed
commit f76ed758b8
1 changed files with 2 additions and 1 deletions

View File

@ -482,7 +482,7 @@ do_action( "{$taxonomy}_term_new_form_tag" );
* Filter the taxonomy parent drop-down on the Edit Term page.
*
* @since 3.7.0
* @since 4.2.0 Added $context parameter.
* @since 4.2.0 Added `$context` parameter.
*
* @param array $dropdown_args {
* An array of taxonomy parent drop-down arguments.
@ -500,6 +500,7 @@ do_action( "{$taxonomy}_term_new_form_tag" );
* @param string $context Filter context. Accepts 'new' or 'edit'.
*/
$dropdown_args = apply_filters( 'taxonomy_parent_dropdown_args', $dropdown_args, $taxonomy, 'new' );
wp_dropdown_categories( $dropdown_args );
?>
<?php if ( 'category' == $taxonomy ) : // @todo: Generic text for hierarchical taxonomies ?>