[wp-trac] [WordPress Trac] #23089: WP_Widget_Recent_Comments bug

WordPress Trac noreply at wordpress.org
Sun Dec 30 20:20:28 UTC 2012


#23089: WP_Widget_Recent_Comments bug
-----------------------------+--------------------------
 Reporter:  alexvorn2        |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Widgets
  Version:  3.5              |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 default-widgets.php file:

 line 679:


 {{{
  if ( empty( $instance['number'] ) || ! $number = absint(
 $instance['number'] ) )
  $number = 5;
 }}}

 shouldn't be ?:

 {{{
  if ( empty( $instance['number'] ) || ! $number == absint(
 $instance['number'] ) )
  $number = 5;
 }}}

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


More information about the wp-trac mailing list