Commit Graph

240 Commits

Author SHA1 Message Date
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
Ryan Boren ea54a86ebb add $user_agent to check_comment() arg list. Bug 415. Patch by MC_incubus.
git-svn-id: https://develop.svn.wordpress.org/trunk@1847 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:31:48 +00:00
Ryan Boren f34a43bf4e Put the right index.php in the template file list for the default theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@1846 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-09 02:29:01 +00:00
Dougal Campbell 1039a6fed1 BUGFIX: prevent '#' chars in moderation_keys from breaking regex handling.
git-svn-id: https://develop.svn.wordpress.org/trunk@1845 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-05 03:56:40 +00:00
Dougal Campbell 9ef62e7f0c ANTI-SPAM: reject numerically encoded entities that fall in the normal ASCII range
git-svn-id: https://develop.svn.wordpress.org/trunk@1844 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-03 14:21:46 +00:00
Ryan Boren ecc156d4bd Typo fix. Bug 423.
git-svn-id: https://develop.svn.wordpress.org/trunk@1843 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 02:13:00 +00:00
Ryan Boren 82acac8021 urldecode page URI so that it will work for multibyte languages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1841 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 01:56:29 +00:00
Donncha O Caoimh b9640d9ec1 Make sure email and name are not blank when checking comment author in whitelist.
git-svn-id: https://develop.svn.wordpress.org/trunk@1840 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-01 13:21:14 +00:00
Ryan Boren d3f7d9e4c8 List broken themes and suggest corrective action.
git-svn-id: https://develop.svn.wordpress.org/trunk@1829 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-24 23:48:51 +00:00
Ryan Boren fb09e46ffe Introducing add_query_arg() and remove_query_arg(). Props: Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1823 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 21:28:37 +00:00
Donncha O Caoimh e7ecb7ad81 Make checking enclosure URLs much faster - fclose() after blank line in response.
git-svn-id: https://develop.svn.wordpress.org/trunk@1820 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-20 15:07:49 +00:00
Ryan Boren ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Donncha O Caoimh cc9dc67ff8 Enclosure support moved to functions.php - it now scans the content
and encloses file of mime type "video", "audio" and "image".
Fixed a bug in upgrade.php - extra character at the start of file.


git-svn-id: https://develop.svn.wordpress.org/trunk@1812 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 12:09:20 +00:00
Ryan Boren a85bbd647d If the match is unanchored and greedy, prepend rewrite conditions to avoid infinite redirects and eclipsing of real files. Add L to rewrite flags to break out of rewriting once a match is found.
git-svn-id: https://develop.svn.wordpress.org/trunk@1802 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-15 03:16:01 +00:00
Matt Mullenweg 8485291bd9 Fix for bug 137. Patch from kelson.
git-svn-id: https://develop.svn.wordpress.org/trunk@1799 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 08:27:56 +00:00
Matt Mullenweg b4984a31c2 Trackback and pingback cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1794 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 07:26:41 +00:00
Ryan Boren 707bf8bb44 Move get_theme*() from admin-functions to functions so that templates and plugins can use them.
git-svn-id: https://develop.svn.wordpress.org/trunk@1792 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 03:54:57 +00:00
Ryan Boren 8d9fda7a9c Add template and stylesheet filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1789 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 03:20:03 +00:00