From 68191cc15c7bf4d1635838caf78d592467ade0ba Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 9 Jan 2015 11:18:22 +0000 Subject: [PATCH] Add variable type for sync_category_tag_slugs() parameters. props tillkruess. fixes #30718. git-svn-id: https://develop.svn.wordpress.org/trunk@31113 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/ms.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index 6e93dbf649..453b751aad 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/wp-admin/includes/ms.php @@ -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'. */