Commit Graph

2551 Commits

Author SHA1 Message Date
Ryan Boren 9d8f012f32 Bail if the theme does not exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@2553 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 21:41:35 +00:00
Matt Mullenweg a1ac3e7120 It was a Wednesday. (?!) Hat tip: Lucas Larson
git-svn-id: https://develop.svn.wordpress.org/trunk@2552 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:24:05 +00:00
Matt Mullenweg d0af63764e More consistent use of cat_ID vs category_id
git-svn-id: https://develop.svn.wordpress.org/trunk@2551 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 17:17:36 +00:00
Matt Mullenweg d7c18937a1 Optimiation from Denis
git-svn-id: https://develop.svn.wordpress.org/trunk@2550 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 05:27:24 +00:00
Matt Mullenweg 4ea0b88e54 Missing backslash, fixes http://mosquito.wordpress.org/view.php?id=1224
git-svn-id: https://develop.svn.wordpress.org/trunk@2549 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:41:22 +00:00
Matt Mullenweg 399e9acf58 Be sure about encoding. Fixes http://mosquito.wordpress.org/view.php?id=1222
git-svn-id: https://develop.svn.wordpress.org/trunk@2548 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:35:48 +00:00
Matt Mullenweg 2d24171b3a Better message.
git-svn-id: https://develop.svn.wordpress.org/trunk@2547 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:25:14 +00:00
Matt Mullenweg e4b3c5f46d Test for true.
git-svn-id: https://develop.svn.wordpress.org/trunk@2546 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:11:55 +00:00
Matt Mullenweg e9d456ef46 Only ping the site once. Fixes http://mosquito.wordpress.org/view.php?id=1254
git-svn-id: https://develop.svn.wordpress.org/trunk@2545 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 03:10:12 +00:00
Matt Mullenweg f7c0f0c76c Firefox fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2544 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 02:16:57 +00:00
Ryan Boren bd7d179803 Use UTC in comments rss feed. http://mosquito.wordpress.org/view.php?id=1256 Props: nbachiyski
git-svn-id: https://develop.svn.wordpress.org/trunk@2543 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-19 00:23:55 +00:00
Ryan Boren 79ee1c30f1 In same category support for next and previous post navigation. http://mosquito.wordpress.org/view.php?id=1252 Props: skippy
git-svn-id: https://develop.svn.wordpress.org/trunk@2542 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-18 21:47:35 +00:00
Matt Mullenweg fd7604a25c The Codex is ready
git-svn-id: https://develop.svn.wordpress.org/trunk@2539 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-18 16:05:33 +00:00
Ryan Boren f558669a6e 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: https://develop.svn.wordpress.org/trunk@2538 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-17 17:09:19 +00:00
Matt Mullenweg f26e7d7e0d Don't show delete button if there's nothing to delete
git-svn-id: https://develop.svn.wordpress.org/trunk@2537 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-16 18:47:37 +00:00
Matt Mullenweg 61ebee5445 Initial auto-save checkin code from DarkCryst. No bug reports on it yet! Several known issues, including deleting cookies, moving the restore button, and other behavior probs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2536 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-16 16:31:38 +00:00
Ryan Boren 5cf9bdb5ae 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: https://develop.svn.wordpress.org/trunk@2535 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 04:24:22 +00:00
Matt Mullenweg b86f9be3ef Logic was *really* confusing and it seemed to return 304s badly, breaking all dashboards when I updated the dev blog
git-svn-id: https://develop.svn.wordpress.org/trunk@2534 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 00:09:52 +00:00
Matt Mullenweg 71883b64a8 Better sub-menu styling. Should fix http://mosquito.wordpress.org/view.php?id=1138
git-svn-id: https://develop.svn.wordpress.org/trunk@2533 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 23:41:13 +00:00
Matt Mullenweg 68f6927368 Strip slashes in blog name for email from:
git-svn-id: https://develop.svn.wordpress.org/trunk@2532 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 23:25:48 +00:00
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