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:
Sergey Biryukov 2015-01-09 11:19:22 +00:00
parent 2be2af7789
commit 7b04e6d4f4
2 changed files with 5 additions and 5 deletions

View File

@ -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'.
*/

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-alpha-31112';
$wp_version = '4.2-alpha-31113';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.