Opened 16 years ago
Closed 14 years ago
#12785 closed enhancement (fixed)
Add sorting and limit to default links widget
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.4 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Widgets | Keywords: | has-patch ux-feedback |
| Focuses: | Cc: |
Description
The default links widget is kinda dull, and to tell truth - he's really jealous of his brothers recent post and pages widgets.
So here's a little patch to add sorting order and limit to the widget.
Attachments (2)
Change History (11)
#2
@
16 years ago
- Keywords early added
- Milestone changed from 3.0 to 3.1
- Type changed from defect (bug) to enhancement
Sorry to have to be a pain, But since this isn't a regression, is an enhancement over what we've currently got & we're in a feature freeze, I'm going to bump this to early 3.1.
#3
@
15 years ago
- Keywords ux-feedback added; early removed
- Milestone changed from Awaiting Triage to Future Release
Let's get Jane to weigh in on this before proceeding.
#5
@
14 years ago
- Milestone changed from Future Release to 3.3
Freeze has arrived. @rboren: I hear this has been running on .com for a while. Any issues? If you want to commit, its fine with me.
#6
in reply to:
↑ 4
@
14 years ago
Replying to yoavf:
Refreshed patch for trunk.
WP_Widget_Links::widget() contains
$order = isset($instance['order']) ? $instance['order'] : 'ASC';
but order is not an option in the form and is never set on update.
I think that either the user should be allowed to choose the ordering via the form, or:
$order = 'rating' == $orderby ? 'DESC' : 'ASC';
+1 - I've heard a lot of requests for this.