Docs: Add a description for the documented use of the $wpdb
global in _prime_comment_caches()
.
See #8071. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@34355 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ce1832f49c
commit
e3e91dbadc
@ -2383,8 +2383,7 @@ function update_comment_cache( $comments, $update_meta_cache = true ) {
|
||||
* @access private
|
||||
*
|
||||
* @see update_comment_cache()
|
||||
*
|
||||
* @global wpdb $wpdb
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param array $comment_ids Array of comment IDs.
|
||||
* @param bool $update_meta_cache Optional. Whether to update the meta cache. Default true.
|
||||
|
Loading…
Reference in New Issue
Block a user