Commit Graph

318 Commits

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