Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

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
Closed
Milestone

Comments

@westonruter
Copy link
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant