Commit Graph

2755 Commits

Author SHA1 Message Date
matt
c377504cd3 More sanitization cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@2557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 04:06:37 +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
07730d904d Convert tb_id to int.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-20 03:20:31 +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
ryan
add01ff78a Bail if the theme does not exist.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 21:41:35 +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
matt
0c3b3e5347 Firefox fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@2544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-19 02:16:57 +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
matt
1eac787dce The Codex is ready
git-svn-id: http://svn.automattic.com/wordpress/trunk@2539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-18 16:05:33 +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
matt
c996e21818 Don't show delete button if there's nothing to delete
git-svn-id: http://svn.automattic.com/wordpress/trunk@2537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-16 18:47:37 +00:00
matt
c7bd7fe40b 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: http://svn.automattic.com/wordpress/trunk@2536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-16 16:31:38 +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
matt
a0e1196acf Logic was *really* confusing and it seemed to return 304s badly, breaking all dashboards when I updated the dev blog
git-svn-id: http://svn.automattic.com/wordpress/trunk@2534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-14 00:09:52 +00:00
matt
c882b0ab31 Better sub-menu styling. Should fix http://mosquito.wordpress.org/view.php?id=1138
git-svn-id: http://svn.automattic.com/wordpress/trunk@2533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 23:41:13 +00:00
matt
dac1dfc256 Strip slashes in blog name for email from:
git-svn-id: http://svn.automattic.com/wordpress/trunk@2532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 23:25:48 +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
1a6877d062 Remove extraneous spaces. http://mosquito.wordpress.org/view.php?id=1198 Props: Daniel Gutekunst
git-svn-id: http://svn.automattic.com/wordpress/trunk@2530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 16:44:35 +00:00
ryan
5b9e782523 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: http://svn.automattic.com/wordpress/trunk@2529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 16:36:46 +00:00
ryan
af7a390c59 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: http://svn.automattic.com/wordpress/trunk@2528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-13 16:30:09 +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
6bd9d5a824 Remove HERE document. xgettext doesn't like it. http://mosquito.wordpress.org/view.php?id=1221 Props: nbachiyski
git-svn-id: http://svn.automattic.com/wordpress/trunk@2521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-09 04:32:38 +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
ryan
14c439eaad Fix comment feed queries for pages. http://mosquito.wordpress.org/view.php?id=1216 Props: mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@2519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-07 19:17:28 +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
267d1c519b Active plugins array sanity check. If the array isn't an array, reset it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-04 02:48:18 +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
24865d57a0 Remove debug cruft.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-03 16:39:41 +00:00
ryan
7ee667d4a9 Don't put query description in sidebar if is_404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-03 05:45:01 +00:00
ryan
d27f6e58e6 Path info permalinks weren't getting 404 treatment.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-04-03 05:43:42 +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