[wp-trac] [WordPress Trac] #17470: Display warning when editing the page_for_posts page

WordPress Trac noreply at wordpress.org
Fri Feb 20 21:14:19 UTC 2015


#17470: Display warning when editing the page_for_posts page
-------------------------------+---------------------------------
 Reporter:  alexkingorg        |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  3.2
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:  ui, administration
-------------------------------+---------------------------------
Changes (by helen):

 * keywords:  needs-patch => has-patch
 * milestone:  Future Release => 4.2


Comment:

 [attachment:17470.2.diff] is a possible starting point that hides the
 editor if the content is empty and avoids the page template selector. A
 notice is printed at run time and existing JS moves it to the top,
 although I think it'd be fine displaying in place of the editor since by
 default the screen is pretty sparse. That can be done by adding the class
 `inline` to it. It probably makes more sense to hook that notice to the
 `edit_form_after_editor` action so somebody can remove it if they want.
 This is what it looks like:

 [[Image(http://s.hyhs.me/ZskL/image.png)]]

 I'd like to resolve this ticket one way or another in 4.2.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17470#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list