Make WordPress Core


Ignore:
Timestamp:
04/24/2023 01:51:15 PM (2 years ago)
Author:
spacedmonkey
Message:

Users: Change cache group from users-queries to user-queries.

The cache group users-queries was added in [55657]. This global cache group, was named to be inline with cache groups added in [55526]. However, the naming of the group does not match, as other cache groups, do not end with s at the end. This change fix this naming.

Props spacedmonkey, SergeyBiryukov, peterwilsoncc.
See #40613.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-user-query.php

    r55657 r55680  
    827827            $cache_value   = false;
    828828            $cache_key     = $this->generate_cache_key( $qv, $this->request );
    829             $cache_group   = 'users-queries';
     829            $cache_group   = 'user-queries';
    830830            if ( $qv['cache_results'] ) {
    831831                $cache_value = wp_cache_get( $cache_key, $cache_group );
Note: See TracChangeset for help on using the changeset viewer.