Commit Graph

2531 Commits

Author SHA1 Message Date
Ryan Boren 5256ab4601 LIMIT 1 in the whitelist query. Props: Brian Dupuis
git-svn-id: https://develop.svn.wordpress.org/trunk@2531 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 16:50:13 +00:00
Ryan Boren 478f33f86a Remove extraneous spaces. http://mosquito.wordpress.org/view.php?id=1198 Props: Daniel Gutekunst
git-svn-id: https://develop.svn.wordpress.org/trunk@2530 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 16:44:35 +00:00
Ryan Boren 1cb51ba0d9 Send 304 if If-Modified-Since is >= the most rcent post time. http://mosquito.wordpress.org/view.php?id=582 Props: dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2529 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 16:36:46 +00:00
Ryan Boren 7f2c7afd0f When editing posts, don't automatically change the post author to the current user. http://mosquito.wordpress.org/view.php?id=911 Props: dwc
git-svn-id: https://develop.svn.wordpress.org/trunk@2528 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 16:30:09 +00:00
Ryan Boren 4d31612412 Better page and subpage support for url_to_postid(). http://mosquito.wordpress.org/view.php?id=1214 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2527 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-12 21:12:28 +00:00
Ryan Boren 1c623ee737 Weekly archives fixes. http://mosquito.wordpress.org/view.php?id=1217
git-svn-id: https://develop.svn.wordpress.org/trunk@2526 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-10 20:07:46 +00:00
Ryan Boren 8324f6962a Implement order and orderby for get_posts(). http://mosquito.wordpress.org/view.php?id=1161 Props: RummandDan
git-svn-id: https://develop.svn.wordpress.org/trunk@2525 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:30:57 +00:00
Ryan Boren 2e7c387207 Make get_postdata() use get_post(). Label get_postdata() as deprecated. Remove the one remaining call to get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2524 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:25:47 +00:00
Ryan Boren a0d5ea6ba2 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: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren 16a3144b00 Use comment count cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@2522 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 07:09:26 +00:00
Ryan Boren e40774a349 Remove HERE document. xgettext doesn't like it. http://mosquito.wordpress.org/view.php?id=1221 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2521 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 04:32:38 +00:00
Ryan Boren ace6f68c14 Don't escape broken vertical bar.
git-svn-id: https://develop.svn.wordpress.org/trunk@2520 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-08 14:16:29 +00:00
Ryan Boren f031e1a762 Fix comment feed queries for pages. http://mosquito.wordpress.org/view.php?id=1216 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2519 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-07 19:17:28 +00:00
Matt Mullenweg be9bd11994 Adding new comment template hooks
git-svn-id: https://develop.svn.wordpress.org/trunk@2518 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-06 15:13:56 +00:00
Ryan Boren 181201a4d6 Add entity 2 ncr converter. http://mosquito.wordpress.org/view.php?id=929 Props: Kaf Oseo
git-svn-id: https://develop.svn.wordpress.org/trunk@2517 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-05 17:25:57 +00:00
Ryan Boren 0dd2abae98 Move plugin replacebale functions to pluggable-functions.php. http://mosquito.wordpress.org/view.php?id=1211
git-svn-id: https://develop.svn.wordpress.org/trunk@2516 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 23:25:51 +00:00
Ryan Boren eca5d88e60 Make wp_mail() replaceable. http://mosquito.wordpress.org/view.php?id=1210
git-svn-id: https://develop.svn.wordpress.org/trunk@2515 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 22:36:09 +00:00
Ryan Boren 36639a2b71 Active plugins array sanity check. If the array isn't an array, reset it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2514 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-04 02:48:18 +00:00
Ryan Boren a004444b56 Recognize level 0 users in wp_loginout() and wp_register(). http://mosquito.wordpress.org/view.php?id=1202 Props: MC_incubus
git-svn-id: https://develop.svn.wordpress.org/trunk@2513 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 17:38:41 +00:00
Ryan Boren bda54f37b2 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@2512 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 16:39:41 +00:00
Ryan Boren c15860e0ba Don't put query description in sidebar if is_404.
git-svn-id: https://develop.svn.wordpress.org/trunk@2511 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:45:01 +00:00
Ryan Boren 2047222551 Path info permalinks weren't getting 404 treatment.
git-svn-id: https://develop.svn.wordpress.org/trunk@2510 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:43:42 +00:00
Ryan Boren b6b4c04371 In get_category(), check for empty category id so that we do not create a malformed SQL query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2509 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:09:31 +00:00
Ryan Boren 185dbb4e7a Don't use i18n unfriendly substr operations in date_i18n. http://mosquito.wordpress.org/view.php?id=1200 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2508 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-02 19:51:12 +00:00
Ryan Boren 01d17183e2 Add query string style API support to wp_get_linksbyname(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: https://develop.svn.wordpress.org/trunk@2507 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:45:26 +00:00
Ryan Boren db62c48897 add_query_arg() dropped the passed in query string if the string did not contain any path elements.
git-svn-id: https://develop.svn.wordpress.org/trunk@2506 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:42:46 +00:00
Ryan Boren 02ef551922 Add query string style API support to wp_get_links(). http://mosquito.wordpress.org/view.php?id=1191
git-svn-id: https://develop.svn.wordpress.org/trunk@2505 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-01 05:15:18 +00:00
Ryan Boren e2826065e4 More category cache cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@2504 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:25:54 +00:00
Ryan Boren 78d13aebb6 You can't index an array with an object ref. Silly Ryan.
git-svn-id: https://develop.svn.wordpress.org/trunk@2503 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 05:00:39 +00:00
Ryan Boren 3122bbc8d2 Add support for new Status: theme header field. http://mosquito.wordpress.org/view.php?id=1192
git-svn-id: https://develop.svn.wordpress.org/trunk@2502 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:44:50 +00:00
Ryan Boren 41ab29d8ec Add a precautionary is_array() check around the plugin loading loop. http://mosquito.wordpress.org/view.php?id=1015
git-svn-id: https://develop.svn.wordpress.org/trunk@2501 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-31 04:04:14 +00:00
Ryan Boren 7d59187e7a Add some more cache handling to get_category().
git-svn-id: https://develop.svn.wordpress.org/trunk@2500 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 23:33:37 +00:00
Ryan Boren 92bfcd3e37 Fix Manage->Posts paging when running WP in a subdir. http://mosquito.wordpress.org/view.php?id=1177
git-svn-id: https://develop.svn.wordpress.org/trunk@2499 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 06:51:55 +00:00
Ryan Boren 2b8aad1549 Accidentally dropped admin_email var. http://mosquito.wordpress.org/view.php?id=1190 Props: MtDewVirus
git-svn-id: https://develop.svn.wordpress.org/trunk@2498 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-30 05:45:30 +00:00
Ryan Boren 8c461095fc Remove old, unused variables. http://mosquito.wordpress.org/view.php?id=1187 Props: Alex Parkhomenko
git-svn-id: https://develop.svn.wordpress.org/trunk@2497 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 22:35:15 +00:00
Ryan Boren 6abd89a643 Don't set auto-set post slug until published. http://mosquito.wordpress.org/view.php?id=1073 Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2496 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 19:24:37 +00:00
Ryan Boren 3e484233f4 Check for failed socket open in update-links. http://mosquito.wordpress.org/view.php?id=1025 Props: ColdForged
git-svn-id: https://develop.svn.wordpress.org/trunk@2495 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 16:58:30 +00:00
Ryan Boren bb00ba2e95 If home changes, write rewrite rules to new location. http://mosquito.wordpress.org/view.php?id=1143
git-svn-id: https://develop.svn.wordpress.org/trunk@2494 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 16:36:08 +00:00
Ryan Boren 3213f820c9 Cockney 'cause. http://mosquito.wordpress.org/view.php?id=1100 Props: bcrow
git-svn-id: https://develop.svn.wordpress.org/trunk@2493 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:19:50 +00:00
Ryan Boren 3ddc18abb9 Add wp_footer() to maintain fearful symmetry with our head. http://mosquito.wordpress.org/view.php?id=1147 Props: ringmaster
git-svn-id: https://develop.svn.wordpress.org/trunk@2492 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:11:36 +00:00
Ryan Boren 7243fc1ae3 USe absolute paths in require to avoid problems with wonky include paths. http://mosquito.wordpress.org/view.php?id=1169 Props: roxeteer
git-svn-id: https://develop.svn.wordpress.org/trunk@2491 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 15:05:19 +00:00
Ryan Boren c5646b894e Trim comment info. http://mosquito.wordpress.org/view.php?id=1183 Props: ryanduff
git-svn-id: https://develop.svn.wordpress.org/trunk@2490 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 14:52:41 +00:00
Ryan Boren 57fe641ff1 Don't throw 'typed only once' error when both password entries are blank. http://mosquito.wordpress.org/view.php?id=1178
git-svn-id: https://develop.svn.wordpress.org/trunk@2489 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 14:48:49 +00:00
Ryan Boren 56b9394fb8 Tweak to 2487.
git-svn-id: https://develop.svn.wordpress.org/trunk@2488 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:39:23 +00:00
Ryan Boren 28ff7f84e1 Use private, install/upgrade safe version of get_option() in upgrade-functions.php. Fixes http://mosquito.wordpress.org/view.php?id=1165
git-svn-id: https://develop.svn.wordpress.org/trunk@2487 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:34:30 +00:00
Ryan Boren 4252fbeab2 And not or when checking if installing. Props: donncha
git-svn-id: https://develop.svn.wordpress.org/trunk@2486 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 05:06:10 +00:00
Ryan Boren 198665bef2 get_post(): Don't use for cache lookup when a post id is passed.
git-svn-id: https://develop.svn.wordpress.org/trunk@2485 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:33:56 +00:00
Ryan Boren c5b906d680 Add Latin Extended-A decompositions to remove_accents(). http://mosquito.wordpress.org/view.php?id=836
git-svn-id: https://develop.svn.wordpress.org/trunk@2484 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 03:12:24 +00:00
Ryan Boren cd81a83c07 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: https://develop.svn.wordpress.org/trunk@2483 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 01:38:29 +00:00
Ryan Boren 5f3362fbf5 Pass by value instead of reference. http://mosquito.wordpress.org/view.php?id=1171 Props: mdawaffe
git-svn-id: https://develop.svn.wordpress.org/trunk@2482 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-29 01:04:16 +00:00