[wp-trac] [WordPress Trac] #39909: Make title behaviours consistent across all widgets on first load

WordPress Trac noreply at wordpress.org
Wed Mar 1 00:10:55 UTC 2017


#39909: Make title behaviours consistent across all widgets on first load
-------------------------+-----------------------------
 Reporter:  karmatosed   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+-----------------------------
Changes (by westonruter):

 * milestone:  Awaiting Review => Future Release


Comment:

 @karmatosed what do you think about updating each widget to have a
 `placeholder` in each of their “Title” inputs if there is a default title
 that gets rendered in the preview? This would be a quick win.

 > Another example, the Calendar widget has no title and compared to the
 examples above this feels weird. What I think should happen is that the
 same title behaviour occurs for all widgets when you first load them.

 In this case the `placeholder` would probably have to remain absent from
 the calendar widget, since there is no default widget heading. I don't
 think we'd be able to start introducing “Calendar” as a default widget
 title as this would be a backwards-incompatible change, such as for users
 who may be expecting the calendar widget to not have a heading when none
 is supplied. Does that make sense?

 Aside: Placeholders were implemented for core widgets in the
 [https://wordpress.org/plugins/js-widgets/ JS Widgets] feature plugin.

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


More information about the wp-trac mailing list