Commit Graph

125 Commits

Author SHA1 Message Date
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
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