You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
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
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#L820See todo in #227
The text was updated successfully, but these errors were encountered: