From e36f06a87f2e04ae70bc349e4f861c49be04d174 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Wed, 29 Oct 2014 02:34:56 +0000 Subject: [PATCH] Be more specific in documentation of 'slug' param for `get_terms()`. Props jfarthing84. Fixes #23636. git-svn-id: https://develop.svn.wordpress.org/trunk@30086 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 7f037cb0e8..cbe3e1ee6c 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -1596,7 +1596,7 @@ function get_term_to_edit( $id, $taxonomy ) { * @type string $fields Term fields to query for. Accepts 'all' (returns an array of * term objects), 'ids' or 'names' (returns an array of integers * or strings, respectively. Default 'all'. - * @type string|array $slug Optional. Slug(s) to return term(s) for. Default empty. + * @type string|array $slug Optional. Slug or array of slugs to return term(s) for. Default empty. * @type bool $hierarchical Whether to include terms that have non-empty descendants (even * if $hide_empty is set to true). Default true. * @type string $search Search criteria to match terms. Will be SQL-formatted with