You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an external object cache, transients are stored in the object cache and not in the database.
wp transient get ... will still work correctly, as it wraps the get_transient() or get_site_transient() functions.
However, wp transient list will always return an empty table, as the handler for the WP-CLI command generates some SQL to explicitly look in the options or sitemeta tables, which will be empty of transients.
Could we have an early guard clause for the list() method that reminds users that transients are stored in the object cache and so can't be displayed, if the object cache is being used?
(At least until WP core has get_transients() function that can be wrapped.)