Display warning when editing the page_for_posts page
|Reported by:||alexkingorg||Owned by:|
|Component:||Posts, Post Types||Keywords:||has-patch ui-feedback needs-ui|
I recently ran into a situation where someone was very confused by the page_for_posts setting and why their page edits were not being respected. It occurred to me that this feature is not terribly well described in the UI for users that don't already understand what it does.
The attached patch will simply add a warning as an admin_notice when you are editing the page that is specified as the page_for_posts page.
I used a class of error for the admin_notice, but updated might be more appropriate.