Commit Graph

63 Commits

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