Commit Graph

838 Commits

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