Home › Forums › General Issues › Issues with get_field on save_post hook › Reply To: Issues with get_field on save_post hook
The w3tc version on GitHub is a community-driven fork of the official w3tc.
It contains fixes to bugs commonly reported by users, but is not officially maintained by the w3tc folks — the patches are from a bunch of volunteers.
That being said, several of the patches committed to GitHub actually end up being adopted by the official w3tc team and make their way to the w3tc version hosted on wp.org.
The fix for the bug in my first reply (here) has been accepted by w3tc team, and will be available in the next plugin update (whenever that comes).
So, if you want to try it out before the plugin release and see if it fixes this problem, you should apply these changes
Basically, in ObjectCache_WpObjectCache_Regular.php
, in function function get
look for $this->cache[$key] = $value;
and move it inside the if ( $value !== false )
block.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.