Commit Graph

2170 Commits

Author SHA1 Message Date
ryan
f035ac9b20 Make check_admin_referer() pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 23:06:58 +00:00
ryan
81908816ab Flush all_page_ids when a page is addded or deleted.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 19:58:48 +00:00
ryan
325a641cac Delete usermeta field if set to empty string. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 19:48:09 +00:00
ryan
cd678d9a32 Allow empty usermeta fields. Props David House. fixes #2341
git-svn-id: http://svn.automattic.com/wordpress/trunk@3494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 00:21:48 +00:00
ryan
e4e35319e1 Fix RSD link. Props Juergen. fixes #2349
git-svn-id: http://svn.automattic.com/wordpress/trunk@3493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-29 00:15:57 +00:00
ryan
5c166af378 CGI ping fixes. fixes #2197
git-svn-id: http://svn.automattic.com/wordpress/trunk@3491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-28 18:41:19 +00:00
matt
dd14d47290 Caching typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-28 06:19:11 +00:00
ryan
a191df007e Make sure we have an array. Props David House. fixes #2344
git-svn-id: http://svn.automattic.com/wordpress/trunk@3489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-27 19:22:55 +00:00
ryan
a225d305fa Reinstate user_firstname, user_lastname, and user_description in the user object for backwards compat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-27 18:14:33 +00:00
ryan
10c1b81d0a Use double quotes. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-26 02:33:14 +00:00
ryan
710a6ef5b5 post_custom cleanup. fixes #2160
git-svn-id: http://svn.automattic.com/wordpress/trunk@3486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 07:38:43 +00:00
ryan
f87324b259 update_option_* actions. fixes #2332
git-svn-id: http://svn.automattic.com/wordpress/trunk@3485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 06:46:21 +00:00
ryan
72dfd6faab 404 if category not found. fixes #2123
git-svn-id: http://svn.automattic.com/wordpress/trunk@3484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:59:41 +00:00
ryan
9cff7433a7 add_role() fix from nielshackius. fixes #2298
git-svn-id: http://svn.automattic.com/wordpress/trunk@3482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:39:59 +00:00
ryan
99385a2f18 Username sanitization cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-25 03:09:16 +00:00
ryan
392ba189b3 Bumpity, bump, bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-24 07:53:26 +00:00
ryan
6a4f2fbec8 add_query_arg() fix from majelbstoat. fixes #2326
git-svn-id: http://svn.automattic.com/wordpress/trunk@3474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:42:25 +00:00
ryan
9a6867aa44 is_preview() fixes from David House. fixes #2188
git-svn-id: http://svn.automattic.com/wordpress/trunk@3473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:39:56 +00:00
ryan
f4071a3759 Use array_append() instead of unions. Props majelbstoat. fixes #2321
git-svn-id: http://svn.automattic.com/wordpress/trunk@3472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:20:17 +00:00
matt
cdc37f33a4 Compat function, fixes #2319
git-svn-id: http://svn.automattic.com/wordpress/trunk@3471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-23 23:15:17 +00:00
ryan
b708753730 Don't use glob. Props David House. fixes #2312
git-svn-id: http://svn.automattic.com/wordpress/trunk@3468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:09:19 +00:00
ryan
3fa51b528a Make sure we have an array. Props Ozh and David House. fixes #2313
git-svn-id: http://svn.automattic.com/wordpress/trunk@3467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-20 21:07:10 +00:00
ryan
ee7a432c55 Cache flush improvements from Owen. fixes #2223 #2278
git-svn-id: http://svn.automattic.com/wordpress/trunk@3465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-19 22:12:15 +00:00
ryan
30be2a8f69 8 not 7. fixes #2283
git-svn-id: http://svn.automattic.com/wordpress/trunk@3464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-19 00:21:42 +00:00
ryan
4dcbfe9b37 Add ENABLE_CACHE flag to force persistent cache enable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 22:21:40 +00:00
ryan
6ff524425a Fall back to default theme if current theme is deleted. Props David House. fixes #2305
git-svn-id: http://svn.automattic.com/wordpress/trunk@3459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 19:38:29 +00:00
ryan
f6c66d873d Give draft posts a current timestamp. Props David House and technosailor. fixes #2164
git-svn-id: http://svn.automattic.com/wordpress/trunk@3458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 19:30:28 +00:00
ryan
395b6dbc1a Pass comment ID to comment email filters. Props Mark Jaquith. fixes #2307
git-svn-id: http://svn.automattic.com/wordpress/trunk@3455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 18:49:28 +00:00
ryan
45863965f1 sanitize_user() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 05:37:26 +00:00
ryan
515892d7ab wp_roles cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-18 01:06:11 +00:00
matt
0ca2b56f1e get_post_custom_values update. Fixes #2160
git-svn-id: http://svn.automattic.com/wordpress/trunk@3448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-17 01:01:17 +00:00
matt
90b3004603 Better HTTPS support - fixes #2283
git-svn-id: http://svn.automattic.com/wordpress/trunk@3445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-16 23:04:09 +00:00
ryan
d96ba966cd Use ->comments instead of . fixes #2294
git-svn-id: http://svn.automattic.com/wordpress/trunk@3442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-16 20:03:56 +00:00
ryan
86d3dbb81f wp_specialchars the request uri when contructing paging links. fixes #1686
git-svn-id: http://svn.automattic.com/wordpress/trunk@3440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-15 23:42:10 +00:00
ryan
aaf8f92d73 i18n fix from pandem. fixes #2292
git-svn-id: http://svn.automattic.com/wordpress/trunk@3438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-15 22:04:21 +00:00
ryan
db03553bf2 More upload path tweaks. fixes #2271
git-svn-id: http://svn.automattic.com/wordpress/trunk@3437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-14 22:09:51 +00:00
ryan
150fb02aa0 Disable peristent cache when safe_mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-14 21:22:48 +00:00
ryan
937e73d016 Acquire lock when flushing cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-14 00:05:22 +00:00
ryan
58029f7249 Force absolute lookup. Props tanuki. fixes #2237
git-svn-id: http://svn.automattic.com/wordpress/trunk@3433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 22:40:22 +00:00
ryan
cb093369a1 Make the xmlrpc user the current user. fixes #2273
git-svn-id: http://svn.automattic.com/wordpress/trunk@3430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 19:19:09 +00:00
ryan
558711072b kses regex tweakage for better comment filtering. fixes #2130
git-svn-id: http://svn.automattic.com/wordpress/trunk@3429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-13 07:28:47 +00:00
ryan
ba29615e7e Trigger pre_ping action outside of loop. Props Mark Jaquith. fixes #2269
git-svn-id: http://svn.automattic.com/wordpress/trunk@3427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-11 21:35:36 +00:00
ryan
96abeca9f3 Don't overwrite global request when starting a new query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-11 11:06:26 +00:00
ryan
3904108d96 Add gettext filter. fixes #2258
git-svn-id: http://svn.automattic.com/wordpress/trunk@3425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-10 22:53:40 +00:00
ryan
107326dcd9 Rerun comment text back through kses.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-10 01:27:36 +00:00
ryan
ea84ce4551 Pass comments through kses. Props tsimmons. fixes #2130 #2167
git-svn-id: http://svn.automattic.com/wordpress/trunk@3417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 23:49:56 +00:00
ryan
8154a9f636 Bump version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:29:36 +00:00
ryan
88e32d34fc Add upload folder options. Props David House. fixes #2206
git-svn-id: http://svn.automattic.com/wordpress/trunk@3413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-09 22:24:57 +00:00
ryan
84da5fc90f Save cache after the shutdown hook runs. fixes #2232
git-svn-id: http://svn.automattic.com/wordpress/trunk@3411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 02:10:43 +00:00
ryan
02089fb5f2 Fix get_post_meta() array return. fixes #2183
git-svn-id: http://svn.automattic.com/wordpress/trunk@3410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 01:30:13 +00:00
ryan
cff4c42d36 Avoid invoking template filters twice. Props David House. fixes #2225
git-svn-id: http://svn.automattic.com/wordpress/trunk@3409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-06 01:09:16 +00:00
ryan
778923ceb1 Don't cache posts when importing. fixes #2224
git-svn-id: http://svn.automattic.com/wordpress/trunk@3404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 05:34:28 +00:00
ryan
81cb9e9d7b Remove printr calls.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 05:27:31 +00:00
ryan
05188cd4a0 Don't remove top level cache dir when flushing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 04:50:58 +00:00
ryan
9c9f5f8aaa Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: http://svn.automattic.com/wordpress/trunk@3401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 03:47:38 +00:00
ryan
9675f5fd55 More reliable cache flusher that does not require glob().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-05 02:56:42 +00:00
ryan
6db55e81a6 Fix variable name collision that was breaking paging. fixes #2204
git-svn-id: http://svn.automattic.com/wordpress/trunk@3396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-04 00:41:53 +00:00
ryan
e2aecdde88 Better broken path info workaround for setups that use redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-03 00:59:31 +00:00
ryan
ee8b3c94df i18n fixes from SteveAgl. fixes #2207
git-svn-id: http://svn.automattic.com/wordpress/trunk@3393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 21:08:34 +00:00
ryan
b0f69e20a3 Create dir hierarchy for files passed to wp_upload_bits().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 04:59:39 +00:00
ryan
c798fede84 Upload dir cleanups. Honor old fileupload_path settings if present.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 04:33:27 +00:00
ryan
807f5ded08 Preserve suid and sgid bits when creating new directories. fixes #2190
git-svn-id: http://svn.automattic.com/wordpress/trunk@3388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-01-02 02:50:59 +00:00
ryan
faa30b7898 Default expiration is too long. Change it to 15 minutes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3386 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 22:34:58 +00:00
ryan
67febd9d7a Fallback to matching the leaf category if the full path doesn't match. Props David House. fixes #2161
git-svn-id: http://svn.automattic.com/wordpress/trunk@3385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 21:53:13 +00:00
ryan
90fc694201 Trackback tweaks. Props http://blog.serv.idv.tw/2005/12/29/380/. fixes #2170
git-svn-id: http://svn.automattic.com/wordpress/trunk@3384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-31 21:24:56 +00:00
ryan
38f4fca0db Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: http://svn.automattic.com/wordpress/trunk@3382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 23:11:26 +00:00
ryan
6d40d77615 More wp_upload_bits() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 02:07:10 +00:00
ryan
39195303f1 Fix extension handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:46:32 +00:00
ryan
d789b7005e Typo in wp_upload_bits()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:40:42 +00:00
ryan
00e695e6f5 LJ tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 01:25:41 +00:00
ryan
305a286ce1 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: http://svn.automattic.com/wordpress/trunk@3373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 07:05:05 +00:00
ryan
240128b76d Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 04:27:21 +00:00
ryan
8906eb2557 Anchor str replacements to head so that we don't replace across the entire string. fixes #2162
git-svn-id: http://svn.automattic.com/wordpress/trunk@3370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 01:48:29 +00:00
ryan
f1e77a800a i18n trackback fix. Props thinkini. fixes #2163
git-svn-id: http://svn.automattic.com/wordpress/trunk@3368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-28 00:55:55 +00:00
matt
08005a3bba Pop the champagne
git-svn-id: http://svn.automattic.com/wordpress/trunk@3362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-26 20:15:06 +00:00
ryan
ca096fabad Make sure we have a valid timestamp. fixes #2148
git-svn-id: http://svn.automattic.com/wordpress/trunk@3359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-25 21:42:07 +00:00
ryan
9c99a92bc5 Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-25 21:16:27 +00:00
ryan
48f0f0a89e Update post_modified when the post is changed. fixes #1837
git-svn-id: http://svn.automattic.com/wordpress/trunk@3357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 20:04:59 +00:00
ryan
541c30cc70 Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: http://svn.automattic.com/wordpress/trunk@3356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 16:26:55 +00:00
ryan
c9afa8e4dc MAke sure post_parent is valid.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 05:34:50 +00:00
ryan
d0ff0c9315 Make wp_insert_attachment() MySQL 5 strict mode compliant. fixes #2115
git-svn-id: http://svn.automattic.com/wordpress/trunk@3353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-24 05:32:49 +00:00
ryan
cbb50041a8 Return ID not user_login.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 23:16:01 +00:00
ryan
2a40219b33 Hide errors when getting usermeta in case we're upgrading and usermeta doesn't exist yet. fixes #2110
git-svn-id: http://svn.automattic.com/wordpress/trunk@3343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-23 00:32:15 +00:00
matt
b111087cbb Updating to stable version.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 21:45:59 +00:00
ryan
65223a924f Reduce consecutive backslashes to one backslash. Handy when escaped windows paths are passed in.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 05:18:18 +00:00
ryan
3a3d3f6aee Don't get children for cat 0. fixes #2123
git-svn-id: http://svn.automattic.com/wordpress/trunk@3338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-22 04:31:48 +00:00
ryan
0d9a94d553 Edit link does not belong on attachments. fixes #2119
git-svn-id: http://svn.automattic.com/wordpress/trunk@3333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-21 15:47:54 +00:00
matt
d62c42289e It goes bump in the night.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-20 07:07:26 +00:00
ryan
2d9779beba Make sure comment_parent is set.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-20 04:28:32 +00:00
ryan
a626f32296 Cache user ids and user logins separately to avoid collision. Props donncha. fixes #2096
git-svn-id: http://svn.automattic.com/wordpress/trunk@3330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:14:22 +00:00
ryan
4f3bef3ac1 Validation tweaks. fixes #2097
git-svn-id: http://svn.automattic.com/wordpress/trunk@3329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-19 19:10:09 +00:00
ryan
beca0741ca Init tweak. No need to prime category cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-18 22:08:01 +00:00
ryan
4e79fa55fe get_children()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 09:50:10 +00:00
ryan
30c70223b3 Compression tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 08:04:55 +00:00
ryan
4260bf8b16 Populate PHP_SELF from REQUEST_URI if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 08:04:41 +00:00
ryan
97cd7143da New asyncronous ping method. fixes #2048
git-svn-id: http://svn.automattic.com/wordpress/trunk@3317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 03:04:33 +00:00
ryan
ee7b572202 Add post titles to site comment feed. Add some gettext. fixes #2067 #1987
git-svn-id: http://svn.automattic.com/wordpress/trunk@3314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 22:20:06 +00:00
ryan
c676e9c5c0 Separate dbx managers for post and page forms. Props mdawaffe. fixes #2035
git-svn-id: http://svn.automattic.com/wordpress/trunk@3313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 21:48:12 +00:00
ryan
3a51b35f25 Pluggable tinyMCE init. fixes #2080
git-svn-id: http://svn.automattic.com/wordpress/trunk@3312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 21:42:38 +00:00
ryan
fd28b6f640 When changing a post's categories, redo category counts for both old and new cats. Props ringmaster. fixes #2085
git-svn-id: http://svn.automattic.com/wordpress/trunk@3311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 20:31:29 +00:00
ryan
d567007a42 Don't treat a numeric user name as an id.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:45:20 +00:00
ryan
5a56fc2414 is_user_logged_in()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 16:31:41 +00:00
ryan
9aa7dc5290 Bump ver.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-15 01:17:46 +00:00
ryan
ab9b8f8b6a Attachment enhancements from skeltoac. fixes #2074
git-svn-id: http://svn.automattic.com/wordpress/trunk@3303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 19:19:56 +00:00
ryan
9a11319958 Better user check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 18:18:07 +00:00
ryan
3671c6786d Update post cache before running the_posts filter. Since we already retrieved them, might as well cache them even if they are filtered out by plugins later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:49:09 +00:00
ryan
2343663e0b If no user is logged in, setup an empty user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:40 +00:00
ryan
f2d7c06c6d Add optional user_id arg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 03:46:08 +00:00
ryan
f588d966bd Add read_post meta cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-13 00:54:52 +00:00
ryan
72650ed6b7 role_has_cap and user_has_cap filters from ringmaster. fixes #2005
git-svn-id: http://svn.automattic.com/wordpress/trunk@3296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 23:20:44 +00:00
ryan
2a4aafe9b9 Fix attachment queries. fixes #2041
git-svn-id: http://svn.automattic.com/wordpress/trunk@3293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:33:46 +00:00
ryan
9d75e305a2 MCE improvements from skeltoac. fixes #2058
git-svn-id: http://svn.automattic.com/wordpress/trunk@3292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 01:27:56 +00:00
ryan
b5da83787d Resurrect save_post action for back compat. fixes #2063
git-svn-id: http://svn.automattic.com/wordpress/trunk@3291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-12 00:30:14 +00:00
ryan
93cd8402f2 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: http://svn.automattic.com/wordpress/trunk@3290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 19:14:29 +00:00
ryan
931ee9ff74 get_post(), get_page() fixes from skeltoac. fixes #2057
git-svn-id: http://svn.automattic.com/wordpress/trunk@3289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 18:01:19 +00:00
ryan
4e4739b918 Gecko paste fix. fixes #2051
git-svn-id: http://svn.automattic.com/wordpress/trunk@3287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-11 01:32:05 +00:00
ryan
e6bcf0632d Fix is_admin() for situations where the query is not run. fixes #1741
git-svn-id: http://svn.automattic.com/wordpress/trunk@3286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:29:39 +00:00
ryan
157aecdf6e Make sure fields without defaults are specified when inserting. fixes #1953
git-svn-id: http://svn.automattic.com/wordpress/trunk@3285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 23:22:47 +00:00
ryan
0ace9024cd Add richedit_pre filter. Props mani_monaj. fixes #2047
git-svn-id: http://svn.automattic.com/wordpress/trunk@3284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-10 19:03:22 +00:00
ryan
06c51d01c2 MCE fix-em-ups from skeltoac. fixes #1962
git-svn-id: http://svn.automattic.com/wordpress/trunk@3283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-09 19:24:14 +00:00
ryan
ec0b1a8602 Remove debug cruft. fixes #2040
git-svn-id: http://svn.automattic.com/wordpress/trunk@3280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 23:54:24 +00:00
ryan
1f2e257074 Add timezone to iso8601 timestamp. Props devlogic. fixes #2036
git-svn-id: http://svn.automattic.com/wordpress/trunk@3279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-08 00:08:12 +00:00
ryan
3221e7d7df gzdeflate unnecessary. fixes #2038
git-svn-id: http://svn.automattic.com/wordpress/trunk@3278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 23:53:02 +00:00
ryan
c8b54e3bba Make page slugs unique. Props skeltoac. fixes #2034
git-svn-id: http://svn.automattic.com/wordpress/trunk@3277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 19:02:05 +00:00
ryan
1547da4733 Remove calls to html_entity_decode(). fixes #2029
git-svn-id: http://svn.automattic.com/wordpress/trunk@3276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-07 00:36:07 +00:00
ryan
181dd79885 Add wp_title filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 23:57:41 +00:00
ryan
3d55d1e28c autop fixes from skeltoac. fixes #2022
git-svn-id: http://svn.automattic.com/wordpress/trunk@3273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 17:00:01 +00:00
ryan
9d4c41b823 i18n fix from pandem. fixes #2028
git-svn-id: http://svn.automattic.com/wordpress/trunk@3272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 16:58:26 +00:00
ryan
9dc3881715 Decrease comment count only when deleting approved comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 05:31:27 +00:00
ryan
1a44970d3a Add edit_pages checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 04:04:23 +00:00
ryan
bd31c21f83 Relocate wp_upload_dir(). fixes #2019
git-svn-id: http://svn.automattic.com/wordpress/trunk@3267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:17:03 +00:00
ryan
57ce56e8f4 tinyMCE updates from skeltoac. fixes #1991
git-svn-id: http://svn.automattic.com/wordpress/trunk@3265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-05 03:04:25 +00:00
ryan
843a9afbfc i18n fixes from nbachiyski. #2006
git-svn-id: http://svn.automattic.com/wordpress/trunk@3262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-02 22:37:02 +00:00
ryan
30a8b614b2 Add wp_upload_bits(). Attempt to fix mw_newMediaObject().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 22:51:40 +00:00
ryan
9de108b9bf Make sure user_login keyed caches are cleared upon change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 17:38:37 +00:00
ryan
40a83116c2 Don't attempt to match the index against a rule. This fixes problems with /index.php requests matching agagainst the %category% rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-01 01:34:29 +00:00
ryan
4cc66547a3 Remove ugly whitespace. Props abhay. fixes #1996
git-svn-id: http://svn.automattic.com/wordpress/trunk@3250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 21:13:18 +00:00
ryan
ec4e918588 add_role() and remove_role() convenience wrappers around
git-svn-id: http://svn.automattic.com/wordpress/trunk@3249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 20:04:04 +00:00
ryan
d9c7e8ff0d Add delete_usermeta(). fixes #1992
git-svn-id: http://svn.automattic.com/wordpress/trunk@3247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 19:19:47 +00:00
ryan
24d31cbef8 Remove extraneous parens.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 17:30:51 +00:00
ryan
8f6c123fa7 TinyMCE directionality for RTL support. Props skeltoac. fixes #1967
git-svn-id: http://svn.automattic.com/wordpress/trunk@3244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 17:15:43 +00:00
ryan
7b9f47b54b Allow Author role to edit published posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:47:22 +00:00
ryan
b174a8dadb Return role object after adding.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 07:32:43 +00:00
ryan
5211ae3da6 Unserialize fix. fixes #1988
git-svn-id: http://svn.automattic.com/wordpress/trunk@3239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-30 00:25:05 +00:00
ryan
1a351ef8c0 Add get_role() convenience wrapper.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 18:47:28 +00:00
ryan
489c6c4257 escapeshell SA17779
git-svn-id: http://svn.automattic.com/wordpress/trunk@3235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 14:07:30 +00:00
matt
0ff8f49cd5 Part of a healthy balanced breakfast - fixes #1980
git-svn-id: http://svn.automattic.com/wordpress/trunk@3234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 07:58:50 +00:00
ryan
f57362c61c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: http://svn.automattic.com/wordpress/trunk@3233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 06:44:44 +00:00
ryan
b62211209a If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:33:25 +00:00
matt
138f2e6a91 So close I can taste it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:01:48 +00:00
ryan
efce6979b1 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: http://svn.automattic.com/wordpress/trunk@3229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 01:43:32 +00:00
ryan
cba87fb462 Don't try to do permalinks for admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:30:42 +00:00
matt
beff0bedba Don't do bad xhtml fixing by default - fixes #1975
git-svn-id: http://svn.automattic.com/wordpress/trunk@3223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 23:05:12 +00:00
matt
2235469b60 No need to do those big fancy joins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:44:56 +00:00
matt
7c4d4cbec8 Another query bites the dust!
git-svn-id: http://svn.automattic.com/wordpress/trunk@3219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 09:37:17 +00:00
matt
dced5779ea Don't create empty umeta values.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 08:48:18 +00:00
matt
e8a4812526 Return if not an array, fixes #1940
git-svn-id: http://svn.automattic.com/wordpress/trunk@3217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 06:38:12 +00:00
matt
2fdc11a1d2 Don't show 404s for empty cats, fixes #1969
git-svn-id: http://svn.automattic.com/wordpress/trunk@3215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-28 03:15:48 +00:00
matt
43b2fc5f73 Better email from, fixes #1532
git-svn-id: http://svn.automattic.com/wordpress/trunk@3214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-25 22:57:26 +00:00
ryan
313e9a406b Strip home path from path info. This prevents a path info value of '/wp/index.php' from being considered as a permalink request. fixes #1938
git-svn-id: http://svn.automattic.com/wordpress/trunk@3206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 22:38:25 +00:00
ryan
6708e3d4ff s/user_description/description/. Props tinyau. fixes #1943
git-svn-id: http://svn.automattic.com/wordpress/trunk@3205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 18:01:32 +00:00
ryan
945a03bea5 Add get_attached_file().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 10:00:07 +00:00
matt
45c73a3298 Don't show 0 as a month.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 07:57:58 +00:00
ryan
0b3cf7e738 Allow wp_insert/update_post to handle classes in addition to associative arrays. This should avoid the 'Cannot use object of type stdClass as array' warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 01:35:08 +00:00
ryan
c9cc15c4f4 Add some defaults to avoid MySQL warnings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-23 00:38:56 +00:00
ryan
7b29bce03c Add glob() compat for php < 4.3.0
git-svn-id: http://svn.automattic.com/wordpress/trunk@3198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 23:39:56 +00:00
ryan
9426478867 Store some values in the class for debug purposes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 21:07:48 +00:00
matt
ac47eb038c Bumpa version
git-svn-id: http://svn.automattic.com/wordpress/trunk@3195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 09:56:15 +00:00
ryan
5be6242b23 Silence mkdir().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 07:45:07 +00:00
ryan
24e2307445 Instead of incrementing the current comment count, recount all comments to make sure we have a good count. Props Mark Jaquith. fixes #1920
git-svn-id: http://svn.automattic.com/wordpress/trunk@3193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 03:45:40 +00:00
ryan
a9d801767f Upgrade to Snoopy 1.2.3
git-svn-id: http://svn.automattic.com/wordpress/trunk@3191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 01:14:26 +00:00
ryan
73dde55507 Update meta before updating the post so that page_template is not stomped. fixes #1933
git-svn-id: http://svn.automattic.com/wordpress/trunk@3190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-22 00:36:36 +00:00
ryan
40bcf58a25 Therapeutic db version bump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 09:13:20 +00:00
ryan
3587a865c9 Run attachment filter for themes that don't have single.php or page.php. Props podz. fixes #1924
git-svn-id: http://svn.automattic.com/wordpress/trunk@3174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-21 02:08:59 +00:00
ryan
6cc1deb00c TinyMCE publish fix from skeltoac. fixes #1921
git-svn-id: http://svn.automattic.com/wordpress/trunk@3172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-20 07:34:47 +00:00
ryan
eb7c563406 Silence fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 22:52:57 +00:00
ryan
6628bfcf35 Suppress fopen warnings and check return.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:12:26 +00:00
ryan
51b8a36906 get_post_mime_type() from skeltoac.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 20:08:21 +00:00
ryan
ed7b824257 Remove extra file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:54 +00:00
ryan
e1a257cc18 Add missing file.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:41:21 +00:00
ryan
a42ba92fe9 Relocate help icon to the correct place.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:39:09 +00:00
ryan
d34cfa089b Update help icon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:28:48 +00:00
ryan
15147edb24 TinyMCE help. fixes #1908
git-svn-id: http://svn.automattic.com/wordpress/trunk@3163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:15:11 +00:00
ryan
ff39307b04 Wrong PCRE flag break TinyMCE on lower PHP versions. fixes #1913
git-svn-id: http://svn.automattic.com/wordpress/trunk@3162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 19:11:03 +00:00
matt
94c145394c Dat da-da duuuummmmmmmm
git-svn-id: http://svn.automattic.com/wordpress/trunk@3160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-19 00:19:43 +00:00
ryan
a78ca073b5 Don't texturize for the rich editor. Props skeltoac. fixes #1909
git-svn-id: http://svn.automattic.com/wordpress/trunk@3156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 23:27:39 +00:00
ryan
dfb4f6b962 Autosave warning fix. fixes #1910
git-svn-id: http://svn.automattic.com/wordpress/trunk@3153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 22:55:39 +00:00
ryan
f4f22fce81 Attachment cleanups from skeltoac. fixes #1870
git-svn-id: http://svn.automattic.com/wordpress/trunk@3145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 09:25:47 +00:00
ryan
d2ae62c45c Remove dead code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 02:20:19 +00:00
ryan
c1095d12dd Don't return undefined variable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-18 02:15:08 +00:00
ryan
2b178e8737 Filter on the_content_rss. Props Kafkaesqui. fixes #1685
git-svn-id: http://svn.automattic.com/wordpress/trunk@3140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 23:17:06 +00:00
ryan
90004a8ae6 Don't stripslashes() in plugin_basename() since this breaks established expectation of being able to pass a non-escaped FILE. Instead, stripslashes further up the stack. fixes #1866
git-svn-id: http://svn.automattic.com/wordpress/trunk@3139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 23:01:28 +00:00
ryan
f237c0bf41 Don't loop over empty options. fixes #1900
git-svn-id: http://svn.automattic.com/wordpress/trunk@3138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 22:46:18 +00:00
ryan
e6425a4127 Tidy up get_userdatabylogin().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 18:15:59 +00:00
ryan
544842e3dc Big tiny fixes from skeltoac. fixes #1897
git-svn-id: http://svn.automattic.com/wordpress/trunk@3136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 17:47:29 +00:00
ryan
3a83db90da Don't bother with sems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:30:14 +00:00
ryan
d662ef80b1 Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: http://svn.automattic.com/wordpress/trunk@3130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 09:10:18 +00:00
ryan
a370a5d002 i18n fix from nbachiyski. fixes #1874
git-svn-id: http://svn.automattic.com/wordpress/trunk@3125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 03:01:55 +00:00
ryan
a6472cdafa Check if writable before checking if dir to avoid permission denied problems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 02:24:52 +00:00
matt
60e7c34c12 Fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@3122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 01:57:18 +00:00
matt
1fb7241355 New logo, better login.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 00:51:34 +00:00
matt
773df46145 Not used any more.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-17 00:34:24 +00:00
ryan
a41c4a693f Add missing space to fix validation. Props seth. fixes #1887
git-svn-id: http://svn.automattic.com/wordpress/trunk@3118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:59:29 +00:00
ryan
09809cc917 Don't run stylesheet directory URI through filters. fixes #1890
git-svn-id: http://svn.automattic.com/wordpress/trunk@3117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:54:39 +00:00
ryan
5fdc8b56da Add some comment API and update comment popup templates to use them. Props David Hose. fixes #1892
git-svn-id: http://svn.automattic.com/wordpress/trunk@3115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:48:12 +00:00
matt
6154d26ea1 Better email links, fixes #1416
git-svn-id: http://svn.automattic.com/wordpress/trunk@3114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:44:03 +00:00
ryan
36722b2528 Silence file ops.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 23:40:14 +00:00
ryan
4eb19bcf5e More 404 work. Hopefully fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 22:54:52 +00:00
ryan
64567c90f4 Don't flush if cache is disabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 19:01:58 +00:00
ryan
aba1a4437d Fix 404s. Props donncha. fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 10:16:20 +00:00
ryan
428f06c54a Fix typos in remove_accents(). Props kyknos and YaaL. fixes #1688
git-svn-id: http://svn.automattic.com/wordpress/trunk@3106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 06:37:06 +00:00
ryan
25b644e8ce Add comment_count to the posts table. Props donncha. fixes #1860
git-svn-id: http://svn.automattic.com/wordpress/trunk@3104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 06:29:36 +00:00
ryan
005dce9352 Make sure plugins and themes are readable. Props Mike Little. fixes #1502
git-svn-id: http://svn.automattic.com/wordpress/trunk@3103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 03:27:22 +00:00
ryan
b6f44dc532 Pull the values in WP_User::data directly into WP_User so that we don't have to do ->data->blah.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 02:54:23 +00:00
ryan
10c71b6d01 Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864
git-svn-id: http://svn.automattic.com/wordpress/trunk@3097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 01:58:04 +00:00
ryan
72c031e0a5 Update to use cap API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-16 00:50:02 +00:00
ryan
0170736e28 Move category post count updater into wp_set_post_cats().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 23:47:16 +00:00
ryan
f83326f125 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 22:55:24 +00:00
ryan
e120711bdd Update category counts. Props donncha. fixes #1886
git-svn-id: http://svn.automattic.com/wordpress/trunk@3091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 16:31:24 +00:00
ryan
9ba3193309 Fix [3074] commit so that draft->publish transitions up date the timestamp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-15 00:00:26 +00:00
matt
e13b370b3d Mystery of the disappearing post solved, fixes #1879
git-svn-id: http://svn.automattic.com/wordpress/trunk@3089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 23:28:10 +00:00
ryan
a3a84d2957 Flush the cache before installing. fixes #1877
git-svn-id: http://svn.automattic.com/wordpress/trunk@3088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 22:32:03 +00:00
ryan
08fea3c335 Implement wp_cache_flush().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 22:10:28 +00:00
ryan
60d04abb0c Avoid infinite recursion when expiring cache. fixes #1875
git-svn-id: http://svn.automattic.com/wordpress/trunk@3086 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 21:29:30 +00:00
matt
50cc9f757b Don't die on me now! Fixes #1631
git-svn-id: http://svn.automattic.com/wordpress/trunk@3083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:21:39 +00:00
matt
886de0616c Allow modified, fixes #1651
git-svn-id: http://svn.automattic.com/wordpress/trunk@3080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:12:22 +00:00
matt
682ad94a9f Follow standards in Pingback - fixes #1668
git-svn-id: http://svn.automattic.com/wordpress/trunk@3078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 10:08:12 +00:00
matt
f059c4f049 Fixes #1837 timestamp funkiness
git-svn-id: http://svn.automattic.com/wordpress/trunk@3074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 09:56:41 +00:00
matt
4f0edc7878 Reverse that cleanup, there is reason in the madness ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@3071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 09:08:27 +00:00
matt
f1951d856a Small cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 08:51:04 +00:00
ryan
f6fd138e51 Don't return false from get_settings() when installing. Use update_option() when setting the blog title and admin email so that the cache is kept in sync. fixes #1869
git-svn-id: http://svn.automattic.com/wordpress/trunk@3067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 06:51:09 +00:00
matt
46d3b062a9 Silly thumbnail files
git-svn-id: http://svn.automattic.com/wordpress/trunk@3066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 03:08:08 +00:00
matt
1301fdf266 More accessible comment links
git-svn-id: http://svn.automattic.com/wordpress/trunk@3065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-14 03:06:52 +00:00
matt
8591106e59 More eol-style: native
git-svn-id: http://svn.automattic.com/wordpress/trunk@3062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 04:43:57 +00:00
matt
fe1e8af589 Don't allow newlines in redirects
git-svn-id: http://svn.automattic.com/wordpress/trunk@3060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 04:38:56 +00:00
matt
d3d3e45cf7 Add error function back, fixes #1446
git-svn-id: http://svn.automattic.com/wordpress/trunk@3057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 02:54:49 +00:00
matt
dd67f966fb Account for more letter entities, fixes #1431
git-svn-id: http://svn.automattic.com/wordpress/trunk@3056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 02:48:35 +00:00
matt
9187979859 Moderation and comment_author_link, fixes #1019
git-svn-id: http://svn.automattic.com/wordpress/trunk@3055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-13 02:45:53 +00:00
ryan
3f20184aa3 Cleanup options save.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-12 09:36:20 +00:00
ryan
0c2c997bab Don't use hard query. Remove unneeded line. fixes #1858
git-svn-id: http://svn.automattic.com/wordpress/trunk@3052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:24:09 +00:00
matt
62b08c17be Missing stripslashes - fixes #1793
git-svn-id: http://svn.automattic.com/wordpress/trunk@3049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:16:26 +00:00
matt
2b47bd4e9d Missed a line, fixes #1593
git-svn-id: http://svn.automattic.com/wordpress/trunk@3048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 02:00:06 +00:00
matt
cfa85af2d8 Call nocache_headers for logged in users
git-svn-id: http://svn.automattic.com/wordpress/trunk@3047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:44:41 +00:00
matt
41775561d5 Add HTTPS support, fixes #1372
git-svn-id: http://svn.automattic.com/wordpress/trunk@3041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:21:28 +00:00
matt
89bbb5bb21 Eliminating query and vars now that we have category_count in DB
git-svn-id: http://svn.automattic.com/wordpress/trunk@3039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 01:03:13 +00:00
ryan
2a94c54ff7 Don't loop over empty list. Props skippy. fixes #1467
git-svn-id: http://svn.automattic.com/wordpress/trunk@3038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 00:55:31 +00:00
ryan
42f144b4d9 Add author support to wp_title(). Props graeme. fixes #1615
git-svn-id: http://svn.automattic.com/wordpress/trunk@3037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 00:48:31 +00:00
matt
98945dd8b4 Use reply-to instead of from to stop acting spammy - fixes #1593
git-svn-id: http://svn.automattic.com/wordpress/trunk@3035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-11 00:07:39 +00:00
ryan
c42cbf7d09 Highlight current class. Props amanzi and skippy. fixes #1800
git-svn-id: http://svn.automattic.com/wordpress/trunk@3033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:42:56 +00:00
matt
f67be7f30f Don't notify your own comments, fixes #1670
git-svn-id: http://svn.automattic.com/wordpress/trunk@3031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:31:58 +00:00
ryan
833f1cca4e Template functions for getting the post's modified time from error and Mark Jaquith. fixes #1836
git-svn-id: http://svn.automattic.com/wordpress/trunk@3030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 23:31:30 +00:00
ryan
03567e7d88 Return false if we don't find the option.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-10 20:59:20 +00:00
ryan
d2fec03493 Fix commit gone wild.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 21:30:40 +00:00
matt
dace166de0 Missing semi, also fixes #1599
git-svn-id: http://svn.automattic.com/wordpress/trunk@3025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 21:01:24 +00:00
matt
9ada34a5ae Should fix #1599 for IIS blogs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 20:58:58 +00:00
ryan
8e154dc493 Options fixes from donncha. fixes #1859
git-svn-id: http://svn.automattic.com/wordpress/trunk@3023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 18:15:55 +00:00
ryan
3a088cfaf1 Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 11:17:33 +00:00
ryan
6f54ba207a Add cache expiration. Cache requests for non-existant options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 11:10:34 +00:00
ryan
a656505563 TinyMCE accesskeys from skeltoac. fixes #1854
git-svn-id: http://svn.automattic.com/wordpress/trunk@3020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 08:44:48 +00:00
ryan
f49dbd725d Hide serialized object data in comment blocks within .php files. Props ringmaster. fixes #1857
git-svn-id: http://svn.automattic.com/wordpress/trunk@3019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-09 02:38:17 +00:00
ryan
13cff25d99 Oops. Comment out stats dump.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-08 22:28:45 +00:00
ryan
b9ee18b899 Obfuscate keys with some salt. Add empty index.php files to the cache dirs to prevent directory listings. Props to ringmaster. fixes #1851
git-svn-id: http://svn.automattic.com/wordpress/trunk@3017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-08 22:15:06 +00:00
ryan
6705b20ff7 TinyMCE tweaks from skeltoac. fixes #1852
git-svn-id: http://svn.automattic.com/wordpress/trunk@3015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-08 19:17:08 +00:00
ryan
4e2d4a842f Remove trailing blank lines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-08 00:39:26 +00:00
ryan
69e8270fcf Use get_*() API instead of SELECTs so that we hit the cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 23:15:21 +00:00
ryan
1a76958310 Add LIMIT 1 to some of our gets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 23:09:09 +00:00
ryan
85723b8944 Object caching, round one.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 21:56:03 +00:00
matt
af8c37fd71 Add RSD support. See http://archipelago.phrasewise.com/rsd
git-svn-id: http://svn.automattic.com/wordpress/trunk@3009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 09:47:51 +00:00
matt
44857e2f23 Fixes #1443
git-svn-id: http://svn.automattic.com/wordpress/trunk@3007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 09:35:54 +00:00
matt
725cc84302 Simplify status_header
git-svn-id: http://svn.automattic.com/wordpress/trunk@3005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 09:05:47 +00:00
matt
5b1a7b5ed0 Missing user line.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 08:58:37 +00:00
ryan
b1cdba1f31 Remove extraneous header() call.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 19:06:10 +00:00
ryan
e19c9ab70c Preview future dated posts. Props davidhouse. fixes #1795
git-svn-id: http://svn.automattic.com/wordpress/trunk@3001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 07:04:46 +00:00
ryan
bd4d154c1f Protection against multiple trackbacks in one bunch from markjaquith. fixes #1817
git-svn-id: http://svn.automattic.com/wordpress/trunk@2996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 04:02:12 +00:00
ryan
a8b6fe21ba Show Role in profile and user edit. Don't allow users with edit_users caps to demote themselves. Props: davidhouse, ringmaster. fixes #1825
git-svn-id: http://svn.automattic.com/wordpress/trunk@2995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 03:58:52 +00:00
ryan
acfd349d19 Rename image-uploading to inline-uploading. Props skeltoac. fixes #1834
git-svn-id: http://svn.automattic.com/wordpress/trunk@2994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 03:40:43 +00:00
ryan
344b1dcee0 TinyMCE 2.0RC4 Props skeltoac. fixes #1830
git-svn-id: http://svn.automattic.com/wordpress/trunk@2993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 03:30:11 +00:00
ryan
81aab2897b Remove extraneous whitespace from wp_list_pages() output. Props: error fixes #1838
git-svn-id: http://svn.automattic.com/wordpress/trunk@2991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-06 03:15:43 +00:00
matt
cdd3a0a295 Allow "anonymous" to be translated, fixes #1740
git-svn-id: http://svn.automattic.com/wordpress/trunk@2986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-05 22:53:40 +00:00
ryan
e445ffe7e6 Don't self ping. Props Mark Jaquith fixes #993
git-svn-id: http://svn.automattic.com/wordpress/trunk@2983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-05 16:20:09 +00:00
ryan
a79cdd3a92 Add middle_name and flickr_username for users.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-02 08:26:42 +00:00
matt
56e058d6d8 Missing global, fix from airport. :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-01 18:22:30 +00:00
matt
ba2ba0e252 Even better, array functions are fun.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-29 23:28:05 +00:00
matt
2718217d3b Some optimizations in queries and code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-29 23:23:17 +00:00
matt
e0e5a1659c Cleaner, better, faster.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-29 22:24:27 +00:00
ryan
f081b601cc If post_date_gmt is not supplied, derive it from post_date instead of current time.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-28 04:34:49 +00:00
ryan
158b6eafd3 Use full hierarchy when resolving category URIs. fixes #1787 Props: ringmaster Owen
git-svn-id: http://svn.automattic.com/wordpress/trunk@2968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-28 01:14:57 +00:00
ryan
5939e76b0b DB versioning. fixes #1791
git-svn-id: http://svn.automattic.com/wordpress/trunk@2966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-27 22:04:12 +00:00
matt
b8edb9642b LiteSpeed support everything Apache does
git-svn-id: http://svn.automattic.com/wordpress/trunk@2965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-25 23:44:27 +00:00
ryan
29c6e8b3e2 TinyMCE fixes. Reinstate "More..." button. Filter trailing br. fixes #1789
git-svn-id: http://svn.automattic.com/wordpress/trunk@2964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-25 23:10:14 +00:00
ryan
85a85a8aaf Filter title with kses. fixes #1788
git-svn-id: http://svn.automattic.com/wordpress/trunk@2963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-25 14:46:23 +00:00
ryan
f309558d94 Remove debug code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-20 22:15:07 +00:00
ryan
45fc6c1664 Image fu from Andy. fixes #1776
git-svn-id: http://svn.automattic.com/wordpress/trunk@2958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-20 20:48:32 +00:00
matt
8c0dd12af3 Fix for header redirects - Hat tip: http://www.davidmeade.com/post/post.php?topicID=579
git-svn-id: http://svn.automattic.com/wordpress/trunk@2956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-19 06:09:23 +00:00
ryan
ab8cf86716 More massive code cleanups from Mark Jaquith. fixes #1772
git-svn-id: http://svn.automattic.com/wordpress/trunk@2955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-18 22:42:02 +00:00
matt
751a663f3c Missing directory
git-svn-id: http://svn.automattic.com/wordpress/trunk@2954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-18 16:40:06 +00:00
ryan
a6ae47a303 Don't process enclosures when importing. Props: skeltoac. fixes #1771
git-svn-id: http://svn.automattic.com/wordpress/trunk@2953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-17 23:45:50 +00:00
ryan
845917e6ff More code cleanups from Mark Jaquith. fixes #1768
git-svn-id: http://svn.automattic.com/wordpress/trunk@2952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-17 23:41:28 +00:00
ryan
721b7746a2 Add ordered list tags to kses. fixes #1761
git-svn-id: http://svn.automattic.com/wordpress/trunk@2950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-14 18:52:44 +00:00
ryan
69022c397b wp_attach_object threading fix ups. fixes #1760 #1758
git-svn-id: http://svn.automattic.com/wordpress/trunk@2949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-14 18:06:23 +00:00
ryan
5977b21bc4 Remove thread unsafe Auto_increment tricks. fixes #1753
git-svn-id: http://svn.automattic.com/wordpress/trunk@2948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-13 19:06:31 +00:00
ryan
b1f86c0a51 Code cleanup from Mark Jaquith. fixes #1746
git-svn-id: http://svn.automattic.com/wordpress/trunk@2943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-12 17:01:50 +00:00
matt
65f1a4df26 Awesome fix from Dougal about ping timeout problems.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-10 16:36:54 +00:00
ryan
e1140b014d Code cleanups from markjaquith. fixes #1743
git-svn-id: http://svn.automattic.com/wordpress/trunk@2941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-10 09:25:38 +00:00
ryan
5a87d54700 pre_get_posts action from ringmaster. fixes #1736
git-svn-id: http://svn.automattic.com/wordpress/trunk@2938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-06 17:27:57 +00:00
ryan
ae5fbef066 Don't run bloginfo filters on URIs. fixes #1545 #1410 #1729
git-svn-id: http://svn.automattic.com/wordpress/trunk@2935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-06 00:04:59 +00:00
ryan
e56c5d190d Add kses_init_filters(). Call it when running importers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-05 23:58:16 +00:00
ryan
4ffa89daa7 Send User-Agent when confirming pingbacks. Props error. fixes #1713
git-svn-id: http://svn.automattic.com/wordpress/trunk@2933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-05 23:29:56 +00:00
ryan
d0a769dd73 SQL error fix from MikeLittle. fixes #1711
git-svn-id: http://svn.automattic.com/wordpress/trunk@2931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-05 22:48:51 +00:00
ryan
9995e83e1f wp_delete_object() and image popup from skeltoac. fixes #1731
git-svn-id: http://svn.automattic.com/wordpress/trunk@2929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-04 17:38:04 +00:00
matt
e2b904c714 Some of that really shouldn't be in posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-27 21:23:02 +00:00
matt
eb89133eb6 For apos in links.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-27 03:34:37 +00:00
ryan
7b0442ea12 Image uploading widget from skeltoac. fixes #1710
git-svn-id: http://svn.automattic.com/wordpress/trunk@2921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-26 23:55:36 +00:00
matt
b226483656 We had reverted this fix from [1253]
git-svn-id: http://svn.automattic.com/wordpress/trunk@2919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-26 16:06:58 +00:00
matt
e655cf00e3 Shhhh windows
git-svn-id: http://svn.automattic.com/wordpress/trunk@2918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-26 15:50:08 +00:00
matt
da4199e963 A few cleanups from the upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-26 07:13:48 +00:00
matt
5034e50bb4 Updating to latest TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@2916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-26 06:52:30 +00:00
ryan
808b0f36ce Moving more stuff to new API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-24 18:07:46 +00:00
ryan
ed15ebd4c3 Header color picker for default theme from skeltoac. fixes #1705
git-svn-id: http://svn.automattic.com/wordpress/trunk@2913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-24 05:55:14 +00:00
ryan
31fd52fa5c Add object awareness to WP_Query. Props skeltoac. fixes #1700
git-svn-id: http://svn.automattic.com/wordpress/trunk@2908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-23 23:24:19 +00:00
ryan
cc3a803930 Array and object support for post meta from skeltoac. fixes #1699
git-svn-id: http://svn.automattic.com/wordpress/trunk@2907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-23 23:22:51 +00:00
ryan
46df98f327 Typos
git-svn-id: http://svn.automattic.com/wordpress/trunk@2905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-22 21:14:52 +00:00
ryan
34c848fb0a Pass along grant state when saving cap. Props Owen. fixes #1702
git-svn-id: http://svn.automattic.com/wordpress/trunk@2904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-22 20:39:37 +00:00
matt
e91046317b Uppercase, please.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-22 08:39:09 +00:00
ryan
18c673c275 stripslashes before running kses. Props donncha. fixes #1697
git-svn-id: http://svn.automattic.com/wordpress/trunk@2902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-21 16:35:35 +00:00
ryan
1d16b58059 Remove extra line. fixes #1694
git-svn-id: http://svn.automattic.com/wordpress/trunk@2899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-21 02:38:47 +00:00
ryan
22fb57c5c6 Spiffier role creation code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-20 23:48:28 +00:00
ryan
42d6530c36 Filter posts with kses for users who do not have the unfiltered_html cap. Props donncha. fixes #1674
git-svn-id: http://svn.automattic.com/wordpress/trunk@2896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-20 22:18:47 +00:00
ryan
b03de9abe4 Don't reset user cookies when editing other users. Props donncha. fixes #1689
git-svn-id: http://svn.automattic.com/wordpress/trunk@2895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-20 17:55:16 +00:00
ryan
a34a4ca8c7 wp_insert_comment(), wp_update_comment(), wp_allow_comment(), and wp_filter_comment() from skeltoac. fixes #1683
git-svn-id: http://svn.automattic.com/wordpress/trunk@2894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-20 03:17:43 +00:00
ryan
e0bffdaf03 Do over to avoid write context warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-19 02:49:53 +00:00
ryan
cf9735284d Trim spaw words before checking for empty. Props markjaquith. fixes #1653
git-svn-id: http://svn.automattic.com/wordpress/trunk@2891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-19 02:17:41 +00:00
ryan
dccf85d6e1 Add variable path support to load_plugin_textdomain() in order to support subdir plugins. Props firas. fixes #1468
git-svn-id: http://svn.automattic.com/wordpress/trunk@2888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-16 22:30:03 +00:00
matt
195206fbb4 Fixes #1681 and the annoying empty meta problem.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-16 17:27:09 +00:00
ryan
a691288ccd Clear all other query flags if we have a 404. fixes #1413
git-svn-id: http://svn.automattic.com/wordpress/trunk@2885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-16 03:16:12 +00:00
ryan
4b40f98408 Add missing comma. Props donncha. fixes #1675
git-svn-id: http://svn.automattic.com/wordpress/trunk@2883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-15 23:44:33 +00:00
ryan
69fad9bf3b Reference passing fix from jsteidl. fixes #1676
git-svn-id: http://svn.automattic.com/wordpress/trunk@2882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-15 23:42:29 +00:00
ryan
ef29f0ba5f get_comments_number() improvements from markjaquith. fixes #1677
git-svn-id: http://svn.automattic.com/wordpress/trunk@2881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-15 23:40:04 +00:00
ryan
a0ea9e4466 wp_insert_post() return value fix from skeltoac. fixes #1678
git-svn-id: http://svn.automattic.com/wordpress/trunk@2878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-15 23:34:54 +00:00
ryan
8552177520 Add clean_post_cache() and clean_page_cache(). Reset GUID when transitioning from draft to publish. fixes #1257
git-svn-id: http://svn.automattic.com/wordpress/trunk@2873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-14 00:34:04 +00:00
ryan
5ba66d6c04 User create/update rework. Introduce wp_insert_user(), wp_create_user(), wp_update_user(), add_user(), update_user(), wp_new_user_notification().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-14 00:03:02 +00:00
ryan
333025ea54 Don't ping when importing.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-10 22:44:14 +00:00
ryan
3859dd35a6 Spacing fix from markjaquith. fixes #1665
git-svn-id: http://svn.automattic.com/wordpress/trunk@2861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-09 23:35:30 +00:00
ryan
bec3e71292 Fix before/after spacing. Props mjsteinbaugh. fixes #1588
git-svn-id: http://svn.automattic.com/wordpress/trunk@2859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 21:40:37 +00:00
ryan
ad57698f14 Add the_author filter. Props markjaquith. fixes #1531
git-svn-id: http://svn.automattic.com/wordpress/trunk@2858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 21:18:28 +00:00
ryan
0c5eda6c31 Check the option cache before querying. Props westi. fixes #1499
git-svn-id: http://svn.automattic.com/wordpress/trunk@2856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 21:08:48 +00:00
ryan
35d02a7ab4 posts_nav_link fixes from Denis-de-Bernardy. fixes #789
git-svn-id: http://svn.automattic.com/wordpress/trunk@2855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 21:05:07 +00:00
ryan
9df8152e7f If PATH_INFO contains the index, don't use it for permalinks. Props gslin. fixes #1591
git-svn-id: http://svn.automattic.com/wordpress/trunk@2852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 20:48:09 +00:00
ryan
2ddfc1c1d6 remove_cap() fix from mdawaffe. fixes #1608
git-svn-id: http://svn.automattic.com/wordpress/trunk@2851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-08 20:39:37 +00:00
ryan
2271e198b0 Update path to images. Props jaseone. fixes #1646
git-svn-id: http://svn.automattic.com/wordpress/trunk@2849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-07 03:58:28 +00:00
ryan
e72b47cd5f Fix permalink structure refs. Props to dougal. fixes #1643
git-svn-id: http://svn.automattic.com/wordpress/trunk@2834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-02 17:08:39 +00:00
ryan
2844d3a71c Move pings out-of-band to speed up posting. Props to Owen. fixes #1644
git-svn-id: http://svn.automattic.com/wordpress/trunk@2833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-02 16:56:28 +00:00
matt
5fd72f93fb Fixes #1186 for 1.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@2831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 23:25:34 +00:00
matt
ab39a0e1ac Make posting faster. Fixes #1580 for 1.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@2828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 23:19:32 +00:00
matt
c9b3f35a83 Fixes #1578 for 1.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@2827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 23:17:42 +00:00
ryan
ee6ae5ccf7 Make sure extra_query_vars is an array instead of an empty string to avoid weird bug that can cause all query vars to be stomped in certain envs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 19:01:45 +00:00
ryan
c444b2635d Allow query strings at the end of cruftless URIs. Props Owen and Mark. fixes #1581
git-svn-id: http://svn.automattic.com/wordpress/trunk@2823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 04:17:52 +00:00
ryan
a5dc15bfb4 url_to_postid() typo fix. Props markjaquith. fixes #1612
git-svn-id: http://svn.automattic.com/wordpress/trunk@2822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 04:07:12 +00:00
matt
f59d488483 More and nextpage, from ringmaster. Fixes #1564
git-svn-id: http://svn.automattic.com/wordpress/trunk@2820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-30 01:25:19 +00:00
matt
c7940de3b3 Parse
git-svn-id: http://svn.automattic.com/wordpress/trunk@2816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-28 17:35:06 +00:00
matt
e643a11b36 Enter now works for popups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-28 08:30:21 +00:00
matt
e7d3959ae5 Move images
git-svn-id: http://svn.automattic.com/wordpress/trunk@2813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-27 19:10:56 +00:00
matt
185732b420 Big JS move
git-svn-id: http://svn.automattic.com/wordpress/trunk@2812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-27 18:48:56 +00:00
matt
3c021ffcd7 Errors are broken.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-27 18:31:42 +00:00
matt
ee4a846726 Optimization from Skippy, fixes #1393
git-svn-id: http://svn.automattic.com/wordpress/trunk@2806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-23 07:51:14 +00:00
matt
317499b911 Don't hardcode file type, fixes #1553
git-svn-id: http://svn.automattic.com/wordpress/trunk@2805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-23 07:48:23 +00:00
matt
e58da70252 Fixes #1357
git-svn-id: http://svn.automattic.com/wordpress/trunk@2803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-23 07:43:11 +00:00
ryan
d878c57a30 Call time pass by reference not allowed. Use the array trick. fixes #1583
git-svn-id: http://svn.automattic.com/wordpress/trunk@2798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-20 02:01:44 +00:00
ryan
e93dd02321 get_links() purtification. Props MaThIbUs. fixes #1244
git-svn-id: http://svn.automattic.com/wordpress/trunk@2795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-20 01:46:18 +00:00
ryan
3627bffe0e Capabilities fixes from the O man. fixes #1561
git-svn-id: http://svn.automattic.com/wordpress/trunk@2793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-20 01:37:41 +00:00
matt
4b2090d592 Disabled in safe mode.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-18 21:21:24 +00:00
matt
d9bb04b5a0 Adding personal options
git-svn-id: http://svn.automattic.com/wordpress/trunk@2760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-07 19:23:41 +00:00
matt
4022b5c2be Making the presentation page a little more intuitive
git-svn-id: http://svn.automattic.com/wordpress/trunk@2757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-07 10:11:30 +00:00
matt
fd1748ef2f You should be able to change the defaults
git-svn-id: http://svn.automattic.com/wordpress/trunk@2753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-05 20:44:18 +00:00
matt
0f84eac781 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@2750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-05 00:16:18 +00:00
matt
5ebbcc659b Adding some hooks, fixes #1489
git-svn-id: http://svn.automattic.com/wordpress/trunk@2743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:40:42 +00:00
matt
12cd19ce22 More hooks, fixes #1535
git-svn-id: http://svn.automattic.com/wordpress/trunk@2741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:28:09 +00:00
matt
a8e34ba8e9 Fixes #1370
git-svn-id: http://svn.automattic.com/wordpress/trunk@2740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-08-03 00:24:13 +00:00
matt
60327b0ca2 It falls back to funky escaping that causes problems and is not reversible, so temporarily disabling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-26 20:11:41 +00:00
matt
4c1fa286cc Setting native eol:style
git-svn-id: http://svn.automattic.com/wordpress/trunk@2735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 16:16:03 +00:00
matt
84611d5844 Typo was making everyone admins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 16:14:29 +00:00
matt
97a426b19c Remember me button on login, fixes #379
git-svn-id: http://svn.automattic.com/wordpress/trunk@2733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:56:59 +00:00
matt
bbd789660a Negate that. Fixes #1490. Hat tip: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-23 06:29:46 +00:00
ryan
9bca3f5db6 Refactor level to cap upgrade code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-19 14:24:06 +00:00
matt
6a30e8033f More cookie catchups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-18 20:12:48 +00:00
matt
41afea2f94 Let advanced users override cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-18 19:55:24 +00:00
ryan
8226fb2239 get_usermeta() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 19:55:19 +00:00
ryan
5177196b10 Trim option value only if it is a string. Don't trim objects and arrays. Props: Jason Bainbridge
git-svn-id: http://svn.automattic.com/wordpress/trunk@2717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 18:41:11 +00:00
ryan
0282a8fc0c in_the_loop() Props: Mark Jaquith fixes #1518
git-svn-id: http://svn.automattic.com/wordpress/trunk@2716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-17 16:58:13 +00:00
matt
253221dbb2 Check it if matches before serializing, because get_option de-serializes. Hat tip: Donncha.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-16 21:13:14 +00:00
ryan
508e55acd2 More cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 02:16:45 +00:00
ryan
40a99fc9a1 Move user_can_*() functions to capabilities.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:27:01 +00:00
ryan
2f6ae330c0 Cap migration.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-15 01:24:08 +00:00
ryan
27174a151b Fix typos in is_role() and get_userdata(). fixes #1509 Props: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-14 22:58:58 +00:00
ryan
7af36168cb Roles update + UI from Owen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-12 15:53:13 +00:00
ryan
a6ade4a767 Role/capability system. Round one. Props: Owen Winkler
git-svn-id: http://svn.automattic.com/wordpress/trunk@2703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-11 22:39:50 +00:00
matt
13f492ab75 Massive user_level fix. We were still using the user_level field in wp_users in some places, where we should just use the table prefixed usermeta value.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-09 01:27:46 +00:00
ryan
6cbb6fecb3 Stripslashes doesn't work on arrays. Add stripslashes_deep(). Props: Mike Little
git-svn-id: http://svn.automattic.com/wordpress/trunk@2700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-06 01:12:38 +00:00
ryan
91efba11ad Use wpdb->escape instead of addslashes to prepare DB bound data.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-05 20:47:22 +00:00
ryan
cbce881c2b register_activation_hook() and register_deactivation_hook(). Let's try these on.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 21:53:26 +00:00
ryan
20ae785c4c Typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-04 06:27:04 +00:00
ryan
54766eade4 XMLRPC category fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-03 18:33:03 +00:00
matt
d4cdb47503 Wrong translation and indentation fix, fixes #1373
git-svn-id: http://svn.automattic.com/wordpress/trunk@2689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:44:35 +00:00
matt
f8a51d856b Unecessary query, fixes #1456
git-svn-id: http://svn.automattic.com/wordpress/trunk@2688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:41:07 +00:00
matt
e065df406a Output not echo, fixes #1465
git-svn-id: http://svn.automattic.com/wordpress/trunk@2686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:37:08 +00:00
matt
f048ab7b0a Indentation and correct response link when no comments, fixes #1408
git-svn-id: http://svn.automattic.com/wordpress/trunk@2685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:35:36 +00:00
matt
76fd741767 Better escaping from class, fixes #1394
git-svn-id: http://svn.automattic.com/wordpress/trunk@2684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 23:31:43 +00:00
ryan
56c304f8bb Make sure cat list is an array. Props: Peter Westwood
git-svn-id: http://svn.automattic.com/wordpress/trunk@2683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-07-02 17:28:06 +00:00
matt
210192f822 We don't think these are needed...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-29 00:44:02 +00:00
ryan
bec4057356 url_to_postid() fixes from Mark Jaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-27 22:02:57 +00:00
ryan
e2e3204fa0 Quote IDs in get queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-26 20:44:58 +00:00
ryan
8b55719431 Comment updating cleanup. Add get_comment(), edit_comment(), get_comment_to_edit(), and wp_update_comment().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-26 19:55:12 +00:00
ryan
ee2a1df296 Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: http://svn.automattic.com/wordpress/trunk@2657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-20 02:03:35 +00:00
ryan
b1a8620710 Return output of get_links() when calling from wp_get_links(). Props: Kafkaesqui fixes #1437
git-svn-id: http://svn.automattic.com/wordpress/trunk@2656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-20 01:40:52 +00:00
ryan
48035b638a Return output of list_cats() when calling from wp_list_cats(). Props: edavis fixes #1449
git-svn-id: http://svn.automattic.com/wordpress/trunk@2655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-20 01:30:39 +00:00
ryan
0b7373e0cc Add get_post_to_edit() and get_default_post_to_edit(). More post.php cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 02:51:48 +00:00
ryan
477f109d97 Consolidate post update code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-19 01:33:38 +00:00
ryan
eb91c8f770 Use default_category option if not cat specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:17:55 +00:00
ryan
5cfc1a248b Consolidate post creation code into wp_insert_post().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-18 19:08:38 +00:00
ryan
2c44f33f78 Straighten out user_id/user_ID conflict. Don't make user_id global in get_currentuserinfo() because it stomps on the local user_id in user-edit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-16 06:27:30 +00:00
matt
ee3e50ff3d Encode stylesheet reference. Hit tip: Scott Yang
git-svn-id: http://svn.automattic.com/wordpress/trunk@2642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-15 18:49:47 +00:00
ryan
fa147528c6 Wrap metavalue loop in is_array to check to avoid invalid argument warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-14 22:54:58 +00:00
matt
0ca51a3e5c Typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@2637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 08:38:42 +00:00
matt
1f9a608be9 User data migration should be complete
git-svn-id: http://svn.automattic.com/wordpress/trunk@2636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 08:32:44 +00:00
ryan
8f00d317de Parse REQUEST_URI as a permalink if it looks permalinkish. Use reduced mod_rewrite rules by default.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 02:09:24 +00:00
matt
a08b652698 More user fixups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-13 00:05:41 +00:00
matt
10586c54bc More user
git-svn-id: http://svn.automattic.com/wordpress/trunk@2633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:22:06 +00:00
matt
de9cc8b12c More user updates
git-svn-id: http://svn.automattic.com/wordpress/trunk@2632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 23:14:52 +00:00
matt
0c17753031 Beginning of user system overhaul, TODO: update all code that deals with user data
git-svn-id: http://svn.automattic.com/wordpress/trunk@2631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 20:49:13 +00:00
matt
a436e15576 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@2630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-12 20:48:07 +00:00
ryan
1baf503d64 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-10 23:15:13 +00:00
matt
1f7552af25 Fix for get_author_link, fixes #1430
git-svn-id: http://svn.automattic.com/wordpress/trunk@2626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-10 23:13:19 +00:00
matt
09adfadae0 Better headers for CGI enviroments
git-svn-id: http://svn.automattic.com/wordpress/trunk@2623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-09 00:17:43 +00:00
matt
aa209f78de Updating IXR to latest, fixes #1400
git-svn-id: http://svn.automattic.com/wordpress/trunk@2622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-07 07:39:39 +00:00
matt
c65f0168cd Better pingback extraction, fixes #1268
git-svn-id: http://svn.automattic.com/wordpress/trunk@2619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-06-04 10:15:36 +00:00
matt
4beed03c65 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@2617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-27 06:14:25 +00:00
matt
b3a5117b6d Bad cat ID cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@2616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-27 06:10:41 +00:00
matt
46291cd1f5 Bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@2613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-19 17:44:58 +00:00
ryan
9e63b5c8d8 Don't attempt to trackback an empty string. Fix file path in wp_get_http_headers(). This avoids 'File does not exist' server messages when processing enclosures.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-18 03:17:55 +00:00
ryan
ec0f80aa43 More url_to_postid() fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-18 02:27:43 +00:00
ryan
a95277a8c5 More url_to_postid() fixes. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: http://svn.automattic.com/wordpress/trunk@2610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-18 00:04:30 +00:00
ryan
e11647a638 Rework url_to_postid() to handle all supported permalink structs. Helps resolve pingback URIs to posts. http://mosquito.wordpress.org/view.php?id=1324
git-svn-id: http://svn.automattic.com/wordpress/trunk@2609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-14 02:59:42 +00:00
ryan
8788a9bd9e Make sure cache is primed before use in get_category_children().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-14 02:57:47 +00:00
matt
434ee3acd5 Newline regression - http://mosquito.wordpress.org/view.php?id=263 - Hat tip: mlittle
git-svn-id: http://svn.automattic.com/wordpress/trunk@2607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-14 00:22:30 +00:00
matt
b6cbe98881 fclose removed, only use curl if we have to - http://mosquito.wordpress.org/view.php?id=1324 - hat tip: rboren
git-svn-id: http://svn.automattic.com/wordpress/trunk@2606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:53:18 +00:00
matt
4160fafdcd http://mosquito.wordpress.org/view.php?id=1331 - Hat tip: Mike the Magnificant
git-svn-id: http://svn.automattic.com/wordpress/trunk@2603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:13:13 +00:00
matt
7059985cf1 http://mosquito.wordpress.org/view.php?id=1348 - rboren - perhaps we should standardize on REQUEST_URI and clean up in wp-settings?
git-svn-id: http://svn.automattic.com/wordpress/trunk@2602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:11:26 +00:00
matt
d6b2e48c89 http://mosquito.wordpress.org/view.php?id=1341 - Hat tip: Ryan the Rockstar
git-svn-id: http://svn.automattic.com/wordpress/trunk@2601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 21:09:21 +00:00
matt
7b58642bbc About to start the patchfest
git-svn-id: http://svn.automattic.com/wordpress/trunk@2599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 20:59:10 +00:00
matt
ff3d436b2f http://mosquito.wordpress.org/view.php?id=1353 - Hat tip MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-13 20:31:59 +00:00
matt
422bd96e7e Boop
git-svn-id: http://svn.automattic.com/wordpress/trunk@2596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 19:04:43 +00:00
matt
8f96b4f054 Use correct category ID variable - http://mosquito.wordpress.org/view.php?id=1319
git-svn-id: http://svn.automattic.com/wordpress/trunk@2589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 10:59:36 +00:00
matt
04f3e6d29d Use class instead of ID - http://mosquito.wordpress.org/view.php?id=1320
git-svn-id: http://svn.automattic.com/wordpress/trunk@2588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-09 10:58:14 +00:00
matt
9f33ee88e1 Version numbers are always irrational anyway
git-svn-id: http://svn.automattic.com/wordpress/trunk@2585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-05 23:13:24 +00:00
matt
f0a54726e0 Add filter to page list
git-svn-id: http://svn.automattic.com/wordpress/trunk@2583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-04 20:57:12 +00:00
matt
17681831ee Don't P on address
git-svn-id: http://svn.automattic.com/wordpress/trunk@2582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-03 22:31:20 +00:00
matt
95883b9211 Use CURL if available, possible fix for http://mosquito.wordpress.org/view.php?id=1166
git-svn-id: http://svn.automattic.com/wordpress/trunk@2581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-03 07:52:11 +00:00
matt
48d0ec3c43 Texturize tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@2578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-05-01 19:21:42 +00:00
ryan
3e8d9d0cf0 Fix comment auto-approval for authors/admins. http://mosquito.wordpress.org/view.php?id=1291 Props: kim, coffee2code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-27 23:55:06 +00:00
ryan
ebdf64dce2 Fix WP version in pingbacks. http://mosquito.wordpress.org/view.php?id=1285 Props: error
git-svn-id: http://svn.automattic.com/wordpress/trunk@2575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-26 05:51:25 +00:00
matt
96b0ea4c10 Extended ping support
git-svn-id: http://svn.automattic.com/wordpress/trunk@2572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-22 21:17:10 +00:00
ryan
edb0d26bef Handle theme name collisions more elegantly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-21 01:35:52 +00:00
matt
797c0e896f Show 0 titles - http://mosquito.wordpress.org/view.php?id=1266 Hat tip: Mark
git-svn-id: http://svn.automattic.com/wordpress/trunk@2567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-21 00:55:30 +00:00
ryan
87ae97a740 Add echo option to wp_list_pages() and subordinates. http://mosquito.wordpress.org/view.php?id=1270 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-21 00:49:15 +00:00
matt
5eb42126dd Whitelist from own domain. http://mosquito.wordpress.org/view.php?id=999
git-svn-id: http://svn.automattic.com/wordpress/trunk@2562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 22:01:24 +00:00
matt
b8899402d0 Dupe comment check - http://mosquito.wordpress.org/view.php?id=1265
git-svn-id: http://svn.automattic.com/wordpress/trunk@2561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 21:56:28 +00:00
matt
baffa2ef15 Don't enclose different things multiple times - http://mosquito.wordpress.org/view.php?id=1197
git-svn-id: http://svn.automattic.com/wordpress/trunk@2560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 21:07:19 +00:00
matt
68b4b3c61c Line ending fixes and commenting cleanups from Scott Reilly
git-svn-id: http://svn.automattic.com/wordpress/trunk@2556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 03:37:23 +00:00
ryan
5786083f60 Remove svn:executable from streams.php and gettext.php http://mosquito.wordpress.org/view.php?id=1261
git-svn-id: http://svn.automattic.com/wordpress/trunk@2554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 02:46:48 +00:00
matt
8e076bda03 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: http://svn.automattic.com/wordpress/trunk@2552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 17:24:05 +00:00
matt
a2b53e2909 More consistent use of cat_ID vs category_id
git-svn-id: http://svn.automattic.com/wordpress/trunk@2551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 17:17:36 +00:00
matt
74b400f3d3 Optimiation from Denis
git-svn-id: http://svn.automattic.com/wordpress/trunk@2550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 05:27:24 +00:00
matt
0d878895e4 Missing backslash, fixes http://mosquito.wordpress.org/view.php?id=1224
git-svn-id: http://svn.automattic.com/wordpress/trunk@2549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:41:22 +00:00
matt
f3031d20db Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: http://svn.automattic.com/wordpress/trunk@2548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:35:48 +00:00
matt
4d55cc850b Better message.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:25:14 +00:00
matt
ac4cbfa853 Test for true.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:11:55 +00:00
matt
03b04efa1c Only ping the site once. Fixes http://mosquito.wordpress.org/view.php?id=1254
git-svn-id: http://svn.automattic.com/wordpress/trunk@2545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 03:10:12 +00:00
ryan
4780b6f925 Use UTC in comments rss feed. http://mosquito.wordpress.org/view.php?id=1256 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 00:23:55 +00:00
ryan
527e544e2f In same category support for next and previous post navigation. http://mosquito.wordpress.org/view.php?id=1252 Props: skippy
git-svn-id: http://svn.automattic.com/wordpress/trunk@2542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-18 21:47:35 +00:00
ryan
9fd4eb9adf Filter the title in next_post() and previous_post(). Mark next_post() and previous_post() as deprecated. Update the default theme to use next_post_link() and previous_post_link(). http://mosquito.wordpress.org/view.php?id=1241 Hat tip: wyrfel
git-svn-id: http://svn.automattic.com/wordpress/trunk@2538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-17 17:09:19 +00:00
ryan
6fa7ece460 Fix post paging regex to avoid regex collision between posts with slugs that differ only by a trailing number. http://mosquito.wordpress.org/view.php?id=1235
git-svn-id: http://svn.automattic.com/wordpress/trunk@2535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-14 04:24:22 +00:00
ryan
84c853d8d0 LIMIT 1 in the whitelist query. Props: Brian Dupuis
git-svn-id: http://svn.automattic.com/wordpress/trunk@2531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 16:50:13 +00:00
ryan
7b1a2648b3 Better page and subpage support for url_to_postid(). http://mosquito.wordpress.org/view.php?id=1214 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-12 21:12:28 +00:00
ryan
381e0879d0 Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: http://svn.automattic.com/wordpress/trunk@2526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-10 20:07:46 +00:00
ryan
a19088c2cb Implement order and orderby for get_posts(). http://mosquito.wordpress.org/view.php?id=1161 Props: RummandDan
git-svn-id: http://svn.automattic.com/wordpress/trunk@2525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:30:57 +00:00
ryan
92805e971f Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:25:47 +00:00
ryan
e54d8a34c2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: http://svn.automattic.com/wordpress/trunk@2523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 17:12:36 +00:00
ryan
f81f76f751 Use comment count cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 07:09:26 +00:00
ryan
13ae8dd0bc Don't escape broken vertical bar.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-08 14:16:29 +00:00
matt
50829f1dda Adding new comment template hooks
git-svn-id: http://svn.automattic.com/wordpress/trunk@2518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-06 15:13:56 +00:00
ryan
2cdb8f3852 Add entity 2 ncr converter. http://mosquito.wordpress.org/view.php?id=929 Props: Kaf Oseo
git-svn-id: http://svn.automattic.com/wordpress/trunk@2517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-05 17:25:57 +00:00
ryan
08b02d95bc Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
git-svn-id: http://svn.automattic.com/wordpress/trunk@2516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-04 23:25:51 +00:00
ryan
e3d0f0334d Make wp_mail() replaceable. http://mosquito.wordpress.org/view.php?id=1210
git-svn-id: http://svn.automattic.com/wordpress/trunk@2515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-04 22:36:09 +00:00
ryan
ee95c85ec9 Recognize level 0 users in wp_loginout() and wp_register(). http://mosquito.wordpress.org/view.php?id=1202 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-03 17:38:41 +00:00
ryan
8f5144ccfc In get_category(), check for empty category id so that we do not create a malformed SQL query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-03 05:09:31 +00:00
ryan
e5d1bed10c Don't use i18n unfriendly substr operations in date_i18n. http://mosquito.wordpress.org/view.php?id=1200 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-02 19:51:12 +00:00
ryan
6a85ffa048 Add query string style API support to wp_get_linksbyname(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: http://svn.automattic.com/wordpress/trunk@2507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-01 05:45:26 +00:00
ryan
1360dd85c5 add_query_arg() dropped the passed in query string if the string did not contain any path elements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-01 05:42:46 +00:00
ryan
28da91c8e1 Add query string style API support to wp_get_links(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: http://svn.automattic.com/wordpress/trunk@2505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-01 05:15:18 +00:00
ryan
74328576c6 More category cache cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-31 05:25:54 +00:00
ryan
d8ba4fd2ef You can't index an array with an object ref. Silly Ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-31 05:00:39 +00:00
ryan
2c30bcbb7d Add support for new Status: theme header field. http://mosquito.wordpress.org/view.php?id=1192
git-svn-id: http://svn.automattic.com/wordpress/trunk@2502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-31 04:44:50 +00:00
ryan
928cb8e0a5 Add some more cache handling to get_category().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-30 23:33:37 +00:00
ryan
14aeac1de1 Fix Manage->Posts paging when running WP in a subdir. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: http://svn.automattic.com/wordpress/trunk@2499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-30 06:51:55 +00:00
ryan
2ca5ffceea Accidentally dropped admin_email var. http://mosquito.wordpress.org/view.php?id=1190 Props: MtDewVirus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-30 05:45:30 +00:00
ryan
99218b60d7 Remove old, unused variables. http://mosquito.wordpress.org/view.php?id=1187 Props: Alex Parkhomenko
git-svn-id: http://svn.automattic.com/wordpress/trunk@2497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 22:35:15 +00:00
ryan
65e7810299 Cockney 'cause. http://mosquito.wordpress.org/view.php?id=1100 Props: bcrow
git-svn-id: http://svn.automattic.com/wordpress/trunk@2493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 15:19:50 +00:00
ryan
38d509975a Add wp_footer() to maintain fearful symmetry with our head. http://mosquito.wordpress.org/view.php?id=1147 Props: ringmaster
git-svn-id: http://svn.automattic.com/wordpress/trunk@2492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 15:11:36 +00:00
ryan
97504fef96 get_post(): Don't use for cache lookup when a post id is passed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 03:33:56 +00:00
ryan
bd7f914d8c Add Latin Extended-A decompositions to remove_accents(). http://mosquito.wordpress.org/view.php?id=836
git-svn-id: http://svn.automattic.com/wordpress/trunk@2484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 03:12:24 +00:00
ryan
eb6980c900 Decompose U+00DF LATIN SMALL LETTER SHARP S to U+0073 LATIN SMALL LETTER S. Reindent decomposition table. http://mosquito.wordpress.org/view.php?id=1180
git-svn-id: http://svn.automattic.com/wordpress/trunk@2483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 01:38:29 +00:00
ryan
e6ace4940a Pass by value instead of reference. http://mosquito.wordpress.org/view.php?id=1171 Props: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-29 01:04:16 +00:00
ryan
dbeb92f23b Add paging to Manage->Posts. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: http://svn.automattic.com/wordpress/trunk@2481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-28 02:34:16 +00:00
ryan
8da6700ea7 Get all generations of page children, not just the first, when using child_of. http://mosquito.wordpress.org/view.php?id=1171
git-svn-id: http://svn.automattic.com/wordpress/trunk@2480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-27 22:17:23 +00:00
ryan
7a8be58c67 Split post and page caches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-27 21:56:10 +00:00
ryan
8f9c24ef7a Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: http://svn.automattic.com/wordpress/trunk@2478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-27 20:45:01 +00:00
ryan
8682ab7007 Localize email messages. http://mosquito.wordpress.org/view.php?id=1168 Props: slebog
git-svn-id: http://svn.automattic.com/wordpress/trunk@2477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-25 21:41:45 +00:00
ryan
4e1fa082fd Feeds should always show x posts, not x days. http://mosquito.wordpress.org/view.php?id=1159
git-svn-id: http://svn.automattic.com/wordpress/trunk@2475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-23 21:39:22 +00:00
ryan
1828746711 Respect post password protection for enclosures. http://mosquito.wordpress.org/view.php?id=1040
git-svn-id: http://svn.automattic.com/wordpress/trunk@2472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 17:49:19 +00:00
ryan
1dd96f8a39 Add posts_orderby filter. http://mosquito.wordpress.org/view.php?id=1149 Props: davidchait
git-svn-id: http://svn.automattic.com/wordpress/trunk@2466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 01:55:07 +00:00
ryan
e20d004cab Honor echo var in get_links(). http://mosquito.wordpress.org/view.php?id=1023 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-22 00:08:57 +00:00
matt
f94536e388 Missing UA - http://mosquito.wordpress.org/view.php?id=1086
git-svn-id: http://svn.automattic.com/wordpress/trunk@2457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-18 15:48:30 +00:00
matt
56933a4e6d Fix from Kimmo/Craig
git-svn-id: http://svn.automattic.com/wordpress/trunk@2456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-18 06:07:36 +00:00
matt
5b6f2a148c Use installing variable (from Donncha)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 23:34:06 +00:00
ryan
cb76d37c05 Fix fallback case for __ngettext(). http://mosquito.wordpress.org/view.php?id=1125
git-svn-id: http://svn.automattic.com/wordpress/trunk@2454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 18:15:18 +00:00
ryan
3e2b1f0d75 Level 1 users cannot edit or delete published posts. http://mosquito.wordpress.org/view.php?id=1004
git-svn-id: http://svn.automattic.com/wordpress/trunk@2453 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-17 03:39:02 +00:00
ryan
8b3937b621 Fix all/none handling in dropdown_cats(). http://mosquito.wordpress.org/view.php?id=1120 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-16 21:36:18 +00:00
ryan
59ae577d6b Exclude admin from author list based on user_login instead of user_nickname since user_nickname can be changed. http://mosquito.wordpress.org/view.php?id=1090 Props: MC_incubus
git-svn-id: http://svn.automattic.com/wordpress/trunk@2444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-14 01:09:49 +00:00
ryan
c4b6f0fa51 Apply filters to auto excerpt before tags are stripped. http://mosquito.wordpress.org/view.php?id=918 Props: kim
git-svn-id: http://svn.automattic.com/wordpress/trunk@2443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-14 01:02:04 +00:00
ryan
267655af24 Apply filters to trackback content. http://mosquito.wordpress.org/view.php?id=1085 Props: kim
git-svn-id: http://svn.automattic.com/wordpress/trunk@2442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-14 00:55:21 +00:00
ryan
5123086148 Change login noun to Username. http://mosquito.wordpress.org/view.php?id=1088 Props: Albert
git-svn-id: http://svn.automattic.com/wordpress/trunk@2437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 17:06:18 +00:00
ryan
8b36e6be3a Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: http://svn.automattic.com/wordpress/trunk@2436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 16:36:09 +00:00
ryan
3825b18aff Don't allow a page to be its own parent. http://mosquito.wordpress.org/view.php?id=1095
git-svn-id: http://svn.automattic.com/wordpress/trunk@2435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-13 01:24:18 +00:00
ryan
c21410812f Mark strings for translation. http://mosquito.wordpress.org/view.php?id=1033 Hat tip: slebog
git-svn-id: http://svn.automattic.com/wordpress/trunk@2432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-11 03:41:04 +00:00
ryan
5a295374c6 Fix do_action arg handling. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: http://svn.automattic.com/wordpress/trunk@2430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-11 00:57:34 +00:00
matt
2bc77d4189 Past and future time diffs, hat tip Eric Meyer. http://mosquito.wordpress.org/view.php?id=1059
git-svn-id: http://svn.automattic.com/wordpress/trunk@2428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-10 08:01:02 +00:00
ryan
ef3ef052e6 Cache the max number of pages to avoid multiple queries. http://mosquito.wordpress.org/view.php?id=1063
git-svn-id: http://svn.automattic.com/wordpress/trunk@2422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-09 04:15:30 +00:00
ryan
b6cd1461ec Page caching fixes. Mosquito bugs 920, 927, and 934.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-09 03:16:30 +00:00
ryan
4964935ced Add missing globals to post_custom(). http://mosquito.wordpress.org/view.php?id=1058 Props: kellan
git-svn-id: http://svn.automattic.com/wordpress/trunk@2420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-08 16:28:57 +00:00
ryan
afabe5523d Don't stomp feed flag. http://mosquito.wordpress.org/view.php?id=1044 Props: shelleyp
git-svn-id: http://svn.automattic.com/wordpress/trunk@2419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-08 01:20:08 +00:00
matt
266b766a0d http://mosquito.wordpress.org/view.php?id=1049
git-svn-id: http://svn.automattic.com/wordpress/trunk@2418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-07 15:20:56 +00:00
matt
568d440bf4 Cleaned up enclosures, factored out header code, fixed validation -
http://mosquito.wordpress.org/view.php?id=963


git-svn-id: http://svn.automattic.com/wordpress/trunk@2416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-07 08:56:47 +00:00
matt
5d148a8d1b Fix for http://mosquito.wordpress.org/view.php?id=980
git-svn-id: http://svn.automattic.com/wordpress/trunk@2415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-07 06:48:57 +00:00
ryan
563e4e9ff9 Do not skip whitelist checking if moderation keys are empty. http://mosquito.wordpress.org/view.php?id=1028 Props: ColdForged
git-svn-id: http://svn.automattic.com/wordpress/trunk@2414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-07 00:16:06 +00:00
ryan
3a0fc8bf43 Fix %post_id% and date collision avoidance. http://mosquito.wordpress.org/view.php?id=1027
git-svn-id: http://svn.automattic.com/wordpress/trunk@2410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-05 18:13:31 +00:00
matt
3afee26783 Missing;
git-svn-id: http://svn.automattic.com/wordpress/trunk@2408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-05 02:02:15 +00:00
matt
4b3cb04c1b Fix from Michel for XML-RPC error - http://mosquito.wordpress.org/view.php?id=829
git-svn-id: http://svn.automattic.com/wordpress/trunk@2407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-04 20:43:57 +00:00
matt
ca90d6e32c Don't count drafts/etc against post count - http://mosquito.wordpress.org/view.php?id=1010
git-svn-id: http://svn.automattic.com/wordpress/trunk@2403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 17:59:19 +00:00
matt
735666f3c0 Hide password on user end - http://mosquito.wordpress.org/view.php?id=1016
git-svn-id: http://svn.automattic.com/wordpress/trunk@2402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 17:56:21 +00:00
ryan
e276f13b35 apply_filter fixes from michel. http://mosquito.wordpress.org/view.php?id=901
git-svn-id: http://svn.automattic.com/wordpress/trunk@2398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-02 15:28:32 +00:00
matt
26808caf61 Fix for emergent whitelisting, hat tip MtDewVirus - http://mosquito.wordpress.org/view.php?id=995
git-svn-id: http://svn.automattic.com/wordpress/trunk@2397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-01 10:10:59 +00:00
matt
2233bfb700 Category query speedup and indentation fixes. Hat tip: Scott. http://mosquito.wordpress.org/view.php?id=1005
git-svn-id: http://svn.automattic.com/wordpress/trunk@2396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-03-01 09:10:12 +00:00
matt
442e09db17 Change require to include so the files are only parsed if the statement is evaluated true.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-28 17:15:53 +00:00
ryan
acf8c1c2cc Bump php-gettext to version 1.0.3. http://mosquito.wordpress.org/view.php?id=1001 Mad props to Nico Kaiser.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-28 16:31:01 +00:00
ryan
826ecd2bcd Pass arg from bloginfo_rss() to get_bloginfo_rss(). http://mosquito.wordpress.org/view.php?id=992 Props: kim
git-svn-id: http://svn.automattic.com/wordpress/trunk@2389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-27 16:42:57 +00:00
ryan
4ae13d2448 Make sure get_the_category() returns an array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-27 04:47:38 +00:00
ryan
8d579218f6 Use index.php for feed links instead of wp-*.php http://mosquito.wordpress.org/view.php?id=915
git-svn-id: http://svn.automattic.com/wordpress/trunk@2384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-26 06:12:16 +00:00
matt
ee0bee021f Escape amps in links manager links - http://priyadi.net/archives/2005/02/25/wordpress-15-bugs/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 17:46:27 +00:00
ryan
b07728b5ee Add get_bloginfo_rss(). http://mosquito.wordpress.org/view.php?id=971 Hat tip: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 15:52:28 +00:00
ryan
eb8369937f Add get_the_category_list(). http://mosquito.wordpress.org/view.php?id=970 Hat tip: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-25 15:50:55 +00:00
matt
774a21505d Version bump, testing new list
git-svn-id: http://svn.automattic.com/wordpress/trunk@2371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-21 07:02:12 +00:00
ryan
810bf22215 Do not translate dates in feeds. http://mosquito.wordpress.org/view.php?id=924. Reviewed by morganiq.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-21 04:19:43 +00:00
rboren
c567fccfc4 Remove option from wp_mail(). The additional parameters argument to mail() is non-portable and not useful to us. Props: dalziel. http://mosquito.wordpress.org/view.php?id=855
git-svn-id: http://svn.automattic.com/wordpress/trunk@2365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-19 04:17:34 +00:00
michelvaldrighi
a7110c0663 reverting the previous patch: it made it impossible to sort the list by category name
git-svn-id: http://svn.automattic.com/wordpress/trunk@2364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-18 16:42:49 +00:00
saxmatt
e39c8e0706 Trackback ending http://mosquito.wordpress.org/view.php?id=884
git-svn-id: http://svn.automattic.com/wordpress/trunk@2361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-17 09:03:23 +00:00
michelvaldrighi
11aea9b0bc whoops, make wp_list_pages not spew a warning when there are no pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@2360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-17 00:11:35 +00:00
emc3
55b747eb07 Oops. Stupid typo. Thanks, Ryan.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 22:01:52 +00:00
emc3
86e5a8a70d This really deserves to be in a separate function so that plugins can get at it more easily, don't you think?
git-svn-id: http://svn.automattic.com/wordpress/trunk@2357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 21:35:58 +00:00
michelvaldrighi
57aabc9252 getting the list of categories from cat_counts if hide_empty is true, saves one query
git-svn-id: http://svn.automattic.com/wordpress/trunk@2356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 16:06:07 +00:00
michelvaldrighi
f547b70201 if permalink_structure doesn't have %category%, don't bother querying categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@2355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 15:49:02 +00:00
michelvaldrighi
b361854d4f added cache_pages to avoid making 1+X queries everytime wp_list_pages is called, where X is the number of pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@2354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 15:12:04 +00:00
michelvaldrighi
8e770d3e6e unified cache_userdata indexes by referencing user_login to ID, got rid of the useless, and broken, get_userid (get_userdatabylogin provides the same functionnality anyway)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 14:29:55 +00:00
emc3
9aba2af474 I'm pretty sure that this should be get_theme_root(), not get_theme_base()
git-svn-id: http://svn.automattic.com/wordpress/trunk@2350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 19:55:12 +00:00
rboren
cff1d9f8f2 Fix category links when permalinks are not enabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 06:52:38 +00:00
saxmatt
86f0f9fa5c *cough*
git-svn-id: http://svn.automattic.com/wordpress/trunk@2345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 01:24:11 +00:00
saxmatt
18aaa8b406 Wrong line
git-svn-id: http://svn.automattic.com/wordpress/trunk@2344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 00:50:23 +00:00
saxmatt
067e48e161 Make excerpt stuff a filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@2341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 00:21:21 +00:00
rboren
1d6d4c6d93 Make wp_setcookie() and wp_clearcookie() replaceable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-15 00:17:21 +00:00
saxmatt
973fea010e Accidentally removed H2
git-svn-id: http://svn.automattic.com/wordpress/trunk@2339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 23:37:28 +00:00
saxmatt
d973258889 User agent in trackbacks, good idea - http://mosquito.wordpress.org/view.php?id=873
git-svn-id: http://svn.automattic.com/wordpress/trunk@2334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:48:48 +00:00
rboren
6a11fa21a2 Load comments-popup template through the index.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:17:23 +00:00
saxmatt
4bfafda743 http://mosquito.wordpress.org/view.php?id=871
git-svn-id: http://svn.automattic.com/wordpress/trunk@2330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 07:09:51 +00:00
saxmatt
ab9fa0a56b Fix for single_month_title - http://mosquito.wordpress.org/view.php?id=867
git-svn-id: http://svn.automattic.com/wordpress/trunk@2327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 06:48:51 +00:00
saxmatt
a622906bd5 Don't let there be duplicate post_names
git-svn-id: http://svn.automattic.com/wordpress/trunk@2323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:51:14 +00:00
saxmatt
8e014dea63 html_type to allow for true XHTML.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:36:57 +00:00
saxmatt
72dc0ab63b More efficient get_category_link - http://mosquito.wordpress.org/view.php?id=590
git-svn-id: http://svn.automattic.com/wordpress/trunk@2316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 03:27:50 +00:00
saxmatt
eda8b55ac0 Removal of changes.xml bloat.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 03:11:23 +00:00
saxmatt
87917546b6 Better pinging
git-svn-id: http://svn.automattic.com/wordpress/trunk@2312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 01:57:48 +00:00
saxmatt
0cd0269cc8 Support for categories - http://mosquito.wordpress.org/view.php?id=52
git-svn-id: http://svn.automattic.com/wordpress/trunk@2311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 00:58:51 +00:00
saxmatt
d8b56fa353 Show post count in dropdown - http://mosquito.wordpress.org/view.php?id=596
git-svn-id: http://svn.automattic.com/wordpress/trunk@2306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 23:46:33 +00:00
rboren
8fd4dd7b12 Use the object's is_* vars instead of the global is_* functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 19:45:04 +00:00
rboren
1b8050d0d3 Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: http://svn.automattic.com/wordpress/trunk@2299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 19:42:22 +00:00
rboren
1cb207c91e Make adding new feeds to rewrite rules easier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 18:42:40 +00:00
rboren
7c6579f01f /archives/%post_id% permalinks break for post ids over 1000. http://mosquito.wordpress.org/view.php?id=847
git-svn-id: http://svn.automattic.com/wordpress/trunk@2296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 18:26:50 +00:00
rboren
8ee644d067 Allow category and date filtering to coincide. Allow any number of spaces or commas to serve as item separators in the category and author arrays. http://mosquito.wordpress.org/view.php?id=221
git-svn-id: http://svn.automattic.com/wordpress/trunk@2295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 17:52:58 +00:00
rboren
e509af852c Add theme directory location hooks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 19:06:06 +00:00
saxmatt
5d2fe3fa18 Allow custom comment template - http://mosquito.wordpress.org/view.php?id=632
git-svn-id: http://svn.automattic.com/wordpress/trunk@2289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 08:58:27 +00:00
saxmatt
553e41cf73 Enclosure cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 08:58:10 +00:00
saxmatt
6a8d010ec6 Styleme - http://mosquito.wordpress.org/view.php?id=856
git-svn-id: http://svn.automattic.com/wordpress/trunk@2283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 07:31:56 +00:00
saxmatt
fa0753801a Don't show pages or objects in recent posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 05:25:09 +00:00
saxmatt
b0db8dfc0b Invalid XHTML possibility - http://mosquito.wordpress.org/view.php?id=518
git-svn-id: http://svn.automattic.com/wordpress/trunk@2280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 02:05:58 +00:00
saxmatt
26831e298d We send the charset so we shouldn't need to do character conversion
git-svn-id: http://svn.automattic.com/wordpress/trunk@2277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-12 01:22:36 +00:00
saxmatt
e8699e2099 Don't show category counts from the future.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 03:43:56 +00:00
saxmatt
34da840f28 Allow setting of post_parent - http://mosquito.wordpress.org/view.php?id=111
git-svn-id: http://svn.automattic.com/wordpress/trunk@2269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 03:36:49 +00:00
saxmatt
7231abe7ea Don't double encode
git-svn-id: http://svn.automattic.com/wordpress/trunk@2263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 02:26:05 +00:00
saxmatt
c43b3244bd Shorten excerpt
git-svn-id: http://svn.automattic.com/wordpress/trunk@2262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 02:19:16 +00:00
saxmatt
4ebdf7232c http://mosquito.wordpress.org/view.php?id=778
git-svn-id: http://svn.automattic.com/wordpress/trunk@2261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 02:16:38 +00:00
saxmatt
6d15f88945 Excellent spam moderation patch from CarLBanks - http://mosquito.wordpress.org/view.php?id=835
git-svn-id: http://svn.automattic.com/wordpress/trunk@2258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 01:52:19 +00:00
saxmatt
496b443095 Don't show email errors for people who don't have it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 01:31:23 +00:00
saxmatt
3a9560b6d6 Don't show posts from the future
git-svn-id: http://svn.automattic.com/wordpress/trunk@2255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 01:27:10 +00:00
saxmatt
68e2bbefb3 Keep working with 4.1 - http://mosquito.wordpress.org/view.php?id=808
git-svn-id: http://svn.automattic.com/wordpress/trunk@2247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 00:57:46 +00:00
saxmatt
6f8ab483d8 When good regex goes bad - http://mosquito.wordpress.org/view.php?id=851
git-svn-id: http://svn.automattic.com/wordpress/trunk@2246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 00:55:01 +00:00
rboren
300476b51c Concatenate this.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 09:14:14 +00:00
saxmatt
81e7d9218f Some filter action and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@2240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:46:41 +00:00
saxmatt
b00f007d8f Remove querystring variable legacy code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:37:53 +00:00
saxmatt
2520d8e8f5 Include cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:25:30 +00:00
saxmatt
faf873cbb6 Mail and reset fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 06:43:23 +00:00
rboren
d7279b073a Fix May abbreviation translation. Patch by morganiq. http://mosquito.wordpress.org/view.php?id=722
git-svn-id: http://svn.automattic.com/wordpress/trunk@2232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-06 20:45:10 +00:00
rboren
49490ac2ac Do some caching in get_postdata().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-06 18:21:20 +00:00
rboren
01135095f3 Don't array_slice in loop. Move it up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-06 06:13:26 +00:00
rboren
d5bbb6214c Oops. Inverted logic and typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-06 03:42:53 +00:00
rboren
e0d7582c46 Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-06 03:40:08 +00:00
rboren
9981bb9e4f Respect the mode. Props: ringmaster. http://mosquito.wordpress.org/view.php?id=804
git-svn-id: http://svn.automattic.com/wordpress/trunk@2225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 20:45:50 +00:00
rboren
284b2bd617 Add home.php template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-05 18:10:05 +00:00
saxmatt
83cb30938d Version bump
git-svn-id: http://svn.automattic.com/wordpress/trunk@2209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 22:53:52 +00:00
saxmatt
11295e488e Faster way to get_custom strings.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 22:52:47 +00:00
saxmatt
4bbac5be9b Make more login stuff pluggable.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 10:48:54 +00:00
saxmatt
30213a51c1 Adding support for a proxy-specific RBL that has shown to be extremely effective
git-svn-id: http://svn.automattic.com/wordpress/trunk@2199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 08:40:44 +00:00
rboren
f924bec2f3 Fix apply_filters. Bug 777.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-02 06:07:11 +00:00
rboren
8b0d256a44 Fix typo spotted by morganiq.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 17:27:10 +00:00
michelvaldrighi
e1325ba94b Fix for bug #559, just use user_can_ functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@2195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 11:14:45 +00:00
saxmatt
b5a43a4b77 Dashboard and option tweaks
git-svn-id: http://svn.automattic.com/wordpress/trunk@2192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 09:52:36 +00:00
rboren
66aa2aad8a Fix i18n page links. Handle RTL hierarchies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 08:35:45 +00:00
rboren
e9c621df15 Add parse_query_vars() and parse_query action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 08:34:19 +00:00
rboren
dc140e66c8 Don't stomp the percent in escaped octets.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 08:31:13 +00:00
rboren
bacd080989 Use parse_url instead of regex wackiness.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 07:05:00 +00:00
rboren
9838608868 Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:20:54 +00:00
rboren
c407b7b457 get_*_template() functions and filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 03:44:32 +00:00
rboren
85e1235b65 Feed link fix for bug 775. Hat tip: Kafkaesqui
git-svn-id: http://svn.automattic.com/wordpress/trunk@2181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 02:01:38 +00:00
rboren
e9d1241d26 Remove support for 'all' queries and for poststart and postend.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:49:51 +00:00
saxmatt
1a10aedc78 Copyright and registered corrections cause more trouble than they help
git-svn-id: http://svn.automattic.com/wordpress/trunk@2178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:13:11 +00:00
rboren
01b7f5aaf4 Add set method.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:04:08 +00:00
saxmatt
dac4a93b38 Don't look at dot directories or CVS for themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 18:46:17 +00:00
saxmatt
19b9dc09ae Don't do path thing for trackback URIs
git-svn-id: http://svn.automattic.com/wordpress/trunk@2168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 10:16:07 +00:00
saxmatt
e2e1028be1 Fix for http://mosquito.wordpress.org/view.php?id=587
git-svn-id: http://svn.automattic.com/wordpress/trunk@2167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 10:06:12 +00:00
saxmatt
c4649b9979 Comment registration goodness. Hat tip to Jason at noprequisite.com for user_identity code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 06:38:12 +00:00
saxmatt
f95c9db9b7 Moderation confirmation from Ryan, some other template and comment editing improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 04:22:01 +00:00
saxmatt
43a237c41c Adding rel tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@2164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 03:49:50 +00:00
rboren
b3be81f284 Remove upgrade-functions include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-31 01:09:45 +00:00
rboren
0e73b09de1 Set the locale and load the default text domain after plugins are loaded so that plugins can manipulate the locale. Bug 765.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-29 23:17:10 +00:00
saxmatt
7f793c6cfe Patch from Adi Sieker
git-svn-id: http://svn.automattic.com/wordpress/trunk@2160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-29 20:14:55 +00:00
saxmatt
264d9ac56f Allow plugins to modify option values on the fly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-27 18:39:52 +00:00
rboren
ba04c52c00 Cleanup wp-l10n includes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-27 15:20:48 +00:00
rboren
6a6a192a1f Add author_link filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:50:15 +00:00
rboren
5e06010606 Add category_link filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:49:18 +00:00
rboren
84f2d4264c Add link filters for bug 743 (hat tip to morganiq). More abstraction and flexibility in WP_Rewrite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:46:40 +00:00
saxmatt
10792f3274 More filters and KSES cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:29:18 +00:00
saxmatt
8d7769dd6b Typo in filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@2150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 20:35:13 +00:00
rboren
38a0c65a59 If a category has parents, include those parents when generating the post permalink (if the permalink contains %category%).
git-svn-id: http://svn.automattic.com/wordpress/trunk@2148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-25 05:01:54 +00:00
rboren
3166eee481 Remove old "site" page rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-25 00:57:14 +00:00
rboren
5bde51754d Generate feed and trackback rules for pages. Bug 742.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-25 00:23:57 +00:00
saxmatt
86e48df4f7 Return comment even if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 10:13:28 +00:00
saxmatt
150b28860c Fix for site-admin / register link - http://mosquito.wordpress.org/view.php?id=603
git-svn-id: http://svn.automattic.com/wordpress/trunk@2142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 10:06:53 +00:00
saxmatt
5da9bc9933 Trim before decoding - http://mosquito.wordpress.org/view.php?id=654
git-svn-id: http://svn.automattic.com/wordpress/trunk@2139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 09:53:23 +00:00
saxmatt
f495494b75 Let people know when things are held for moderation - http://mosquito.wordpress.org/view.php?id=705
git-svn-id: http://svn.automattic.com/wordpress/trunk@2138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 08:27:53 +00:00
saxmatt
5f0aa7f7b0 Some Kubrick cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 08:24:59 +00:00
saxmatt
d7da12c7d2 http://mosquito.wordpress.org/view.php?id=690
git-svn-id: http://svn.automattic.com/wordpress/trunk@2134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 07:55:03 +00:00
saxmatt
99ea3245af Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
git-svn-id: http://svn.automattic.com/wordpress/trunk@2130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 07:30:49 +00:00
saxmatt
25e08bf743 Fix pingback emails - http://mosquito.wordpress.org/view.php?id=729 - and also allow redefinition of wp_notify functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@2129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 06:37:20 +00:00
saxmatt
3e1ff77a0e Handle time_diff less than a minute http://mosquito.wordpress.org/view.php?id=737
git-svn-id: http://svn.automattic.com/wordpress/trunk@2124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-24 06:01:04 +00:00
rboren
696b267d19 Fix locale.php include.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-22 16:52:07 +00:00
saxmatt
2c5c76c12b More escaping of description and cleaner default feed URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-22 03:45:35 +00:00
saxmatt
25897c2b91 Adding nofollow support
git-svn-id: http://svn.automattic.com/wordpress/trunk@2117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 18:24:14 +00:00
saxmatt
f6d6435f63 User-generated rel attributes shouldn't be allowed in comments (doesn't make sense for any current uses of rel.)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 07:53:02 +00:00
rboren
24d3874fa2 Add more rewrite rule filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 05:10:13 +00:00
rboren
8968f4f1aa Fix whitelist. Bug 664.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 03:33:13 +00:00
rboren
375e821211 Filter category description. Bug 727. Hat tip: dmclark
git-svn-id: http://svn.automattic.com/wordpress/trunk@2113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 03:06:56 +00:00
rboren
8add0e48f5 Used the filtered vars, not the unfiltered ones. Bug 641.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 02:55:35 +00:00
rboren
7348f9a66b Pass $d from comment_time() to get_comment_time(). Bug 724. Props: coffee2code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-21 00:38:04 +00:00
rboren
122c114cd6 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-20 04:56:24 +00:00
rboren
032dbc8c79 Deprecate start_wp(). Move start_wp functionality to setup_postdata(). Add the_post() method to WP_Query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-19 02:21:36 +00:00
saxmatt
01ee685d3c http://mosquito.wordpress.org/view.php?id=708 - Patch from Owen Winkler allowing XML-RPC library to call classes without extending the base class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-18 06:12:23 +00:00
rboren
d3c2c2852f Fix $id arg processing for get_the_title(). Also, mark "Protected:" for translation. Bug 706. Props: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-17 20:16:22 +00:00
rboren
80373058d9 Use str_repeat instead of array_fill. Bug 695. Patch from gbhugo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 15:51:31 +00:00
saxmatt
f836050ca3 http://mosquito.wordpress.org/view.php?id=684
git-svn-id: http://svn.automattic.com/wordpress/trunk@2097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-15 01:07:53 +00:00
rboren
83c5911d69 Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 23:43:20 +00:00
rboren
2a2f21524e wp_list_pages() using wrong time/date fields. Bug 680.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 23:06:12 +00:00
rboren
4ec2370af8 Fix call to join. Bug 658. Hat tip: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 23:01:21 +00:00
saxmatt
5db85f10c6 Check everything for entities.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 22:42:09 +00:00
saxmatt
69291131ff http://mosquito.wordpress.org/view.php?id=668
git-svn-id: http://svn.automattic.com/wordpress/trunk@2082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 18:47:07 +00:00
donncha
b8190acec8 removed images from enclosure scanning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-11 17:07:54 +00:00
saxmatt
743313fa50 Whitelist trackbacks and pingbacks from domains in blogroll.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 23:21:42 +00:00
saxmatt
2a6738aacb Add more hooks into commenting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 20:26:10 +00:00
saxmatt
652654d4d5 Spam tastes great, we should eat more of it. Add 'spam' approval value, and basic blacklist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-10 20:21:06 +00:00
rboren
7f29387599 Fix post time display. Bug 636.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-09 02:40:06 +00:00
saxmatt
7f98c031a7 Some feed template function cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 22:01:59 +00:00
saxmatt
837a9db1a4 http://mosquito.wordpress.org/view.php?id=252
git-svn-id: http://svn.automattic.com/wordpress/trunk@2066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:29:49 +00:00
saxmatt
f20de56a5b http://mosquito.wordpress.org/view.php?id=608
git-svn-id: http://svn.automattic.com/wordpress/trunk@2064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:21:12 +00:00
saxmatt
4015316834 http://mosquito.wordpress.org/view.php?id=521
git-svn-id: http://svn.automattic.com/wordpress/trunk@2062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 01:11:51 +00:00
saxmatt
6584b204a6 Some cleanup patches from Scott: http://www.coffee2code.com/archives/2005/01/06/walking-with-15/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 23:10:28 +00:00
saxmatt
99df7e3a03 Cleaning up filters and format-to-post
git-svn-id: http://svn.automattic.com/wordpress/trunk@2059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 22:51:44 +00:00
saxmatt
a4857688db Patch for balanceTags from Scott Reilly: http://mosquito.wordpress.org/view.php?id=53
git-svn-id: http://svn.automattic.com/wordpress/trunk@2057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:24:11 +00:00
saxmatt
acd814c90f Don't muddy <pre> pool
git-svn-id: http://svn.automattic.com/wordpress/trunk@2056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:10:55 +00:00
saxmatt
224dc527f8 Don't cache serialized options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 10:07:52 +00:00
saxmatt
4777e1b28f Proper linebreak in moderation email.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 09:58:23 +00:00
saxmatt
fb2ccdee42 Bad link in snoopy class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-06 09:53:40 +00:00
rboren
5af5da1547 Add preprocess_comment filter to enable filtering all comment data in one go. Patch from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-05 21:11:42 +00:00
rboren
acbdd5c97d Feed fixes from MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-04 23:30:10 +00:00
rboren
40c697b18f Keep it separated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-04 23:29:13 +00:00
rboren
72430a4584 Remove % from title before utf8 uri encoding is done.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 09:08:55 +00:00
rboren
15e84a0811 Use new default theme path.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 02:50:03 +00:00
rboren
ab6ff7fee4 Relocate default theme to themes/default. Remove special casing of default theme. Do not look directly in wp-content/ for default theme files. Simplify, simplify.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-02 02:47:45 +00:00
saxmatt
4b9c67c876 When deleting a page level up all children.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 23:13:38 +00:00
saxmatt
373276ee25 Sub-page hierarchy, show pages on default menu. TODO: Ping Michael about top-level pages in kubrick menu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 23:05:07 +00:00
saxmatt
e5d942f411 Added check if Snoopy exists, and two fairly major bugs in the dashboard. update_option was not serializing objects and $cache->get() wasn't checking for the correct option name.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-01 22:09:08 +00:00
rboren
04d470cbbd Add rewind_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-31 21:49:48 +00:00
rboren
5f0a8d8186 Use load_template().
git-svn-id: http://svn.automattic.com/wordpress/trunk@2023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 21:58:01 +00:00
rboren
964011e54f Add get_pages(). Improve wp_list_pages(). Props: Adi Sieker and Chris Waigl.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 19:41:14 +00:00
rboren
84afc4c76c Fix comments-popup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 19:35:57 +00:00
michelvaldrighi
88f5c2951c fixed bad b2 mistakes: zeroise is really a glorified sprintf; funky_javascript_fix was only needed for Gecko because of bad Apaches running with AddDefaultCharset On, and the fixes for Gecko weren't even accurate
git-svn-id: http://svn.automattic.com/wordpress/trunk@2018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 17:34:27 +00:00
saxmatt
52929c176b Move inside for better clearing and such.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:27:33 +00:00
saxmatt
5ee32f34cb It's that time :)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:25:56 +00:00
saxmatt
0310599445 Don't leave in debugging code (it's late)
git-svn-id: http://svn.automattic.com/wordpress/trunk@2011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:10:00 +00:00
saxmatt
d046644a4c Typo typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@2010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 11:08:42 +00:00
saxmatt
232e019cc6 Moving default template stuff into wp-includes, uncluttering root
git-svn-id: http://svn.automattic.com/wordpress/trunk@2009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-30 10:58:06 +00:00
saxmatt
8c472b4241 Make work with https URIs
git-svn-id: http://svn.automattic.com/wordpress/trunk@2008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-28 20:28:57 +00:00
rboren
90d0421792 If $p evaluates to zero, ignore it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-28 17:36:28 +00:00
rboren
888021c22a Leave htaccess alone if permalinks are not turned on. Bug 597.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-27 22:30:52 +00:00
rboren
d781edcc70 Add is_admin flag. Do not set is_home if is_admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-26 16:37:55 +00:00
rboren
c29d067801 Fix single quote sanitization. Bug 594. Hat Tip: bcrow.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-25 17:21:43 +00:00
rboren
db7cbbdc94 Add post_where_paged and post_join_paged filter hooks. Move posts_where and posts_join before the paging queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-25 00:32:50 +00:00
rboren
8790a95eeb Fix href quoting. Bug 532. Hat Tip: MooKitty.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 21:00:06 +00:00
saxmatt
637cfdc7a4 Cleaning up blogfilename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 01:34:47 +00:00
saxmatt
b73a9d7e8c Have get_function return unadulterated data
git-svn-id: http://svn.automattic.com/wordpress/trunk@1996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-23 21:52:09 +00:00
saxmatt
f9b77bb837 Clean up global ideas from michel_v
git-svn-id: http://svn.automattic.com/wordpress/trunk@1994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-23 00:08:43 +00:00
michelvaldrighi
f046e9d27d typo id -> comment_id made WP make one extra query per post
git-svn-id: http://svn.automattic.com/wordpress/trunk@1992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-22 14:36:26 +00:00
michelvaldrighi
21c073a733 get_userdata should not ask for data when userid is 0 (why does it get called like that anyway?)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-22 14:32:25 +00:00
saxmatt
3e850435d4 Validation fix in retrospam
git-svn-id: http://svn.automattic.com/wordpress/trunk@1986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-20 17:10:15 +00:00
rboren
02ea09c795 Remove percent signs from slugs. PAtch from MooKitty. Bug 569.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-20 06:35:54 +00:00
saxmatt
7727b00596 Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 18:43:45 +00:00
saxmatt
1bd4057b23 Bug fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 07:26:43 +00:00
saxmatt
90c90b336f New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 02:30:40 +00:00
saxmatt
3f39fe4b61 First pass at dashboard. Hat tip: Jesuit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-19 00:10:10 +00:00
saxmatt
fef86c9964 Some code cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 20:56:26 +00:00
rboren
b3a3894b2a Add generate_rewrite_rule().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 19:40:02 +00:00
rboren
71e989b683 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 00:28:24 +00:00
saxmatt
8f82a03a02 Comment notification fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-17 10:25:00 +00:00
saxmatt
b3bc745046 http://mosquito.wordpress.org/view.php?id=556
git-svn-id: http://svn.automattic.com/wordpress/trunk@1969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-17 08:48:30 +00:00
rboren
8a663f2f25 Fix include of comment-functions.php. Bug 554.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 23:18:15 +00:00
rboren
96e7d7f160 Improved wp_list_pages() from Adi Sieker.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 08:02:53 +00:00
saxmatt
b51ae91b9a Let's get_ down
git-svn-id: http://svn.automattic.com/wordpress/trunk@1965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 03:08:07 +00:00
saxmatt
65bbec71d0 Comments refactoring and cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@1964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-16 02:57:05 +00:00
rboren
b63186a6ff the_/get_the_ split. Patch from Owen Taylor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 23:15:17 +00:00
rboren
914be4bf02 Fix comments popup template load. Bug 545.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 02:03:08 +00:00
rboren
ea392f4b13 Fix date permalinks. Bug 539.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-15 01:23:38 +00:00
saxmatt
7104f60653 Texturize bloginfo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 09:10:34 +00:00
saxmatt
340804aa79 Move all auth stuff into functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-14 03:00:55 +00:00
rboren
036efdfdc2 Add filter hook for locale string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-13 04:39:26 +00:00
saxmatt
c3e1d51c20 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-12 20:41:19 +00:00
rboren
7a580db825 get_author_permastruct()
git-svn-id: http://svn.automattic.com/wordpress/trunk@1933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 02:40:35 +00:00
saxmatt
5237112e3f Related to: http://mosquito.wordpress.org/view.php?id=225
Allow optiondates to be a PHP date() formatted timestamp, maintains backward compatibility.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 01:30:34 +00:00
saxmatt
5fcde26744 Don't wrap horizontal rules in paragraphs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:32:14 +00:00
saxmatt
576846ba19 Don't show errors if we can't fsockopen a server.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:25:07 +00:00
rboren
c37fc847ff Comment the unicode blocks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-09 00:16:33 +00:00
donncha
ceca2e9751 Fixed mangled email headers, thanks to John Allman
git-svn-id: http://svn.automattic.com/wordpress/trunk@1921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 14:40:40 +00:00
rboren
83e6c81f41 s/logio/logIO/. Remove logio calls from the one function in functions-post.php that uses it. functions-post.php is not used by xmlrpc.php exclusively.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 02:35:53 +00:00
saxmatt
2852e800da Don't add breaks to <colgroup>s. Hat tip: Joe Clark.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-07 20:09:46 +00:00
rboren
d352c9be64 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:12:08 +00:00
rboren
b1a4a04126 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
rboren
09330bec21 Add posts_join filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-01 06:52:26 +00:00
rboren
d0742f3227 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 23:37:29 +00:00
rboren
8c9c4e1556 Unserialize empty arrays.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:53:11 +00:00
saxmatt
aad8c71bb1 Fix for bug http://mosquito.wordpress.org/view.php?id=177, adding class to smileys and encoding quotes in alt text.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 19:16:14 +00:00
rboren
c02d589e36 Use preg_quote() to make spam words regex safe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-28 05:24:09 +00:00
rboren
39bf85133f Perform empty() check on $doing_rss to avoid warning.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-27 04:47:54 +00:00
rboren
03766d3f29 Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-25 16:23:24 +00:00
rboren
477e3344b8 Do not allow a page to be its own parent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-24 00:12:46 +00:00
emc3
aa2fbccf6f Use new user_can_foo() functions, clean up comment editing
git-svn-id: http://svn.automattic.com/wordpress/trunk@1875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 15:09:24 +00:00
emc3
db5183e714 Don't you think it's time for a minor version bump?
git-svn-id: http://svn.automattic.com/wordpress/trunk@1874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 14:09:38 +00:00
rboren
368bf570e6 Allow empty uris to be passed to add_query_arg(). Useful when appending arguments to WP_Query query strings that do not yet have any arguments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-21 06:03:19 +00:00
rboren
2201be3af3 Add is_paged().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 18:32:31 +00:00
rboren
81bb103348 Rewrite rule generation cleanup, including re-indent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-20 04:28:36 +00:00
rboren
9872261202 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 20:54:16 +00:00
saxmatt
742a9d549f Actions shouldn't change around what they're passed
git-svn-id: http://svn.automattic.com/wordpress/trunk@1867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 07:37:18 +00:00
saxmatt
f4dcbb2a3b Don't cache pages with DB errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 02:18:23 +00:00
saxmatt
d1ddb156ec Allow users 9+ to post as other users, minor advanced post reorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-18 19:40:36 +00:00
rboren
013f6d6fee Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: http://svn.automattic.com/wordpress/trunk@1860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-17 03:45:50 +00:00
rboren
1d5e3d4f3c Check for null category list just in case of borkage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-15 06:00:21 +00:00
rboren
acfb79c47e Sort the category list so that index associations are made non-sparse.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-12 23:08:51 +00:00
rboren
c10118addf Avoid polluting the category cache with duplicate category lists when using multiple post loops. http://wordpress.org/support/6/15213. Fix from Owen Winkler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-10 00:21:24 +00:00
rboren
9f3fcc45ee add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:31:48 +00:00
rboren
390531cad7 Put the right index.php in the template file list for the default theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-09 02:29:01 +00:00
emc3
064edd94ae BUGFIX: prevent '#' chars in moderation_keys from breaking regex handling.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-05 03:56:40 +00:00
emc3
6386e0815c ANTI-SPAM: reject numerically encoded entities that fall in the normal ASCII range
git-svn-id: http://svn.automattic.com/wordpress/trunk@1844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-03 14:21:46 +00:00
rboren
02db3ad66b Typo fix. Bug 423.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 02:13:00 +00:00
rboren
626a4d0c83 urldecode page URI so that it will work for multibyte languages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 01:56:29 +00:00
donncha
3ec05be4d2 Make sure email and name are not blank when checking comment author in whitelist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-01 13:21:14 +00:00
rboren
7815372fc7 Add $post_per_archive_page to override the number of posts to show for an archive page. Turn off paging if $post_per_* are set to -1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-27 23:58:40 +00:00
rboren
7cbf843347 List broken themes and suggest corrective action.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-24 23:48:51 +00:00
rboren
184628f5dc PATH_INFO page links now include the index. Bug 404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 21:44:00 +00:00
michelvaldrighi
fdfcddbaf7 removed preg_match check from comment_type() since by now we should never ever need it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 15:51:08 +00:00
rboren
0bebcf246f Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 21:28:37 +00:00
donncha
2bef1de2b9 Make checking enclosure URLs much faster - fclose() after blank line in response.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-20 15:07:49 +00:00
rboren
04786f267d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
rboren
c591d809f7 Default textdomain loading cleanup. Fix for bug 230.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 00:18:12 +00:00
michelvaldrighi
8990d8c02f better fix for single_month_title, preserves backward-compatibility with
git-svn-id: http://svn.automattic.com/wordpress/trunk@1816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 23:52:36 +00:00
michelvaldrighi
d6928c9df3 fixed single_month_title. thanks to Brak (http://wordpress.org/support/6/14897)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 23:45:26 +00:00
donncha
9f62c48cf9 Enclosure support moved to functions.php - it now scans the content
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 12:09:20 +00:00
rboren
667912ce0e Fix typo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 04:38:49 +00:00
rboren
b29cb9cb81 Plugin and theme localization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 02:27:35 +00:00
michelvaldrighi
2c7c6cdc8f added more user_can_* functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@1804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 16:20:25 +00:00
rboren
cf34374c9c If the match is unanchored and greedy, prepend rewrite conditions to avoid infinite redirects and eclipsing of real files. Add L to rewrite flags to break out of rewriting once a match is found.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-15 03:16:01 +00:00
saxmatt
62ea5faef5 Fix for bug 137. Patch from kelson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 08:27:56 +00:00
saxmatt
40a8e6885b Trackback and pingback cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 07:26:41 +00:00
rboren
3472b445a2 Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 03:54:57 +00:00
michelvaldrighi
a53659c2ab unb0rked the pagination links
git-svn-id: http://svn.automattic.com/wordpress/trunk@1791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 14:18:17 +00:00
rboren
c4ff2cc8ec Add template and stylesheet filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 03:20:03 +00:00
rboren
f192cfe5c8 Double hash password in cookies.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 02:21:37 +00:00
michelvaldrighi
a00764ed8e fixed next_posts_links, removed debug artefacts lying there
git-svn-id: http://svn.automattic.com/wordpress/trunk@1785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:21:53 +00:00
michelvaldrighi
f1cd47763b fixed posts_nav_link again, to reclaim functionality lost in last fix ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:12:03 +00:00
michelvaldrighi
fc528e3d09 fixed posts_nav_link to use a much lighter query
git-svn-id: http://svn.automattic.com/wordpress/trunk@1783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:04:35 +00:00
saxmatt
f285ca5c55 Move balanceTags into filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 22:07:09 +00:00
saxmatt
55d5e9f47a Removed some left-over link rating stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 19:54:09 +00:00
saxmatt
2dc5c6115a PHP 5 fix from http://www.fredfred.net/skriker/index.php?p=84
There be dragons here


git-svn-id: http://svn.automattic.com/wordpress/trunk@1779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 18:45:14 +00:00
michelvaldrighi
4af875d28f printr instead of print_r
git-svn-id: http://svn.automattic.com/wordpress/trunk@1778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 16:49:52 +00:00
michelvaldrighi
7e0657c317 remove contextual compatiblity, and require functions-compat instead
git-svn-id: http://svn.automattic.com/wordpress/trunk@1777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 13:22:33 +00:00
michelvaldrighi
172b13b70a functions-compat.php shall hold PHP functions needed for PHP 4.1 compatibility
git-svn-id: http://svn.automattic.com/wordpress/trunk@1776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 13:17:12 +00:00
donncha
49cb88b7c0 Re-arranged where wp-mail() sets message headers
git-svn-id: http://svn.automattic.com/wordpress/trunk@1775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 12:04:37 +00:00
rboren
39e9a6d942 Login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-11 07:00:22 +00:00
saxmatt
587429f358 Move to cookiehash define, use wp_login() function for auth.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-10 18:02:30 +00:00
rboren
3c360863ae wp_list_pages(), first draft
git-svn-id: http://svn.automattic.com/wordpress/trunk@1766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-09 02:03:37 +00:00
rboren
6372a14f42 pagenow fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-09 02:00:34 +00:00
saxmatt
e72de79fa2 Automatically trigger DB upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 19:49:58 +00:00
donncha
0b10eb6d7d Define message header if blank.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 11:52:23 +00:00
rboren
ff3d47b742 Use page_id=xx instead of p=xx&static=1
git-svn-id: http://svn.automattic.com/wordpress/trunk@1759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 08:06:21 +00:00
donncha
d1d02a30bb Check if $uris is an array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 13:10:52 +00:00
saxmatt
6337530119 Automatic login fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:31:52 +00:00
rboren
543714fbab Page templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:11:11 +00:00
rboren
96a0b41202 Page/subpage URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 02:18:37 +00:00
donncha
976175ef60 Not required by WordPress.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 09:23:53 +00:00
saxmatt
2d4dd7e6fb Pages update and tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 08:27:13 +00:00
saxmatt
3be6575475 Fix GUID generation
git-svn-id: http://svn.automattic.com/wordpress/trunk@1746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-05 07:36:50 +00:00
donncha
37f854a969 Missing ";"
git-svn-id: http://svn.automattic.com/wordpress/trunk@1741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 10:19:43 +00:00
saxmatt
73d33cce75 Kitten's emergent registration / comment whitelisting patch.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:49:45 +00:00
saxmatt
551e52ff91 Code cleanup and some fixes from the WP Japan folks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 08:03:52 +00:00
saxmatt
ec34fb1d80 Use mb_mail_send if available.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 07:44:04 +00:00
saxmatt
ee921221b7 New login system.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-04 06:23:53 +00:00
rboren
9490d5bef2 Fix wp_title() for pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-03 17:07:53 +00:00
rboren
0584402e9f Extend is_single(), is_page(), is_category(), and is_author() to accept an optional argument which designates a particular id, name, or nicename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 19:24:40 +00:00
emc3
8fca0cb926 Security: Clean up user inputs before using.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-02 00:46:30 +00:00
rboren
d5c9465fa9 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 17:56:16 +00:00
michelvaldrighi
20fc6e6625 typo/confusion, earlier patch committed in haste
git-svn-id: http://svn.automattic.com/wordpress/trunk@1724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 00:34:46 +00:00
michelvaldrighi
e8a1744ac0 rather ugly fix to prevent the querying of unknown/removed options, feel free to replace it with a better alternative someday
git-svn-id: http://svn.automattic.com/wordpress/trunk@1723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-29 20:33:05 +00:00
rboren
f16701674d Wrap rewrite rules in IfModule. Bug 318.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-28 17:55:52 +00:00
michelvaldrighi
9d428766b0 fixed url_to_postid (it was the cause of pingbacks to the first post when a simple link to the blog was done)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 12:41:39 +00:00
michelvaldrighi
802bd72016 whoops, we forgot to store the comment_type
git-svn-id: http://svn.automattic.com/wordpress/trunk@1716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 11:45:15 +00:00
rboren
7f5ef5c1d3 Use get_query_var to get the search terms.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:46:42 +00:00
rboren
e61cfd4b02 Use call_user_func() when applying filter. Bug 63. Patch from Bill Zeller.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-27 00:45:53 +00:00
michelvaldrighi
f6c1bcc60b added discover_pingback_server_uri, should dramatically speed things up
git-svn-id: http://svn.automattic.com/wordpress/trunk@1709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-24 17:29:25 +00:00
michelvaldrighi
00d3d3fec9 fixes for bug #311, by bronski
git-svn-id: http://svn.automattic.com/wordpress/trunk@1705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-22 19:44:35 +00:00
saxmatt
d077a61bd2 No longer used.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-21 19:41:13 +00:00
rboren
75d974639b Trackback fix ups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 22:47:43 +00:00
rboren
76d4882921 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 20:04:29 +00:00
rboren
8db1ca2dfa htmlspecialchars() no longer needs to be run against rewrite_rules due to options-permalink reorg. Currently, ampersands end up being encoded in .htaccess, which causes breakage.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 03:04:27 +00:00
michelvaldrighi
4133fc887d reverting wp-admin/xmlrpc.php changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:57:15 +00:00
michelvaldrighi
1ae5d673e4 updated pingback() to use IXR -- now we aren't using phpxmlrpc anywhere anymore
git-svn-id: http://svn.automattic.com/wordpress/trunk@1682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:11:28 +00:00
donncha
331257f4fe Check for moderation_notify flag before notifying moderator that about
held comments.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 10:26:34 +00:00
michelvaldrighi
5fd7490c9f now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 09:27:04 +00:00
michelvaldrighi
226cf46cb2 letting IXR take care of URI parsing, while leaving the old way to call weblog_ping possible
git-svn-id: http://svn.automattic.com/wordpress/trunk@1676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 08:39:12 +00:00
michelvaldrighi
3de41a8e3e replaced old weblog_ping with new IXR-based weblog_ping
git-svn-id: http://svn.automattic.com/wordpress/trunk@1674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 17:08:56 +00:00
michelvaldrighi
e7d60415cf added timeout and vendor parameters to IXR_Client, could be very useful for weblog_pings
git-svn-id: http://svn.automattic.com/wordpress/trunk@1673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 17:07:59 +00:00
michelvaldrighi
c0de7fb232 support for comment_type, while we move away from <*back /> stuff
git-svn-id: http://svn.automattic.com/wordpress/trunk@1669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 13:15:07 +00:00
saxmatt
33cd55d276 Don't forget to strip
git-svn-id: http://svn.automattic.com/wordpress/trunk@1665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-16 01:08:50 +00:00
saxmatt
e8f22c65a2 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 15:09:39 +00:00
rboren
e7e5b63493 Make $pagenow work with PATH_INFO.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 08:16:58 +00:00
rboren
dfbf01f57b Mark "more" link text for translation, just for grins. Bug 119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 03:37:44 +00:00
rboren
d3b14a607d Make comments_template() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 02:50:29 +00:00
rboren
a165b366ab If the query is for a page, make sure single is false.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-14 06:56:13 +00:00
rboren
807c0a77c3 Use stylesheet_url from bloginfo().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-12 20:30:49 +00:00
rboren
fec36ee655 Themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-11 16:12:40 +00:00
saxmatt
aae9dbf02d Timeout changes. Hat tip: Michael Dale.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 10:55:44 +00:00
rboren
692b713381 Incorporate utf8_uri_encode() in sanitize_title(). Improve UTF-8 accented character decomposition in remove_accents().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 08:36:54 +00:00
rboren
e5f5c2c859 get_pagenum_link() tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 07:03:40 +00:00
rboren
760af53e88 Allow the calendar start of week to be provisioned. get_calendar() patch from rq. Bug 32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 23:07:46 +00:00
michelvaldrighi
85b23fe964 ugh, no wonder the new xmlrpc wouldn't post anything
git-svn-id: http://svn.automattic.com/wordpress/trunk@1630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 15:54:03 +00:00
rboren
b036c6d58d Use get_query_var() to get cat and name so that we pick up any processing done on them by the query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-09 03:45:51 +00:00
saxmatt
68fba20343 Some named entities have numbers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:48:36 +00:00
saxmatt
0388cd27b5 Retrospam check from Kitten
git-svn-id: http://svn.automattic.com/wordpress/trunk@1620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 08:17:53 +00:00
rboren
d2c63d853a Paging by days fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-08 00:02:53 +00:00
saxmatt
5c53295551 Trackback fix from Michael Dale.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 03:15:48 +00:00
saxmatt
b650b0736a Move trackbacks to new comment function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 02:34:12 +00:00
rboren
fda8478485 Apache 1.3 does not support the reluctant (non-greedy) expression modifier. Remove the modifier when outputting mod_rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-07 00:01:19 +00:00
rboren
1f40b73c6e New page by day code from Sebastian Herp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-06 20:03:16 +00:00
rboren
297af23056 Add missing join to page by day query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-06 03:03:08 +00:00
rboren
5b059e2e9e Remove left over debug output.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 20:06:01 +00:00
rboren
d97d4b74d7 Improve paging by days. Retabify source.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 20:00:09 +00:00
saxmatt
c54f9a539f Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:41:01 +00:00
saxmatt
ed34ca04d8 Set GUID when posting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:03:51 +00:00
saxmatt
ddba48add2 Track and check user agent for comments.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:50:39 +00:00
saxmatt
de260e7022 Install and upgrade refactoring complete.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 01:22:17 +00:00