[wp-trac] [WordPress Trac] #58175: Remove unused 'usermeta' global cache group

WordPress Trac noreply at wordpress.org
Sat Apr 22 14:13:01 UTC 2023


#58175: Remove unused 'usermeta' global cache group
----------------------------+----------------------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  6.3
Component:  Cache API       |    Version:
 Severity:  normal          |   Keywords:  needs-patch good-first-bug
  Focuses:                  |
----------------------------+----------------------------------------
 The `usermeta` cache group was introduced in [3011], but was never
 actually used in core.

 The `user_meta` group is used instead, see [15482], [16562], and [54940].

 To avoid confusion, I think the former should be removed from
 `wp_cache_add_global_groups()` calls in:
 * `wp-includes/load.php`
 * `wp-includes/ms-blogs.php`
 * `tests/phpunit/includes/abstract-testcase.php`

 See [40347] / #38725 for a precedent of removing another unused cache
 group.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58175>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list