Commit Graph

77 Commits

Author SHA1 Message Date
rboren 6b12e25d03 Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-28 02:43:54 +00:00
saxmatt 4a25f98620 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000133
Stop execution after we 304 the client.


git-svn-id: http://svn.automattic.com/wordpress/trunk@1455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-06 18:20:11 +00:00
saxmatt a82c9d7f59 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000150 and various formatting cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-06 17:58:48 +00:00
rboren 8b44ee9d93 Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-30 15:31:49 +00:00
rboren b8f38cca10 Add posts_where, the_posts, and query_string filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-20 22:36:45 +00:00
saxmatt 54ec3fd948 Last-modified should not have a space in it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-19 17:34:13 +00:00
saxmatt 5a93597679 Move timer start earlier.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-19 17:04:18 +00:00
rboren 069c6d1f17 Call update_post_caches() from within query_posts() and get_posts(). http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000046
git-svn-id: http://svn.automattic.com/wordpress/trunk@1428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-15 03:30:00 +00:00
saxmatt 4f6e367f90 Gzip cleanup, debugged wacky options problem, some cleanup and reorg. We need to split up functions.php more logically, and kill some of the useless functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 10:01:45 +00:00
saxmatt e2d3bb0acc Changes to options system and query improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-10 08:42:25 +00:00
rboren 96e44262b4 Rewrite rule fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 05:16:44 +00:00
rboren 44e890f765 index.php now handles feeds and trackbacks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 23:35:32 +00:00
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