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

WordPress Trac noreply at wordpress.org
Sun Mar 5 14:01:17 UTC 2017


#39909: Make title behaviours consistent across all widgets on first load
-------------------------+--------------------
 Reporter:  karmatosed   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.7.4
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+--------------------

Comment (by bor0):

 @westonruter can quickly fix 1 and 3, but I'm wondering about 2. Shouldn't
 we change the `widget` method to use `$this->name` instead to keep
 consistency? In this case, it looks like we're repeating the same string 3
 times (`__construct`, `widget`, `form`) which feels kind of weird.

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


More information about the wp-trac mailing list