Opened 13 years ago
Closed 12 years ago
#21064 closed enhancement (fixed)
Recent Posts widget: provide optional post date display
Reported by: | lancewillett | Owned by: | westi |
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | normal | Version: | 3.4 |
Component: | Widgets | Keywords: | has-patch dev-feedback commit |
Focuses: | Cc: |
Description
As a small enhancement to the Recent Posts widget, add an option to display the post date next to each post. Similar to how the RSS Widget date can be added to the display.
If enabled (should be off by default) -- the widget's HTML output should include the post date after the post title. The date format should match the WP user-set date format.
Attachments (5)
Change History (15)
#3
@
12 years ago
Looks good in FF14, Safari 6, Chrome 21 => recent-posts-07-05.png
#4
@
12 years ago
Would love a core dev feedback and blessing to get this into 3.5, it's a nice improvement and Twenty Twelve can show it off.
#6
in reply to:
↑ 5
@
12 years ago
Replying to lancewillett:
Ready for a code review and commit, please.
Looks good to me and is a great enhancement to the widget.
Note: See
TracTickets for help on using
tickets.
Looks good to me.
Minor edit in line 576 (only switch to PHP to print the date) for consistency with line 574.