3

I downloaded and installed Advanced Custom Fields 4.1.6 the other day and I used it a few times for some time and it worked perfectly, but for some reason now none of my custom fields seem to be saving and I'm not getting any errors or anything. I don't think that I have done anything at all that could have possibly broken this.

Has this happened to anyone else? And what could possibly be the issue?

4

5 に答える 5

0

Advanced custom fields plugin にも同じ問題があります。advanced-custom-fields/core/controllers/post.php に 1 行のコードを追加して問題を解決します。

add_action('pre_post_update', array($this, 'save_post'));

add_action('save_post',array($this, 'save_post'), 10, 1);

行番号 33、34。

于 2016-04-27T22:16:41.320 に答える
0

先に進み、この古い質問に返信して、誰かの助けになることを願っています。カスタム投稿でフィールドが更新されないというこの問題が発生しています。私は通常、WP のバックエンドでのナビゲーションを容易にするために、複数のタブを開いています。現在編集中のタブ以外のすべてのタブを閉じると、フィールドが毎回更新されることがわかりました。

于 2015-12-23T19:34:34.177 に答える