From c4d3f20870e9ca1e543fed7309e57e6da390a8ac Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Tue, 4 Oct 2016 02:29:29 +0000 Subject: [PATCH] Docs: Improve description for `term_exists()` `$term` param. Props Kenshino. Fixes #37224. Built from https://develop.svn.wordpress.org/trunk@38716 git-svn-id: http://core.svn.wordpress.org/trunk@38659 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/taxonomy.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index e2a5f81f6c..4edae370c1 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -1397,7 +1397,7 @@ function update_termmeta_cache( $term_ids ) { * * @global wpdb $wpdb WordPress database abstraction object. * - * @param int|string $term The term to check + * @param int|string $term The term to check. Accepts term ID, slug, or name. * @param string $taxonomy The taxonomy name to use * @param int $parent Optional. ID of parent term under which to confine the exists search. * @return mixed Returns null if the term does not exist. Returns the term ID diff --git a/wp-includes/version.php b/wp-includes/version.php index b30a438d85..a93257b485 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38715'; +$wp_version = '4.7-alpha-38716'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.