Commit Graph

94 Commits

Author SHA1 Message Date
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
Ryan Boren c5ed3410f1 Formatting cleanups for the nav menu widget. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13388 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 21:33:27 +00:00
Ryan Boren 01566773be Rename nav menu widget. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13378 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:25:13 +00:00
Ryan Boren e52fa727be Nav menu cleanups. Props nbachiyski. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13375 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 18:52:54 +00:00
Ryan Boren ed332ce2bd Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:45:26 +00:00
Ryan Boren f6e79cc66c s/custom_nav()/wp_nav_menu()/. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13361 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 06:18:13 +00:00
Ryan Boren 1aec1c4178 More output consolidation. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13336 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 19:28:41 +00:00
Andrew Nacin 11489bbd41 Don't show two ellipses in wp_widget_rss_output(). Fixes #11244 props miqrogroove
git-svn-id: https://develop.svn.wordpress.org/trunk@13328 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-23 10:30:21 +00:00
Dion Hulse 46caaba88b Allow the Tag Cloud Widget to support non-tag taxonomies. Props Sivel. Fixes #11612
git-svn-id: https://develop.svn.wordpress.org/trunk@13276 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 02:47:58 +00:00
Ryan Boren f24e88359e Trim trailing whites
git-svn-id: https://develop.svn.wordpress.org/trunk@13268 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-21 00:03:42 +00:00
Ron Rennick f97af13505 introduce custom menus, props jeffikus, See #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13257 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 21:57:43 +00:00
Andrew Nacin dc428cec96 Always pass widget instance to widget_title filter. Also add widget type, props scribu, fixes #11362
git-svn-id: https://develop.svn.wordpress.org/trunk@13248 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-20 11:56:00 +00:00
Ryan Boren 48d12af9f6 Fix notices
git-svn-id: https://develop.svn.wordpress.org/trunk@13068 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 20:14:17 +00:00
Ryan Boren 2e46e81309 i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: https://develop.svn.wordpress.org/trunk@12789 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-21 21:37:43 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren 974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Ryan Boren 7d45163e3e Make sure we have a SimplePie object before calling destruct. Props scribu. see #11518
git-svn-id: https://develop.svn.wordpress.org/trunk@12475 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-21 23:36:12 +00:00
Andrew Ozz 917d2e345f Fix slashes in the Text widget, props Denis-de-Bernardy, fixes #10563
git-svn-id: https://develop.svn.wordpress.org/trunk@12364 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 09:54:15 +00:00
Mark Jaquith 5301d79a97 Do not display comments on non-public posts in comments widget. props Denis-de-Bernardy. fixes #9211
git-svn-id: https://develop.svn.wordpress.org/trunk@12333 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-07 18:09:11 +00:00
Ryan Boren 161beb7f61 Don't destruct if WP_Error. Props scribu. fixes #11168
git-svn-id: https://develop.svn.wordpress.org/trunk@12209 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 21:52:38 +00:00
Ryan Boren cac2e59fda Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
git-svn-id: https://develop.svn.wordpress.org/trunk@12193 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 22:42:58 +00:00
Andrew Ozz 962116a319 Strip slashes in the text widget for users without the unfiltered_html capability, props jamescollins, fixes #10563
git-svn-id: https://develop.svn.wordpress.org/trunk@11794 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-09 12:32:18 +00:00
Peter Westwood 599246431b Pass the widget instance as context to the widget_title and widget_text filters. Fixes #10573 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@11792 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-09 10:35:28 +00:00
Mark Jaquith d70c5162bf Fix some default widget PHP notices. props mrmist. fixes #10225
git-svn-id: https://develop.svn.wordpress.org/trunk@11757 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-31 09:35:59 +00:00
Andrew Ozz 235c33b9fb Flush the cache in Recent Comments widget on transition_comment_status, props josephscott, fixes #10427
git-svn-id: https://develop.svn.wordpress.org/trunk@11718 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-16 22:31:22 +00:00