Commit Graph

2185 Commits

Author SHA1 Message Date
ryan d7a6781cc6 Add 'Select' text to the dropdowns. Props Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-04 02:24:23 +00:00
rob1n aa19ffe126 Load order fixed.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:52:14 +00:00
rob1n 6f2a4b74a9 Don't show Widgets admin page if core widgets aren't enabled. fixes #4218
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-03 00:43:57 +00:00
rob1n 6ecf459918 Don't double encode gzip output if gzip is already set in php.ini. Props welcomb. fixes #4205 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 02:36:44 +00:00
ryan 5a547001ee Call get_option('siteurl') outside the loop to save a few dozen get_option calls. Props andissimo.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-02 00:32:38 +00:00
ryan 5964d5f48a Remove wp_ prefix from default widget class names. For back compat.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 22:52:14 +00:00
rob1n 276c2f7b94 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/branches/2.2@5363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:58:18 +00:00
rob1n 67bd2acaf9 Move widget stuff around. see #4169
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-01 01:13:06 +00:00
ryan a4c00744ff Widget registration fixes from Andy. For 2.2. see #4169
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 20:02:15 +00:00
ryan 41a9ec3b9a 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: http://svn.automattic.com/wordpress/branches/2.2@5357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 17:46:38 +00:00
ryan 73d48439f8 Fix typo breaking recent comment cache deletion for widgets.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 16:45:44 +00:00
ryan 041af31c32 Remove debug
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:47:34 +00:00
ryan 407b07f2a7 Don't use deprecated category API.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 03:33:13 +00:00
rob1n 77fb8f7ac6 Bring back old behavior for sidebar ID's. Props filosofo. see #4169
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-30 02:35:28 +00:00
ryan 5a58316eb0 Fix widget control registration where id is not passed in.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 17:04:39 +00:00
ryan 4bbdc94490 Create widget id from widget name when id not specified.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 06:08:45 +00:00
ryan f59d101bd8 Kick widgets init from init hook.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:36:04 +00:00
ryan e3748ee830 Some widgets gettext.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-28 00:29:53 +00:00
ryan 6cbf98b1b7 Fix text and rss widget registration. fixes #4202 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:49:53 +00:00
ryan a822a3cf5c Add dropdown option to archives and categories widgets. Props Joseph Scott. fixes #4194 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 17:17:11 +00:00
rob1n 13dd0b74e7 Links widget fixes from Otto42. see #4169
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 03:43:59 +00:00
rob1n 11675fb3fc 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: http://svn.automattic.com/wordpress/branches/2.2@5316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-26 02:13:18 +00:00
ryan 9fadff8d4b Remove rel_type ref
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-25 18:54:29 +00:00
ryan 6298c5b93c Update widgets to latet bits. For 2.2. see #4169
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-24 23:46:57 +00:00
ryan bac405380f Fix variable collission in _get_cat_children. For 2.2. see #3985
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-23 20:31:47 +00:00
rob1n fb198a068a Widgets support. fixes #4169 for 2.2
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-22 23:27:40 +00:00
markjaquith a9b5bc0f13 Roll tags out of 2.2 -- reverts [5272], [5271], [5257], [5254], [5253], [5251], [5250], [5243], [5235], [5234], [5232], [5231], [5229], [5228], [5217], [5216], [5215], [5213], half of [5210], [5209], [5205], [5203], [5201], [5196], [5184], [5168], [5163], [5162], [5150], [5149], [5148], [5147], [5113], [5112], [5111], and [5110]
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 22:26:52 +00:00
rob1n ceb60d8af8 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: http://svn.automattic.com/wordpress/trunk@5285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:53:19 +00:00
rob1n f2d8504d16 Cast substr()'s to int before passing through mktime() to prevent warning. Props josephscott. fixes #4166
git-svn-id: http://svn.automattic.com/wordpress/trunk@5284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-19 02:49:19 +00:00
ryan 8cbe134f81 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: http://svn.automattic.com/wordpress/trunk@5283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-18 22:51:54 +00:00
ryan 49166ab920 Revert [5275] - [5277]. Fix it later. see #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 23:00:35 +00:00
ryan b4fd79f281 AJAXcat fixes and FF workaround from mdawaffe. fixes #3895
git-svn-id: http://svn.automattic.com/wordpress/trunk@5280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 20:56:41 +00:00
rob1n 47de90d17a Fix another typo. Not a good day at all.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 01:17:45 +00:00
rob1n 37d7ae825b Fix typo. Thanks Lloyd.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-17 00:53:58 +00:00
rob1n 763828ed10 Add get_edit_comment_link() and get_edit_post_link(). fixes #4153
git-svn-id: http://svn.automattic.com/wordpress/trunk@5275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 23:53:34 +00:00
ryan 02cfbbe93b Use wp_hash to create cron's check hash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-16 20:47:23 +00:00
ryan f651ce93c3 tag_exists(), category_object_exists(), and some tag and cat create fix ups. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-15 02:26:26 +00:00
rob1n d7a828c373 Add in another trim(), just in case $frag is actually something.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:19:01 +00:00
rob1n 999e232f12 trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: http://svn.automattic.com/wordpress/trunk@5267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-14 00:11:47 +00:00
rob1n 62f5c944dc Fix gettext's plural forms for more than 2 plural forms. Props moeffju and nbachiyski. fixes #4005
git-svn-id: http://svn.automattic.com/wordpress/trunk@5266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:29:47 +00:00
rob1n 24e1d66471 Respect show_option_all in wp_list_categories(). Props westi. fixes #4145
git-svn-id: http://svn.automattic.com/wordpress/trunk@5265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-13 23:20:14 +00:00
rob1n ae0d54317c Don't treat object and param as block elements in wpautop. fixes #3854
git-svn-id: http://svn.automattic.com/wordpress/trunk@5262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 23:19:16 +00:00
rob1n 30d6c1ad15 Get add_query_arg() to urlencode all values of parse_str array. Props mdawaffe. fixes #4084
git-svn-id: http://svn.automattic.com/wordpress/trunk@5261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 22:00:22 +00:00
rob1n 0e669f143d Replace some stristr's with stripos'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:59:31 +00:00
ryan 5fae2af843 Refactor l10n code to reduce duplication. Change placement of context. Props nbachiyski. fixes #3687
git-svn-id: http://svn.automattic.com/wordpress/trunk@5258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 21:15:44 +00:00
rob1n dbda3aabaa Upgrade TinyMCE to 2.1.0. Props andy. fixes #3788
git-svn-id: http://svn.automattic.com/wordpress/trunk@5256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 17:04:03 +00:00
rob1n 75efedc528 Delete the cache in tmp even if the copy failed. Props andy. fixes #4141
git-svn-id: http://svn.automattic.com/wordpress/trunk@5255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 16:31:47 +00:00
ryan 0e28e967ad Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
git-svn-id: http://svn.automattic.com/wordpress/trunk@5248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-12 02:27:12 +00:00
rob1n 43c0541e81 <!--more--> regex fixes. Props Nazgul. fixes #3698
git-svn-id: http://svn.automattic.com/wordpress/trunk@5244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 22:47:36 +00:00
ryan b6c49e3023 Allow passing an empty tag set to wp_set_post_tags() so all tags can be removed from a post. see #3723
git-svn-id: http://svn.automattic.com/wordpress/trunk@5243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 18:04:49 +00:00