Commit Graph

986 Commits

Author SHA1 Message Date
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