Commit Graph

118 Commits

Author SHA1 Message Date
Jon Cave
9c5f3d0243 Remove dead code from the Links widget. Props pavelevap, SergeyBiryukov. Fixes #19179.
The widget() method isn't called on the admin screen.


git-svn-id: https://develop.svn.wordpress.org/trunk@20245 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 21:01:05 +00:00
Jon Cave
9d02deaa8e Add a trailing colon for consistency with other widget labels. See #20158.
git-svn-id: https://develop.svn.wordpress.org/trunk@20083 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:25:12 +00:00
Jon Cave
2cbf23b8ba Unhide the Select Link Category label. Fixes #20158.
git-svn-id: https://develop.svn.wordpress.org/trunk@20081 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 20:21:43 +00:00
Jon Cave
fcfd3e03f5 Add sorting and limiting to the links widget. Props yoavf. Fixes #12785.
git-svn-id: https://develop.svn.wordpress.org/trunk@20071 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-02 13:58:58 +00:00
Andrew Nacin
5e9b785d5d Add widget_comments_args and widget_post_args filters. props ramiy, fixes #16159.
git-svn-id: https://develop.svn.wordpress.org/trunk@20047 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-29 21:56:24 +00:00
Jon Cave
8039f91954 Echo "WordPress.org" as well as translating it in the Meta widget. See #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19838 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 19:52:42 +00:00
Andrew Nacin
10d17e6e29 Use translate, not translate with context. props azaozz. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19829 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-04 18:37:53 +00:00
Andrew Nacin
ca343daf1c Translate another http://wordpress.org/ link. see #19603.
git-svn-id: https://develop.svn.wordpress.org/trunk@19823 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-03 20:16:58 +00:00
Ryan Boren
cb374258bb Remove extraneuos newlines
git-svn-id: https://develop.svn.wordpress.org/trunk@19623 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 18:42:11 +00:00
Andrew Nacin
50b132c285 Context for 'All Links'. props SergeyBiryukov, pavelevap. fixes #18096.
git-svn-id: https://develop.svn.wordpress.org/trunk@19202 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:28:20 +00:00
Andrew Nacin
425560c739 Pass instance and id_base to widget_tirle filter in WP_Widget_Recent_Comments. props scribu, fixes #18393.
git-svn-id: https://develop.svn.wordpress.org/trunk@18785 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-27 02:38:31 +00:00
Peter Westwood
a8f99a3d72 Remove the accidental commit of the cache avoiding test code in [18677] props vnsavage
git-svn-id: https://develop.svn.wordpress.org/trunk@18679 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:43:22 +00:00
Peter Westwood
3aac6e630b Set a consistent cache key when using the_widget to display the Recent Posts and Recent Comments widgets so that they get cached. See #16761.
git-svn-id: https://develop.svn.wordpress.org/trunk@18677 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 10:08:43 +00:00
Peter Westwood
2d6257665d Fix Notices in default Widgets when called using the_widget(). Fixes #16761 props mfields and SergeyBiryukov
git-svn-id: https://develop.svn.wordpress.org/trunk@18676 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 09:41:17 +00:00
Ryan Boren
868ff9bcfa Pass no_found_rows to query in recent posts widget. Props scribu. fixes #17203
git-svn-id: https://develop.svn.wordpress.org/trunk@17825 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-06 20:54:43 +00:00
Andrew Nacin
c3ed3b072e Update the self-referential destruction sequence in WP_Widget_RSS to account for trailing slashes. TODO: Strengthen our validation here.
git-svn-id: https://develop.svn.wordpress.org/trunk@17765 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 14:44:43 +00:00
Ryan Boren
f888f1cc64 Allow retrieving comments by post type, status, author, author, name, or parent. Fetch only published posts for recent comments widget. Props filosofo. fixes #16506 #12904
git-svn-id: https://develop.svn.wordpress.org/trunk@17667 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-20 18:02:41 +00:00
Ryan Boren
e7a943c60c Remove PHP4 constructors. Props scribu. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17655 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-18 21:46:57 +00:00
Andrew Nacin
c4e9ac89ba Disallow a self-reference on RSS widget save, which would DoS a site. Checking home/siteurl should cover the vast majority of cases. see #8910.
git-svn-id: https://develop.svn.wordpress.org/trunk@17260 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-11 21:37:12 +00:00
Andrew Nacin
dc821cedbf Remove ceilings on recent comments and posts widgets and dashboard widgets. fixes #14543.
git-svn-id: https://develop.svn.wordpress.org/trunk@16922 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 17:58:47 +00:00
Mark Jaquith
3da39609e4 Add class to Tag Cloud widget div. props djzone. fixes #12602
git-svn-id: https://develop.svn.wordpress.org/trunk@16694 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 21:28:17 +00:00
Peter Westwood
0da69e3b32 Let SimplePie do more of the date handling for us. Props rmccue.
git-svn-id: https://develop.svn.wordpress.org/trunk@16566 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-24 11:53:12 +00:00
Andrew Nacin
f82118f579 Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: https://develop.svn.wordpress.org/trunk@16522 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:55:11 +00:00
Mark Jaquith
55e0256967 esc_textarea() and application for obvious textarea escaping. props alexkingorg. fixes #15454
git-svn-id: https://develop.svn.wordpress.org/trunk@16431 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:12:01 +00:00
Peter Westwood
91d456e319 Restore the (at most 15) on the Recent Posts Widgets UI - Accidentally removed as part of [14483].
git-svn-id: https://develop.svn.wordpress.org/trunk@16013 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 14:10:47 +00:00
Andrew Nacin
ad18a5dc4b Standardize on 'Display as dropdown' and list those before post counts in default widgets. fixes #15096.
git-svn-id: https://develop.svn.wordpress.org/trunk@15993 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 01:52:59 +00:00
Andrew Nacin
5e37bb785a s/showposts/posts_per_page/
git-svn-id: https://develop.svn.wordpress.org/trunk@15788 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-13 05:25:00 +00:00
Mark Jaquith
93680ad646 Rename caller_get_posts WP_Query flag to ignore_sticky_posts, because that is the only thing it does. fixes #14624. props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@15589 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 04:46:08 +00:00
Ryan Boren
fdc775d75e Filter title for Custom Menu widget. Props jorbin. fixes #14009 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15316 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-24 15:07:11 +00:00
Ryan Boren
fc2793bd46 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: https://develop.svn.wordpress.org/trunk@15220 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 15:53:41 +00:00
Andrew Nacin
646aaa1d62 Don't specify a background for the default RSS widget's icon. props lancewillet, fixes #13719.
git-svn-id: https://develop.svn.wordpress.org/trunk@15192 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:49:55 +00:00
Ryan Boren
87b18f33d2 Whitespace cleanup. Props zeo. fixes #13678
git-svn-id: https://develop.svn.wordpress.org/trunk@15115 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 19:56:19 +00:00
Andrew Nacin
ef2a9bacc1 Don't fall back to pages list in the menus widget. props filosofo, fixes #13634.
git-svn-id: https://develop.svn.wordpress.org/trunk@15074 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 14:15:28 +00:00
Ryan Boren
aec821c651 Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 02:42:15 +00:00
Andrew Nacin
5e0a7abf5c s/navigation menu/custom menu/. props jane, duck_. fixes #13519.
git-svn-id: https://develop.svn.wordpress.org/trunk@14849 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 19:31:31 +00:00
Andrew Nacin
e6fcc1df7c Don't show unapproved comments in comments widget. props jshreve, fixes #10615.
git-svn-id: https://develop.svn.wordpress.org/trunk@14679 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-15 21:44:12 +00:00
Ryan Boren
28f42b1b8b Don't output empty title. Props mattwiebe, ptahdunbar. fixes #13240
git-svn-id: https://develop.svn.wordpress.org/trunk@14644 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 18:52:59 +00:00
Andrew Nacin
0d472228a2 Add closing tr tag to custom-background.php. Close paragraph tags in the recent comments and posts widget controls. props jshreve, see #13383.
git-svn-id: https://develop.svn.wordpress.org/trunk@14617 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 01:50:46 +00:00
Nikolay Bachiyski
599c19481e I18n for custom taxonomies. Fixes #13357
git-svn-id: https://develop.svn.wordpress.org/trunk@14614 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 00:34:04 +00:00
Peter Westwood
728b90a13b Introduce wp_reset_postdata(). Use it to reset the post global for the current query_posts() call after using a loop with a new WP_Query object. Fixes #12320 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14607 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 20:39:54 +00:00
Andrew Nacin
7fcb6fef4b Use wp_cache_set instead of wp_cache_add in recent posts and archives widgets. props Denis-de-Bernardy, fixes #11580.
git-svn-id: https://develop.svn.wordpress.org/trunk@14486 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 20:40:10 +00:00
Peter Westwood
ebbb23e25b Make the recent comments widget use the get_comments() api and cache the result. Fixes #10615 props filosofo and blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@14483 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 19:31:45 +00:00
Ryan Boren
57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren
7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin
f049bc949c s/blog/site/ in more places.
git-svn-id: https://develop.svn.wordpress.org/trunk@14326 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-01 07:09:38 +00:00
Andrew Nacin
2473cefe8f s/blog/site/ in even more places. props PeteMall, see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@14315 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 03:17:49 +00:00
Ryan Boren
e61755c853 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-17 16:27:25 +00:00
Ron Rennick
d6d03bf1a8 fix spelling/typo in nav menu message, props jorbin, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13712 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 22:46:30 +00:00
Ryan Boren
2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Ron Rennick
ed52a823cc more menu improvements, props ptahdunbar, see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13473 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 23:06:56 +00:00