What would cause set_transient() and set_site_transient() to fail silently?
If you have a persistent object cache setup, then transients will not write to the database: they’ll be stored in memory. Reviewing the definition of set_transient() this can be seen: if ( wp_using_ext_object_cache() || wp_installing() ) { $result = wp_cache_set( $transient, $value, ‘transient’, $expiration ); } Only if no external cache is in place do … Read more