Changeset 20245
- Timestamp:
- 03/21/2012 09:01:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/default-widgets.php
r20083 r20245 106 106 $order = $orderby == 'rating' ? 'DESC' : 'ASC'; 107 107 $limit = isset( $instance['limit'] ) ? $instance['limit'] : -1; 108 109 if ( is_admin() && !$category ) {110 // Display All Links widget as such in the widgets screen111 echo $before_widget . $before_title . _x('All Links', 'links widget') . $after_title . $after_widget;112 return;113 }114 108 115 109 $before_widget = preg_replace('/id="[^"]*"/','id="%id"', $before_widget);
Note: See TracChangeset
for help on using the changeset viewer.