Commit Graph

789 Commits

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