mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Remove some unused globals and/or their docs.
See ##33491. git-svn-id: https://develop.svn.wordpress.org/trunk@34446 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -5406,12 +5406,11 @@ function update_post_cache( &$posts ) {
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @global bool $_wp_suspend_cache_invalidation
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int|WP_Post $post Post ID or post object to remove from the cache.
|
||||
*/
|
||||
function clean_post_cache( $post ) {
|
||||
global $_wp_suspend_cache_invalidation, $wpdb;
|
||||
global $_wp_suspend_cache_invalidation;
|
||||
|
||||
if ( ! empty( $_wp_suspend_cache_invalidation ) )
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user