[wp-trac] [WordPress Trac] #23089: Rewrite a confusing condition in default-widgets.php

WordPress Trac noreply at wordpress.org
Sun Mar 3 00:35:29 UTC 2013


#23089: Rewrite a confusing condition in default-widgets.php
-------------------------+-----------------------
 Reporter:  alexvorn2    |       Owner:
     Type:  enhancement  |      Status:  reopened
 Priority:  lowest       |   Milestone:  3.6
Component:  Widgets      |     Version:
 Severity:  minor        |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------

Comment (by SergeyBiryukov):

 [attachment:23089.3.patch] simplifies the conditions without changing the
 functionality.

 Also contains a bit of cleanup for `WP_Widget_Recent_Comments::form()` for
 consistency with `WP_Widget_Recent_Posts::form()` cleanup done in [21935].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23089#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list