I tried your code a few times and it produced the same results. I still had to update twice to get it working.
I’m not knowledgeable on how to update the code to make it work. Should the
$value to be equal to something?
Thanks for your response.
Basically, I have a date-picker custom field that should update the post title and post slug on update. It was working fine but the formatting was off–always displaying the date as YYYYMMDD.
I later got the formatting to work, but it created another problem—the date isn’t being saved the first time around and therefore the need to update twice.
This issue is beyond me. I hope that clarifies.
I’ve moved my comment.
I was able to get rid of the notification by changing the version number to the latest: in the acf.php file:
'version' => '5.1.5',
So I can probably make this a really high version number and never have to deal with it, unless I want to update it.
I just checked my other installation using the theme that has ACF PRO bundled with it. ACF PRO is NOT installed as a plugin (and never was) and it’s still asking me to update. I go to the plugin page and there’s nothing there to update.
Any help would be appreciated.
Let me look into this further. You see, I have ACF installed as a plugin and ACF included in a theme all in the same WP installation. I’ll try another installation that doesn’t have ACF installed as a plugin to see if the problem is duplicated.
Thanks for the response.
Here’s the problem though: You just sent out a update for the ACF PRO. The bundled ACF PRO in my theme, while hidden from the admin, still brings up a notification to update. There’s that little icon “1 Plugin Update”. But when a user goes to that page to find what’s new to update, there’s nothing there to update because they don’t have access. This is a problem especially if I’m using an older version of ACF PRO and confusing to the user because they’ll be scratching their heads trying to figure out what’s wrong.
I’m experiencing the same thing too. I’m using ACF 5 PRO.
Thanks for the response. I was actually looking for some code I could use because I’m not that knowledgeable in PHP. But thanks for the help.
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!