Add variable type for sync_category_tag_slugs() parameters.
props tillkruess. fixes #30718. Built from https://develop.svn.wordpress.org/trunk@31113 git-svn-id: http://core.svn.wordpress.org/trunk@31094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -587,10 +587,10 @@ function format_code_lang( $code = '' ) {
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param $term The term.
|
||||
* @param $taxonomy The taxonomy for $term. Should be 'category' or 'post_tag', as these are
|
||||
* the only taxonomies which are processed by this function; anything else
|
||||
* will be returned untouched.
|
||||
* @param object $term The term.
|
||||
* @param string $taxonomy The taxonomy for $term. Should be 'category' or 'post_tag', as these are
|
||||
* the only taxonomies which are processed by this function; anything else
|
||||
* will be returned untouched.
|
||||
* @return object|array Returns `$term`, after filtering the 'slug' field with {@see sanitize_title()}
|
||||
* if $taxonomy is 'category' or 'post_tag'.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user