Commit Graph

158 Commits

Author SHA1 Message Date
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
alex_t_king e2d9617bd6 changed the permalink dates to output leading zeros
git-svn-id: http://svn.automattic.com/wordpress/trunk@773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-14 05:10:32 +00:00
saxmatt 873de35f5d Don't redirect searchs if browsing paged results.
git-svn-id: http://svn.automattic.com/wordpress/trunk@761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 11:59:14 +00:00
saxmatt 6f44a5461d Performance optimizations.
git-svn-id: http://svn.automattic.com/wordpress/trunk@760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 11:52:35 +00:00
saxmatt 72135edb2b Fix from TheJason for duplicate entries when cats are specified.
git-svn-id: http://svn.automattic.com/wordpress/trunk@756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 09:35:41 +00:00
saxmatt 8a5c380f95 Category fix from TheJason.
git-svn-id: http://svn.automattic.com/wordpress/trunk@746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-09 10:17:28 +00:00
emc3 3910cf728b Fixed multi-word bug in search. Added conditional for no matches.
git-svn-id: http://svn.automattic.com/wordpress/trunk@739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-08 15:36:45 +00:00
alex_t_king 38361b3edf added a check for edit.php when excluding future posts
git-svn-id: http://svn.automattic.com/wordpress/trunk@736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-07 17:36:54 +00:00
saxmatt a8b5faacdc Reduce queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 12:44:46 +00:00
saxmatt 572ba33802 More bug fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 10:44:41 +00:00
saxmatt 0d24e188a0 Various fixes from forums and such.
git-svn-id: http://svn.automattic.com/wordpress/trunk@725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-06 10:33:07 +00:00
alex_t_king a392bb19d3 suppressing Notice messages and moving the use_cache setting higher in blog-header so that it actually gets used when getting settings
git-svn-id: http://svn.automattic.com/wordpress/trunk@677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-01 21:12:22 +00:00
saxmatt 85eaa93dd6 Moved gzip stuff into options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 21:31:09 +00:00
saxmatt 42db9e2708 Template tag for category_description and set $cat if you have category_name thing going on. Space out options screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-23 20:51:04 +00:00
saxmatt 99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
saxmatt 43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00