Add a missing `@param` doc to `wp_update_term_count()`.
See #32246 Built from https://develop.svn.wordpress.org/trunk@35907 git-svn-id: http://core.svn.wordpress.org/trunk@35871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e059193943
commit
6bb33fb2f4
|
@ -3373,11 +3373,12 @@ function wp_defer_term_counting($defer=null) {
|
||||||
*
|
*
|
||||||
* @staticvar array $_deferred
|
* @staticvar array $_deferred
|
||||||
*
|
*
|
||||||
* @param int|array $terms The term_taxonomy_id of the terms.
|
* @param int|array $terms The term_taxonomy_id of the terms.
|
||||||
* @param string $taxonomy The context of the term.
|
* @param string $taxonomy The context of the term.
|
||||||
|
* @param bool $do_deferred Whether to flush the deferred term counts too. Default false.
|
||||||
* @return bool If no terms will return false, and if successful will return true.
|
* @return bool If no terms will return false, and if successful will return true.
|
||||||
*/
|
*/
|
||||||
function wp_update_term_count( $terms, $taxonomy, $do_deferred=false ) {
|
function wp_update_term_count( $terms, $taxonomy, $do_deferred = false ) {
|
||||||
static $_deferred = array();
|
static $_deferred = array();
|
||||||
|
|
||||||
if ( $do_deferred ) {
|
if ( $do_deferred ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.5-alpha-35906';
|
$wp_version = '4.5-alpha-35907';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue