Commit Graph

65 Commits

Author SHA1 Message Date
ryan 61a5a4cca0 Fix some array warnings. Props mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-05 05:20:56 +00:00
ryan 4f56c35980 Widget admin redesign from mdawaffe. see #5583
git-svn-id: http://svn.automattic.com/wordpress/trunk@6556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 23:34:33 +00:00
westi 1f889417e5 Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 21:25:12 +00:00
ryan c4020242c2 Fix registration of multiple sidebars. Props watson. fixes #5352
git-svn-id: http://svn.automattic.com/wordpress/trunk@6381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-14 08:06:08 +00:00
ryan 028a159440 Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
ryan 1ea72d5996 Don't run sanitize_title on IDs in new widgets API to avoid performance overhead. fixes #5326
git-svn-id: http://svn.automattic.com/wordpress/trunk@6323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-11-08 00:56:54 +00:00
westi 5fb4d6ab00 Use a for loop where it's more appropriate. Fixes #5234 props darkdragon and DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-19 16:32:56 +00:00
markjaquith 60cde1b789 use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168
git-svn-id: http://svn.automattic.com/wordpress/trunk@6207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-09 04:13:36 +00:00
ryan 5300ef20cf Add sanitize_url. Don't convert ampersands in URLs when saving to DB. fixes #4411 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-03 16:16:55 +00:00
ryan 649cff7dc2 Fix typo in category widget class name. Props joostdevalk. fixes #5079 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-26 16:12:28 +00:00
ryan 9e61170004 s/onChange/onchange/. Props grubgirl, Nazgul. fixes #4630
git-svn-id: http://svn.automattic.com/wordpress/trunk@6109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 05:33:54 +00:00
markjaquith 0880ca8693 Set widget classname when passed string, object/method, object-reference/method. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 20:48:21 +00:00
markjaquith 1ba81b4f02 Properly construct widget classname if second param is an array. Props f00f. fixes #4910
git-svn-id: http://svn.automattic.com/wordpress/trunk@6054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-06 23:27:16 +00:00
ryan c5d33cbebd Basic tag cloud widget. Props Stargazer. fixes #4130
git-svn-id: http://svn.automattic.com/wordpress/trunk@6040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-05 21:50:52 +00:00
ryan 321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan 87c4f3a17f Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:19:20 +00:00
ryan ef5caabe37 Limit recent entries query to published posts. fixes #4786
git-svn-id: http://svn.automattic.com/wordpress/trunk@5973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 18:02:19 +00:00
westi 51bde8f657 Remove dead code. Fixed #4791 props filosofo
git-svn-id: http://svn.automattic.com/wordpress/trunk@5970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:36:46 +00:00
westi 36ec45d7ff Fix xhtml output for RSS widget when feed contains no items. Fixed #4671 props brettz95 and Nazgul
git-svn-id: http://svn.automattic.com/wordpress/trunk@5968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-29 17:28:07 +00:00
westi 67d21286a8 Ensure we flush the recent entries widget cache after a post has been deleted. Fixes #4825 props donncha
git-svn-id: http://svn.automattic.com/wordpress/trunk@5960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-28 20:12:43 +00:00
ryan f478ddaa36 Pass args as array instead of query string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-16 18:00:47 +00:00
markjaquith e06883dfcc Use "home," not "siteurl" for widget dropdown category URLs. Props Pastinakel. fixes #4683 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-07-30 16:23:04 +00:00
markjaquith ad9271f86f Don't init widgets if the blog isn't installed yet. fixes #4504
git-svn-id: http://svn.automattic.com/wordpress/trunk@5747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-23 05:32:16 +00:00
ryan e30a9ba012 Upgrade code for multiple category widgets. Props Andy. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-16 02:03:25 +00:00
ryan 9d3d20f063 Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +00:00
ryan 2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n e3328ca20b Don't include HTML in gettext call. Props nbachiyski and Nazgul. fixes #4437
git-svn-id: http://svn.automattic.com/wordpress/trunk@5688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-12 21:48:55 +00:00
rob1n ff6f1383d1 Maintain "Page order" for consistency. fixes #4431
git-svn-id: http://svn.automattic.com/wordpress/trunk@5677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-11 21:11:40 +00:00
rob1n 6e5e54b5ae Revert multiple category stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-09 00:59:14 +00:00
rob1n 32a890bd26 Some more multiple category widget stuff. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 22:50:37 +00:00
rob1n 64b91fc94b Add support for multiple instances of the category widget. see #4285
git-svn-id: http://svn.automattic.com/wordpress/trunk@5669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-08 14:49:30 +00:00
rob1n ba3abf0733 Add option to exclude pages to pages widget. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 01:57:10 +00:00
rob1n cf3f7ac197 Use selected() to clean that up. Thanks Mark. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-24 00:29:51 +00:00
rob1n 6a1b3fcd19 Run it through the filter. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 22:36:56 +00:00
ryan c5967f3432 Remove the_content filter from widget text. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 21:32:07 +00:00
rob1n 3ed5b0a01e Don't show title if user leaves it blank. see #4259
git-svn-id: http://svn.automattic.com/wordpress/trunk@5509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-22 00:25:44 +00:00
rob1n 041135b01b Pass text widget text through format_to_edit. Props Ryan. fixes #4302
git-svn-id: http://svn.automattic.com/wordpress/trunk@5499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-21 13:13:22 +00:00
rob1n 1d47f812cd Select the option if it's set to that. fixes #4291
git-svn-id: http://svn.automattic.com/wordpress/trunk@5490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-19 04:26:02 +00:00
rob1n 5d40bf562c 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: http://svn.automattic.com/wordpress/trunk@5486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-18 02:29:11 +00:00
ryan 8da6590866 Restore crack-headed arg passing to register_sidebar_widget(). fixes #4275 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-16 17:49:32 +00:00
ryan 1fbb89b1a0 Allow sidebar names to be passed to dynamic_sidebar(). fixes #4258 for 2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@5474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-14 05:13:39 +00:00
ryan 6f6062af97 Obey show_post_count for dropdown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-09 21:54:30 +00:00
ryan 9b1b9b2084 attribute_escape for widgets. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-07 02:16:28 +00:00
ryan 23b99491a2 Fix widget registration back compat by splitting API. Fix feed widget. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-06 07:08:11 +00:00
ryan 2cc75dbc63 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 02:23:49 +00:00
ryan b159bcacff Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 22:51:52 +00:00
rob1n b21f9bdc98 New way of loading widgets that works with PHP 5. Thanks to filosofo for testing. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:58:18 +00:00
rob1n 5339481434 Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:27:46 +00:00
rob1n 58d8ed1284 Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan 72a19935ff Widget registration fixes from Andy. For 2.3. see #4169
git-svn-id: http://svn.automattic.com/wordpress/trunk@5358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 20:02:02 +00:00