Index: trunk/src/wp-includes/widgets/class-wp-widget-links.php =================================================================== --- trunk/src/wp-includes/widgets/class-wp-widget-links.php (revision 45723) +++ trunk/src/wp-includes/widgets/class-wp-widget-links.php (revision 46415) @@ -46,5 +46,5 @@ $category = isset( $instance['category'] ) ? $instance['category'] : false; $orderby = isset( $instance['orderby'] ) ? $instance['orderby'] : 'name'; - $order = $orderby == 'rating' ? 'DESC' : 'ASC'; + $order = 'rating' === $orderby ? 'DESC' : 'ASC'; $limit = isset( $instance['limit'] ) ? $instance['limit'] : -1; @@ -176,5 +176,5 @@
- +