Commit Graph

145 Commits

Author SHA1 Message Date
Ryan Boren 9b39471cc0 Move WP_Widget to the top
git-svn-id: https://develop.svn.wordpress.org/trunk@10822 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-19 22:10:18 +00:00
Ryan Boren f6273323c0 Add some phpdoc to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10812 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 07:20:58 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 0b25a700cb Introduce singleton widget factory
git-svn-id: https://develop.svn.wordpress.org/trunk@10808 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 23:44:36 +00:00
Ryan Boren 184e5b69e8 Echo submit field from base class so widgets don't have to do it.
git-svn-id: https://develop.svn.wordpress.org/trunk@10807 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 21:20:19 +00:00
Ryan Boren ea91a8791a Move submit check into WP_Widget
git-svn-id: https://develop.svn.wordpress.org/trunk@10801 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 02:58:15 +00:00
Ryan Boren b05ffb1229 Separate widget form and update callbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@10798 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 00:59:42 +00:00
Ryan Boren 90931b60f0 Separate default widgets from widgets API. Always load API. fixes #9349
git-svn-id: https://develop.svn.wordpress.org/trunk@10795 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:02:40 +00:00
Ryan Boren cf340322af Move archives widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10794 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 21:44:36 +00:00
Andrew Ozz 7efda16c61 Fix php warning in widgets.php, props zeronex, fixes #9330
git-svn-id: https://develop.svn.wordpress.org/trunk@10789 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-15 11:18:09 +00:00
Ryan Boren 5685b381a9 Prune. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10786 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-14 17:25:59 +00:00
Ryan Boren 5ec8505579 Convert pages to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10785 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-14 17:24:11 +00:00
Ryan Boren d20a34c176 Convert search to WP_Widget. Handle upgrade of widgets without settings. Make form and update override optional. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10784 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-14 16:34:08 +00:00
Ryan Boren b114706bcb s/WP_Widgets/WP_Widget/ and move class to widgets.php
git-svn-id: https://develop.svn.wordpress.org/trunk@10782 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 23:18:57 +00:00
Andrew Ozz 3689f64ee3 WP_Widgets: make save_settings() and get_settings() separate methods, convert defined single widgets settings to multi-widget format, small fixes for the Links widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10781 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 22:27:38 +00:00
Ryan Boren 5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Andrew Ozz bcb764b964 Add WP_Widget class, first run - only the Links widget is using it at the moment, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10764 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-10 19:42:22 +00:00
Andrew Ozz 82cf6e6383 Better error handling and display in the RSS widget, props DD32, fixes #8495
git-svn-id: https://develop.svn.wordpress.org/trunk@10742 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-08 05:01:26 +00:00
Andrew Ozz ec97268ea7 Add RSS Error handling functionality to RSS Widget displays, props DD32, fixes #9273
git-svn-id: https://develop.svn.wordpress.org/trunk@10739 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-07 19:44:28 +00:00
Ryan Boren c892071f81 Links widget options. Props DD32. see #9196
git-svn-id: https://develop.svn.wordpress.org/trunk@10712 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 23:49:21 +00:00
Ryan Boren ee2a7bf311 Add RSS Error handling functionality to RSS Widget displays. Props DD32. fixes #9273
git-svn-id: https://develop.svn.wordpress.org/trunk@10697 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 19:24:48 +00:00
Ryan Boren 91e3bd9358 Pass blog charset to html_entity_decode(). Props adferguson. fixes #7563
git-svn-id: https://develop.svn.wordpress.org/trunk@10688 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-03 18:37:25 +00:00
Peter Westwood 1a9d6601e2 Don't pass defaulted argument to checked(). Fixes #9032 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@10670 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 22:15:14 +00:00
Ryan Boren 7062db47c2 Use SimplePie for widget and dashboard feeds. First cut. see #9198
git-svn-id: https://develop.svn.wordpress.org/trunk@10666 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 19:32:50 +00:00
Andrew Ozz 7e98d2b7f8 Documentation correction: is_active_widget(), props mdawaffe, fixes #9080
git-svn-id: https://develop.svn.wordpress.org/trunk@10535 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-10 15:22:08 +00:00
Ryan Boren 2719acb8ed Default to empty array if sidebars_widgets is not set. Don't unset array_version if not set. fixes #8804 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10314 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-05 23:03:17 +00:00
Andrew Ozz 60f217cdc4 Clean URL in recent comments widget, props danlee, fixes #8691 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10308 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-05 12:02:05 +00:00
Andrew Ozz e5745a3391 Add semicolon to Multi-Widget Example, props dcole07, fixes #8742 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10304 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-05 11:19:53 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren 2f898b01eb Make sure widgets array version is set. fixes #8339
git-svn-id: https://develop.svn.wordpress.org/trunk@9888 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-25 22:38:36 +00:00
Ryan Boren 03d0787b0a Use wp_html_excerpt() instead of substr in rss widget. Props nbachiyski. fixes #8278
git-svn-id: https://develop.svn.wordpress.org/trunk@9791 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-19 17:43:54 +00:00
Ryan Boren 83e002f20b Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 18:54:18 +00:00
Mark Jaquith ded4fe72b8 Massive get_comment_link() performance improvements for posts with a lot of comments. props Viper007Bond. fixes #7956
git-svn-id: https://develop.svn.wordpress.org/trunk@9522 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-05 07:09:20 +00:00
Ryan Boren dab986a9b0 Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-04 03:22:24 +00:00
Ryan Boren 5413ecde13 get_search_form from technosailor. fixes #7910
git-svn-id: https://develop.svn.wordpress.org/trunk@9234 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:39:56 +00:00
Ryan Boren 9698bf7f45 Dashboard updates from mdawaffe. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@9219 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 22:35:53 +00:00
Ryan Boren 7b297a3c25 sidebars_widgets fiter from gortsleigh. fixes #7818
git-svn-id: https://develop.svn.wordpress.org/trunk@9088 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-06 16:57:31 +00:00
Ryan Boren 67fabf2691 phpdoc for widgets.php. Props jacobsantos. fixes #7661
git-svn-id: https://develop.svn.wordpress.org/trunk@8960 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-23 04:03:28 +00:00
Andrew Ozz c634b71d88 More inline documentation for widgets.php, props jacobsantos, see #7661
git-svn-id: https://develop.svn.wordpress.org/trunk@8950 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-22 03:52:41 +00:00
Peter Westwood b9770c6ca8 Notice fixes for the widgets admin page see #7509.
git-svn-id: https://develop.svn.wordpress.org/trunk@8945 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-21 20:57:04 +00:00
Ryan Boren b614b17c96 Partial phpdoc for widgets.php. Props jacobsantos. see #7661
git-svn-id: https://develop.svn.wordpress.org/trunk@8935 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-19 01:41:18 +00:00
Ryan Boren f671656422 Partial phpdoc for widgets.php. Props jacobsantos. see #7661
git-svn-id: https://develop.svn.wordpress.org/trunk@8934 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-19 01:32:45 +00:00
Ryan Boren f93fd85e5e Don't show stick posts in recent posts widget. Props MtDewVirus. fixes #7739
git-svn-id: https://develop.svn.wordpress.org/trunk@8886 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-14 05:50:10 +00:00
Ryan Boren 2a643a7f56 RSS widget shouldn't link if there isn't a link. Props MtDewVirus. fixes #7614
git-svn-id: https://develop.svn.wordpress.org/trunk@8746 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 18:00:51 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Ryan Boren 07bd0bd9cf Strip tags from summary. Props dsader. fixes #7375 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8567 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 15:49:58 +00:00
Ryan Boren 6cf0ede185 Cast to array to avoid warning. Props santosj. fixes #7222 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8538 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 20:34:45 +00:00
Ryan Boren 71c6b81617 Typo fix from robertdimarco. fixes #7297 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8341 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-15 16:21:26 +00:00
Ryan Boren 5ffc4fbcef Use searchform.php for search widget, if available. Props ionfish. fixes #5567
git-svn-id: https://develop.svn.wordpress.org/trunk@8250 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 17:03:37 +00:00