Skip to content
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

Hide Page Template control when a page is the same as the page_for_posts #228

Closed
westonruter opened this issue Aug 23, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@westonruter
Copy link
Contributor

commented Aug 23, 2016

The control should honor the same condition as in PHP: get_option( 'page_for_posts' ) != $post->ID. See https://github.com/xwp/wordpress-develop/blob/4.6.0/src/wp-admin/includes/meta-boxes.php#L820

See todo in #227

@westonruter westonruter added this to the 0.8.0 milestone Sep 9, 2016

@westonruter westonruter changed the title Hide Page Template control when a page is the same as the page_on_front Hide Page Template control when a page is the same as the page_for_posts Sep 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.