Fix Docblock syntax for the `taxonomy_parent_dropdown_args` filter.
See [30998]. See #31888 Built from https://develop.svn.wordpress.org/trunk@32003 git-svn-id: http://core.svn.wordpress.org/trunk@31982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
62450e9f0f
commit
d8f67f4340
|
@ -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 ?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-beta4-32002';
|
||||
$wp_version = '4.2-beta4-32003';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue