Commit Graph

218 Commits

Author SHA1 Message Date
Ryan Boren d2067ba297 New dashboard from mdawaffe. see #5750
git-svn-id: https://develop.svn.wordpress.org/trunk@6705 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 07:57:51 +00:00
Ryan Boren 8cc330126b Recent entries widget caching fixes from mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@6687 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 23:28:58 +00:00
Ryan Boren c929b2f5e5 Pass remember arg. see #5405
git-svn-id: https://develop.svn.wordpress.org/trunk@6644 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-23 18:20:59 +00:00
Ryan Boren 9b419d296f Fix some array warnings. Props mdawaffe. see #5583
git-svn-id: https://develop.svn.wordpress.org/trunk@6560 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-05 05:20:56 +00:00
Ryan Boren 6dc06a8e41 Widget admin redesign from mdawaffe. see #5583
git-svn-id: https://develop.svn.wordpress.org/trunk@6556 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 23:34:33 +00:00
Peter Westwood e097caa70c Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@6436 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 21:25:12 +00:00
Ryan Boren c5df163698 Fix registration of multiple sidebars. Props watson. fixes #5352
git-svn-id: https://develop.svn.wordpress.org/trunk@6381 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-14 08:06:08 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren 8893deff85 Don't run sanitize_title on IDs in new widgets API to avoid performance overhead. fixes #5326
git-svn-id: https://develop.svn.wordpress.org/trunk@6323 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-08 00:56:54 +00:00
Peter Westwood 70609d051f Use a for loop where it's more appropriate. Fixes #5234 props darkdragon and DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@6275 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-19 16:32:56 +00:00
Mark Jaquith b307377ea1 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: https://develop.svn.wordpress.org/trunk@6207 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-09 04:13:36 +00:00
Ryan Boren c23298decb Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6182 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-03 16:16:55 +00:00
Ryan Boren 20cb146746 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@6169 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-26 16:12:28 +00:00
Ryan Boren 2e0f3b30e8 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: https://develop.svn.wordpress.org/trunk@6109 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 05:33:54 +00:00
Mark Jaquith 41f61e4056 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6098 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 20:48:21 +00:00
Mark Jaquith bb7b7901b9 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: https://develop.svn.wordpress.org/trunk@6054 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-06 23:27:16 +00:00
Ryan Boren 7f8b7c9859 Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: https://develop.svn.wordpress.org/trunk@6040 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 21:50:52 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Ryan Boren 0210464be1 Limit recent entries query to published posts. fixes #4786
git-svn-id: https://develop.svn.wordpress.org/trunk@5973 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 18:02:19 +00:00
Peter Westwood 84b76f6832 Remove dead code. Fixed #4791 props filosofo
git-svn-id: https://develop.svn.wordpress.org/trunk@5970 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:36:46 +00:00
Peter Westwood 5ad60fe10f Fix xhtml output for RSS widget when feed contains no items. Fixed #4671 props brettz95 and Nazgul
git-svn-id: https://develop.svn.wordpress.org/trunk@5968 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-29 17:28:07 +00:00
Peter Westwood f763c751d8 Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@5960 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 20:12:43 +00:00
Ryan Boren 62f1de6322 Pass args as array instead of query string.
git-svn-id: https://develop.svn.wordpress.org/trunk@5876 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:00:47 +00:00
Mark Jaquith ac7bd8d13a Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@5823 602fd350-edb4-49c9-b593-d223f7449a82
2007-07-30 16:23:04 +00:00
Mark Jaquith f3de8f4aab Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: https://develop.svn.wordpress.org/trunk@5747 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-23 05:32:16 +00:00
Ryan Boren 5bac944f80 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5717 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-16 02:03:25 +00:00
Ryan Boren 09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n 019eff6399 Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: https://develop.svn.wordpress.org/trunk@5688 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-12 21:48:55 +00:00
rob1n f7d1916e11 Maintain "Page order" for consistency. fixes #4431
git-svn-id: https://develop.svn.wordpress.org/trunk@5677 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-11 21:11:40 +00:00
rob1n 96dac9ed94 Revert multiple category stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5675 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-09 00:59:14 +00:00
rob1n 1367219198 Some more multiple category widget stuff. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5673 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 22:50:37 +00:00
rob1n 4726ebca94 Add support for multiple instances of the category widget. see #4285
git-svn-id: https://develop.svn.wordpress.org/trunk@5669 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-08 14:49:30 +00:00
rob1n 8233bb1c4f Add option to exclude pages to pages widget. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5605 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 01:57:10 +00:00
rob1n 2bc1518cb8 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5535 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-24 00:29:51 +00:00
rob1n a24222a0f0 Run it through the filter. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5519 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 22:36:56 +00:00
Ryan Boren d575d01059 Remove the_content filter from widget text. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5518 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 21:32:07 +00:00
rob1n d0c8498d66 Don't show title if user leaves it blank. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5509 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 00:25:44 +00:00
rob1n d713e47401 Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: https://develop.svn.wordpress.org/trunk@5499 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-21 13:13:22 +00:00
rob1n 2a8574bd7b Select the option if it's set to that. fixes #4291
git-svn-id: https://develop.svn.wordpress.org/trunk@5490 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 04:26:02 +00:00
rob1n aec72baa24 Texturize and autop the text widgets, and allow pages to be sorted by a specified field. Props Denis de Bernardy. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5486 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-18 02:29:11 +00:00
Ryan Boren 3e813379d0 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5485 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-16 17:49:32 +00:00
Ryan Boren 25e659472d Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5474 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 05:13:39 +00:00
Ryan Boren d213ecdab4 Obey show_post_count for dropdown.
git-svn-id: https://develop.svn.wordpress.org/trunk@5421 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 21:54:30 +00:00
Ryan Boren 7c1f56b9b7 attribute_escape for widgets. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5403 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-07 02:16:28 +00:00
Ryan Boren 0568d96794 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5399 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-06 07:08:11 +00:00
Ryan Boren 7c61a32074 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@5381 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 02:23:49 +00:00
Ryan Boren 4b4d4d9bb5 Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: https://develop.svn.wordpress.org/trunk@5366 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 22:51:52 +00:00
rob1n 0cf5f8cf12 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5363 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:58:18 +00:00
rob1n 3f99d19cc3 Typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@5362 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:27:46 +00:00
rob1n 697a38d8e8 Move widget stuff around. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5360 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-01 01:13:06 +00:00
Ryan Boren 9b87344634 Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5358 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 20:02:02 +00:00
Ryan Boren 3c6b689f0e When using the traditional list view of the categories,
make sure the wp_list_categories() doesn't add in another title. This
was causing a second Categories to show up on the category widget.  Props Jospeh Scott

git-svn-id: https://develop.svn.wordpress.org/trunk@5356 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 17:43:11 +00:00
Ryan Boren 176a6414e9 Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: https://develop.svn.wordpress.org/trunk@5354 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 16:45:23 +00:00
Ryan Boren 1eb7a5f1e5 Remove debug
git-svn-id: https://develop.svn.wordpress.org/trunk@5351 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:47:14 +00:00
Ryan Boren 77fb496bc6 Don't use deprecated category API.
git-svn-id: https://develop.svn.wordpress.org/trunk@5349 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 03:32:33 +00:00
rob1n fdc3ca298c Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5348 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-30 02:35:28 +00:00
Ryan Boren 97bf7944c2 Fix widget control registration where id is not passed in.
git-svn-id: https://develop.svn.wordpress.org/trunk@5341 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 17:04:16 +00:00
Ryan Boren af32dce26a Create widget id from widget name when id not specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@5338 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 06:08:27 +00:00
Ryan Boren 91e1cb92ec Some widgets gettext.
git-svn-id: https://develop.svn.wordpress.org/trunk@5334 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-28 00:29:27 +00:00
Ryan Boren 004f9d7d27 Fix text and rss widget registration. fixes #4204 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5320 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:49:11 +00:00
Ryan Boren 09d31c8edb Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: https://develop.svn.wordpress.org/trunk@5319 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 17:17:30 +00:00
rob1n 2d6c38c7cf Links widget fixes from Otto42. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5317 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 03:43:59 +00:00
rob1n 7a6aba312d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: https://develop.svn.wordpress.org/trunk@5316 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:13:18 +00:00
Ryan Boren 78226c0f85 Update widgets to latest bits. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5301 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 21:36:17 +00:00
Ryan Boren 774a35bbec widgets.php be doubling down. Once is enough.
git-svn-id: https://develop.svn.wordpress.org/trunk@5300 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 18:41:42 +00:00
rob1n ffc63c60e3 Widgets for 2.3. fixes #4186
git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 01:05:17 +00:00