-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Post_Template_Condition preventing post meta revision saving and breaking preview #829
Comments
joeyblake
added a commit
to Knucklepuck/carbon-fields
that referenced
this issue
Jan 24, 2020
… set. Post_Template_Condition.php checks for existence of _wp_page_template in post_meta before saving. When the post is a revision there may not be a post_meta entry for _wp_page_template, so we need to check the parent post to ensure revision metadata is saved. Fixes htmlburger#829
Fixed in #879 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Expected Behavior
Using the classic editor with some fields that have post_template conditionals I should be able to click the preview button and see any updated fields in the post preview.
Actual Behavior
Post previews will show no carbonfields metadata at all.
Container definition
Steps to Reproduce the Problem
Comments
I'll have a PR for this in a few minutes.
The text was updated successfully, but these errors were encountered: