Commit Graph

99 Commits

Author SHA1 Message Date
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
Andrew Ozz
45fa3ed5a3 Properly escape the title in the feed widget, props nbachiyski, fixes #10378 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11707 602fd350-edb4-49c9-b593-d223f7449a82
2009-07-11 04:18:26 +00:00
Andrew Ozz
329fd81b20 Fix cache in WP_Widget_Recent_Posts, fixes #10251 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11651 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 14:35:40 +00:00
Peter Westwood
ae8e3e6593 Check to see if we have an author before displaying it. See #9948.
git-svn-id: https://develop.svn.wordpress.org/trunk@11471 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-27 21:51:25 +00:00
Ryan Boren
e12c642c54 Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
Andrew Ozz
4481a721fc Fix labels for the checkboxes in the Links widget
git-svn-id: https://develop.svn.wordpress.org/trunk@11432 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 16:27:23 +00:00
Andrew Ozz
f0453f5e36 Attempt to fix jQuery UI unselectable form fields in widgets, label can be either explicit or implicit, not both.
git-svn-id: https://develop.svn.wordpress.org/trunk@11431 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 16:13:05 +00:00
Andrew Ozz
29ed683636 Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11427 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 12:08:51 +00:00
Mark Jaquith
ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +00:00
Mark Jaquith
f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Ryan Boren
fc80cdec6b Remove vestiges of what_to_show. Props filosofo. fixes #9815
git-svn-id: https://develop.svn.wordpress.org/trunk@11318 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-13 22:28:56 +00:00
Ryan Boren
5cc712d1e3 Add title attributes to links in recent entries widget. Props topncal, Denis-de-Bernardy. fixes #6091
git-svn-id: https://develop.svn.wordpress.org/trunk@11293 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 05:47:25 +00:00
Ryan Boren
2a25e50450 Add title option to search widget. Props hakre. fixes #9756
git-svn-id: https://develop.svn.wordpress.org/trunk@11274 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-11 19:48:56 +00:00
Andrew Ozz
d9b8bed089 Add filters for default widgets calling template functions, props Denis-de-Bernardy, fixes #9780
git-svn-id: https://develop.svn.wordpress.org/trunk@11254 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-10 09:14:37 +00:00
Peter Westwood
a9fc3bac09 Fix notices when the Recent_Comments widget has no settings
git-svn-id: https://develop.svn.wordpress.org/trunk@11228 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-07 06:57:28 +00:00
Mark Jaquith
c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz
2091edf9e1 Wrap tag cloud in a block element, props hudatoriq, fixes #7905
git-svn-id: https://develop.svn.wordpress.org/trunk@11199 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 07:14:51 +00:00
Andrew Ozz
3bf18aa189 Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren
eb4fd7e4f6 always apply widget_title filter. Props Denis-de-Bernardy. fixes #9450
git-svn-id: https://develop.svn.wordpress.org/trunk@11188 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 03:59:08 +00:00
Ryan Boren
cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Andrew Ozz
d578c68a73 Widgets UI styling, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11160 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 05:27:13 +00:00
Ryan Boren
fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Andrew Ozz
1ebfefd191 Move Tag Cloud widget to WP_Widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11094 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 09:28:57 +00:00
Andrew Ozz
95871c8e51 Move RSS widget to WP_Widget, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11093 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-27 08:46:47 +00:00
Andrew Ozz
9a7f9d2ae1 Move recent comments widget to WP_Widget, extend is_active_widget() to use $id_base, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11090 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 20:09:08 +00:00
Andrew Ozz
78bb20529a Fix conversion of old widget settings for Recent Posts, see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11088 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-26 05:34:06 +00:00
Andrew Ozz
1ad72b3d59 Move recent posts widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@11087 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-25 12:43:51 +00:00
Ryan Boren
ea6c1efcb9 Silence html_entity_decode warnings. Props Denis-de-Bernardy. fixes #9616
git-svn-id: https://develop.svn.wordpress.org/trunk@11081 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-24 16:57:27 +00:00
Ryan Boren
3d3d56b538 Add option to run wpautop for text widget. Props Denis-de-Bernardy. fixes #5113
git-svn-id: https://develop.svn.wordpress.org/trunk@11018 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 19:59:46 +00:00
Andrew Ozz
cf45258321 Add and edit widget when js is disabled, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11009 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 10:58:50 +00:00
Andrew Ozz
8e48888e47 Widgets page, first run, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10912 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-11 14:37:24 +00:00
Ryan Boren
29c7cbf6c6 Allowing displaying links from a specific category in the links widget. Props Denis-de-Bernardy. fixes #9449
git-svn-id: https://develop.svn.wordpress.org/trunk@10896 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-08 19:37:33 +00:00
Ryan Boren
fa588c3598 Remove spurious character. Props hakre. fixes #9428
git-svn-id: https://develop.svn.wordpress.org/trunk@10853 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-31 22:01:51 +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
1290b81a4f Move categories widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10809 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 01:50:20 +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
dce7bff2eb Move text widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10802 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 15:39:36 +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
88cc08d193 Move calendar widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10800 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 02:41:28 +00:00
Ryan Boren
a9414a120c Move calendar widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10799 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 02:33:08 +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
2f2d20a037 Move meta widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10797 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:45:16 +00:00
Ryan Boren
0da2613a2c Move meta widget to WP_Widget. see #8441
git-svn-id: https://develop.svn.wordpress.org/trunk@10796 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-16 22:44:30 +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