Commit Graph

65 Commits

Author SHA1 Message Date
saxmatt 25ae03ee65 Giant commit, sorry mailing list people. Move all table names to new $wpdb versions. Works but the whole app needs thorough testing now.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 08:22:18 +00:00
rboren 89d5a6fd88 Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-24 02:55:39 +00:00
michelvaldrighi 86fdd896ee don't translate months and weekdays in date strings PLUS bugfix for 304 Not Modified on PHP CGI
git-svn-id: http://svn.automattic.com/wordpress/trunk@1338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-21 22:33:47 +00:00
saxmatt 734b04d4a9 Renaming install-config.php to setup-config.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@1308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 20:05:40 +00:00
rboren 7a8839a7a0 Allow what_to_show to be overridden.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 18:37:57 +00:00
rboren c454490973 Allow underscores in category and author names.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-16 22:07:26 +00:00
rboren 65d556d1da Include wp-l10n.php after wp-config.php is included so that WPLANG is set. This means we cannot translate the "no wp-config.php" error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 20:46:05 +00:00
michelvaldrighi ce885b68f3 small fix to support post-slugs with underscores, required for compatibility with imported MT blogs' older post-slugs
git-svn-id: http://svn.automattic.com/wordpress/trunk@1277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 12:33:12 +00:00
saxmatt 40a89d65c6 Only include that bugger once.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-12 09:03:20 +00:00
saxmatt 9b8b403535 Possible fix to pingback problem. Parse error in blog-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-12 07:55:37 +00:00
saxmatt ee19b6c490 wfw:commentRSS and E_ALL fix to blog-header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-10 07:51:50 +00:00
saxmatt 909c8b476a Fixes from Josh.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 05:54:17 +00:00
saxmatt cdc9a55ad9 Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 05:47:02 +00:00
saxmatt a23fd4c52f Some fixes for E_ALL.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-07 21:05:02 +00:00
saxmatt b4a0d174d8 Some E_ALL fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 21:29:23 +00:00
saxmatt 5a391b5bc8 Some style cleanup. Category base and additional URI options from Jay McCarthy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 07:34:41 +00:00
rboren cbc0a250e7 Unify user and author queries on cache_userdata
git-svn-id: http://svn.automattic.com/wordpress/trunk@1186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-27 03:59:13 +00:00
saxmatt f8e2f4f2f4 More query reduction.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-26 19:18:25 +00:00
saxmatt 9945a746ec Timezone fixes, I hope.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-24 21:52:24 +00:00
saxmatt 10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
michelvaldrighi c572cc8432 checking against post_date_gmt instead of post_date makes more sense
git-svn-id: http://svn.automattic.com/wordpress/trunk@1047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-01 23:09:22 +00:00
michelvaldrighi 9fd1556828 restoring Dougal's Conditional GET logic, way better than the poop I had placed there
git-svn-id: http://svn.automattic.com/wordpress/trunk@1043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 21:19:58 +00:00
michelvaldrighi 991e250e3a your aggregator will love you, part 2: fixing support for 304 :P
git-svn-id: http://svn.automattic.com/wordpress/trunk@1037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 04:14:20 +00:00
michelvaldrighi 9fc4f5900e your aggregator will love you, feeds now support sending a 304 Not Modified header when needed
git-svn-id: http://svn.automattic.com/wordpress/trunk@1036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-31 03:54:58 +00:00
michelvaldrighi 97d8381691 aggregator users will love me for this, a GMT-compliant Last-Modified header ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-29 04:15:59 +00:00
michelvaldrighi d295a6290b back to localtime, also using :59 instead of :00 should be better and still make use of mysql's query cache
git-svn-id: http://svn.automattic.com/wordpress/trunk@1000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-25 02:15:36 +00:00
emc3 ea4cecf6eb Check $comment_counts before using.
git-svn-id: http://svn.automattic.com/wordpress/trunk@992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-24 14:45:48 +00:00
rboren 8974c946a7 Introducing wp_list_authors() and friends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-19 16:20:49 +00:00
rboren 32aebf5d7a Make sure $req_uri is not empty before passing to strpos().
git-svn-id: http://svn.automattic.com/wordpress/trunk@976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-14 16:43:55 +00:00
rboren 5670d0e1ad Use strpos() instead of preg_match() when searching for $req_uri at the head of the rewrite rule $match. This avoids regex compilation errors when $req_uri contains characters will special regex meaning. strpos() is also faster than preg_match().
git-svn-id: http://svn.automattic.com/wordpress/trunk@975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-14 13:33:03 +00:00
emc3 6df1e26f2c Added per-post custom metadata support.
git-svn-id: http://svn.automattic.com/wordpress/trunk@946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 21:42:47 +00:00
saxmatt 8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
michelvaldrighi b69088dea3 what an idiot, I had broken ?m=
git-svn-id: http://svn.automattic.com/wordpress/trunk@941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:08:12 +00:00
michelvaldrighi e0d7119fe0 fixed zealous mistake
git-svn-id: http://svn.automattic.com/wordpress/trunk@937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 13:05:38 +00:00
michelvaldrighi aedaf8860c committing with an ugly query that Just Works, waiting for a more elegant solution
git-svn-id: http://svn.automattic.com/wordpress/trunk@932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-25 04:08:54 +00:00
michelvaldrighi 24f5b1f9c7 now posts show up :P (put :00 back)
git-svn-id: http://svn.automattic.com/wordpress/trunk@923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 14:17:51 +00:00
michelvaldrighi 1c018fa613 now posts show up :P
git-svn-id: http://svn.automattic.com/wordpress/trunk@922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-23 14:14:49 +00:00
michelvaldrighi 614e542502 if we're doing feeds, we shall not send 'always modified' headers
git-svn-id: http://svn.automattic.com/wordpress/trunk@909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-22 03:29:54 +00:00
saxmatt 4fa9bde6ff Allow query to take better advantage of query caching.
git-svn-id: http://svn.automattic.com/wordpress/trunk@890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-18 11:47:14 +00:00
saxmatt 77421739db Refactoring of template tags to use filters, use TABS (!!!), and general cleanliness, which is next to godliness. Some get_settings improvements, less globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 04:56:29 +00:00
rboren b70022525e Support PATH_INFO permalinks. Move rewrite rule generation to rewrite_rules().
git-svn-id: http://svn.automattic.com/wordpress/trunk@881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-17 02:50:57 +00:00
rboren ba712e9192 Add author_name query and author permalinks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-11 04:51:19 +00:00
rboren 6d55b3153a Clean feed and trackback URLs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 20:55:50 +00:00
emc3 df997de886 More category filtering for specific posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-03 17:23:06 +00:00
emc3 c26ac54929 Removed debugging echo
git-svn-id: http://svn.automattic.com/wordpress/trunk@827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-03 16:05:59 +00:00
emc3 aeb8266341 Bypass category filtering if fetching specific posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-03 16:04:04 +00:00
mikelittle a644a1018b Fixed category name bug. "When excluding a category by using '$cat = "-4";' in index.php, the name of the excluded cat is added to the page title."
git-svn-id: http://svn.automattic.com/wordpress/trunk@814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-31 00:03:51 +00:00
saxmatt 7d63d0c095 Remove remnants of $c.
git-svn-id: http://svn.automattic.com/wordpress/trunk@808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-29 06:49:19 +00:00
saxmatt 8b9f213e57 Initial sub-categories code from Jason Verber
git-svn-id: http://svn.automattic.com/wordpress/trunk@798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-27 06:35:07 +00:00
saxmatt 2f325bc5c7 Make category matching liberal in the mod_rewrite and then strip it in blog header, because we're going to need that for 1.1 anyway, people are having trouble with it moving from 1.0 -> 1.0.1, and the change isn't really needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-17 11:21:27 +00:00