[wp-trac] [WordPress Trac] #23012: Refresh the code for the default widgets

WordPress Trac noreply at wordpress.org
Thu Aug 20 17:06:15 UTC 2015


#23012: Refresh the code for the default widgets
--------------------------------------+------------------------
 Reporter:  Viper007Bond              |       Owner:  chriscct7
     Type:  enhancement               |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.4
Component:  Widgets                   |     Version:  3.5
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback needs-patch  |     Focuses:
--------------------------------------+------------------------
Changes (by chriscct7):

 * keywords:  good-first-bug has-patch early => dev-feedback needs-patch


Comment:

 Some quick feedback

 `if ( 'menu_order' == $sortby ) { ` should be `if ( 'menu_order' ===
 $sortby ) { ` since we're doing a string compare

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


More information about the wp-trac mailing list