πŸ”’ EXCLUSIVE: WordPress/wordpress develop/pull/ - Uncensored 2025

Skip to content

Conversation

@spacedmonkey

Trac ticket: https://core.trac.wordpress.org/ticket/57296


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

SergeyBiryukov
peterwilsoncc

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tests would be lovely to ensure that the change has the desired effect. There will need to be an assertion that expects different results on the runs with memcached.

There should probably be some tests with the other conditions too, I can't see any at a quick glance.

@peterwilsoncc

The unit test failures in test_wp_get_nav_menu_items_cache_primes_posts on memcached configs look legitimate. I guess because the query used in those tests are now split.

@spacedmonkey

@peterwilsoncc Unit tests are fixed. The unit test needed to updated, as there is a change in behaviour.

peterwilsoncc

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @spacedmonkey

@spacedmonkey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants