Commit Graph

257 Commits

Author SHA1 Message Date
Matt Mullenweg dd7a83f22c We send the charset so we shouldn't need to do character conversion
git-svn-id: https://develop.svn.wordpress.org/trunk@2277 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-12 01:22:36 +00:00
Matt Mullenweg 9b55bd6c62 Don't show email errors for people who don't have it.
git-svn-id: https://develop.svn.wordpress.org/trunk@2256 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 01:31:23 +00:00
Matt Mullenweg e9915276e7 Some filter action and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2240 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:46:41 +00:00
Matt Mullenweg cb39e25512 Mail and reset fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@2236 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 06:43:23 +00:00
Ryan Boren 21c3726951 Do some caching in get_postdata().
git-svn-id: https://develop.svn.wordpress.org/trunk@2230 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 18:21:20 +00:00
Ryan Boren 042acc0a4a Don't array_slice in loop. Move it up.
git-svn-id: https://develop.svn.wordpress.org/trunk@2229 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 06:13:26 +00:00
Ryan Boren f79c6cdf7a Oops. Inverted logic and typo.
git-svn-id: https://develop.svn.wordpress.org/trunk@2228 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:42:53 +00:00
Ryan Boren e90040e79b Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-06 03:40:08 +00:00
Ryan Boren 7831c4c3b4 Add home.php template.
git-svn-id: https://develop.svn.wordpress.org/trunk@2223 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-05 18:10:05 +00:00
Matt Mullenweg d6b5164e88 Make more login stuff pluggable.
git-svn-id: https://develop.svn.wordpress.org/trunk@2204 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 10:48:54 +00:00
Ryan Boren 6872bdba06 Fix apply_filters. Bug 777.
git-svn-id: https://develop.svn.wordpress.org/trunk@2198 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-02 06:07:11 +00:00
Ryan Boren 4247199e8d Fix typo spotted by morganiq.
git-svn-id: https://develop.svn.wordpress.org/trunk@2197 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 17:27:10 +00:00
Ryan Boren 02a701f72b Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2184 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:20:54 +00:00
Ryan Boren 53d75a06d5 get_*_template() functions and filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2183 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 03:44:32 +00:00
Matt Mullenweg 5748ed2497 Don't look at dot directories or CVS for themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2175 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 18:46:17 +00:00
Matt Mullenweg e73cfeddd5 Fix for http://mosquito.wordpress.org/view.php?id=587
git-svn-id: https://develop.svn.wordpress.org/trunk@2167 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 10:06:12 +00:00
Matt Mullenweg f6a27d19b0 Comment registration goodness. Hat tip to Jason at noprequisite.com for user_identity code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2166 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 06:38:12 +00:00
Ryan Boren c660984419 Remove upgrade-functions include.
git-svn-id: https://develop.svn.wordpress.org/trunk@2163 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-31 01:09:45 +00:00
Matt Mullenweg e26b275234 Allow plugins to modify option values on the fly.
git-svn-id: https://develop.svn.wordpress.org/trunk@2158 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-27 18:39:52 +00:00
Matt Mullenweg faf0cae6a3 Siteurl autoupdate now requires RELOCATE flag - http://mosquito.wordpress.org/view.php?id=602
git-svn-id: https://develop.svn.wordpress.org/trunk@2130 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-24 07:30:49 +00:00
Ryan Boren 39baae5246 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: https://develop.svn.wordpress.org/trunk@2107 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 04:56:24 +00:00
Ryan Boren e693c815d3 Deprecate start_wp(). Move start_wp functionality to setup_postdata(). Add the_post() method to WP_Query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2104 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-19 02:21:36 +00:00
Donncha O Caoimh 33b00f6c71 removed images from enclosure scanning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2081 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-11 17:07:54 +00:00
Matt Mullenweg 5d67f3b75b Don't cache serialized options.
git-svn-id: https://develop.svn.wordpress.org/trunk@2055 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 10:07:52 +00:00
Ryan Boren 4b217b7022 Relocate default theme to themes/default. Remove special casing of default theme. Do not look directly in wp-content/ for default theme files. Simplify, simplify.
git-svn-id: https://develop.svn.wordpress.org/trunk@2032 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-02 02:47:45 +00:00
Matt Mullenweg df201019ca Added check if Snoopy exists, and two fairly major bugs in the dashboard. update_option was not serializing objects and $cache->get() wasn't checking for the correct option name.
git-svn-id: https://develop.svn.wordpress.org/trunk@2027 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-01 22:09:08 +00:00
Ryan Boren 5a9ead8b0f Add rewind_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@2026 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-31 21:49:48 +00:00
Ryan Boren 4553f8cef0 Use load_template().
git-svn-id: https://develop.svn.wordpress.org/trunk@2023 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 21:58:01 +00:00
Matt Mullenweg 7c3debb42a Moving default template stuff into wp-includes, uncluttering root
git-svn-id: https://develop.svn.wordpress.org/trunk@2009 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-30 10:58:06 +00:00
michelvaldrighi ea09591ef3 get_userdata should not ask for data when userid is 0 (why does it get called like that anyway?)
git-svn-id: https://develop.svn.wordpress.org/trunk@1991 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-22 14:32:25 +00:00
Matt Mullenweg f5a244747e Don't cache. No, really. Hat tip: Kimmo Suominen.
git-svn-id: https://develop.svn.wordpress.org/trunk@1983 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 18:43:45 +00:00
Matt Mullenweg 17234ff3f1 New aggregation code (hat tip: Chris Davis/Jesuit), tweaked style, fixed login updater, new dashboard.
git-svn-id: https://develop.svn.wordpress.org/trunk@1979 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-19 02:30:40 +00:00
Ryan Boren 0971447cf6 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: https://develop.svn.wordpress.org/trunk@1972 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 00:28:24 +00:00
Matt Mullenweg b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Matt Mullenweg 59d1012c9d Move all auth stuff into functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@1947 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 03:00:55 +00:00
Matt Mullenweg 953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg 95e3ed808a Don't show errors if we can't fsockopen a server.
git-svn-id: https://develop.svn.wordpress.org/trunk@1926 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-09 00:25:07 +00:00
Donncha O Caoimh f7d12dbbee Fixed mangled email headers, thanks to John Allman
git-svn-id: https://develop.svn.wordpress.org/trunk@1921 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 14:40:40 +00:00
Ryan Boren 8629ed18c3 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1910 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 00:12:08 +00:00
Ryan Boren dd4e4b9df6 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-03 02:38:11 +00:00
Ryan Boren 5673b8e7a0 Unserialize empty arrays.
git-svn-id: https://develop.svn.wordpress.org/trunk@1900 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 19:53:11 +00:00
Ryan Boren d26e718453 Use preg_quote() to make spam words regex safe.
git-svn-id: https://develop.svn.wordpress.org/trunk@1896 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 05:24:09 +00:00
Ryan Boren 0b62fd613b Use weekday locale data in mysql2date. Bug 492. Patch by nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@1882 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-25 16:23:24 +00:00
Ryan Boren 5710a6ac38 Do not allow a page to be its own parent.
git-svn-id: https://develop.svn.wordpress.org/trunk@1878 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-24 00:12:46 +00:00
Ryan Boren d2e0a1c81a Allow empty uris to be passed to add_query_arg(). Useful when appending arguments to WP_Query query strings that do not yet have any arguments.
git-svn-id: https://develop.svn.wordpress.org/trunk@1872 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-21 06:03:19 +00:00
Ryan Boren 6641104194 Add is_paged().
git-svn-id: https://develop.svn.wordpress.org/trunk@1871 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 18:32:31 +00:00
Ryan Boren 4c8f0e6910 Rewrite rule generation cleanup, including re-indent.
git-svn-id: https://develop.svn.wordpress.org/trunk@1870 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-20 04:28:36 +00:00
Ryan Boren 91e1e27d01 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1868 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 20:54:16 +00:00
Matt Mullenweg b04059c4a5 Actions shouldn't change around what they're passed
git-svn-id: https://develop.svn.wordpress.org/trunk@1867 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 07:37:18 +00:00
Ryan Boren 05c8a88de8 Avoid polluting the category cache with duplicate category lists when using multiple post loops. http://wordpress.org/support/6/15213. Fix from Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1849 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-10 00:21:24 +00:00