Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix post revision meta saving check when post_template conditional is…
… 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
- Loading branch information