Commit Graph

149 Commits

Author SHA1 Message Date
Ryan Boren
a443c7fe53 Unify user and author queries on cache_userdata
git-svn-id: https://develop.svn.wordpress.org/trunk@1186 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-27 03:59:13 +00:00
Matt Mullenweg
bce00764e8 More query reduction.
git-svn-id: https://develop.svn.wordpress.org/trunk@1184 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 19:18:25 +00:00
Matt Mullenweg
4b6149eecf Timezone fixes, I hope.
git-svn-id: https://develop.svn.wordpress.org/trunk@1150 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:52:24 +00:00
Matt Mullenweg
94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
michelvaldrighi
ba4226d821 checking against post_date_gmt instead of post_date makes more sense
git-svn-id: https://develop.svn.wordpress.org/trunk@1047 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-01 23:09:22 +00:00
michelvaldrighi
99bbcc0296 restoring Dougal's Conditional GET logic, way better than the poop I had placed there
git-svn-id: https://develop.svn.wordpress.org/trunk@1043 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-31 21:19:58 +00:00
michelvaldrighi
3c491e4dbc your aggregator will love you, part 2: fixing support for 304 :P
git-svn-id: https://develop.svn.wordpress.org/trunk@1037 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-31 04:14:20 +00:00
michelvaldrighi
444f7cafec your aggregator will love you, feeds now support sending a 304 Not Modified header when needed
git-svn-id: https://develop.svn.wordpress.org/trunk@1036 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-31 03:54:58 +00:00
michelvaldrighi
f2c646a82e aggregator users will love me for this, a GMT-compliant Last-Modified header ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@1023 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-29 04:15:59 +00:00
michelvaldrighi
f323a6e484 back to localtime, also using :59 instead of :00 should be better and still make use of mysql's query cache
git-svn-id: https://develop.svn.wordpress.org/trunk@1000 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 02:15:36 +00:00
Dougal Campbell
4f89c11350 Check $comment_counts before using.
git-svn-id: https://develop.svn.wordpress.org/trunk@992 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-24 14:45:48 +00:00
Ryan Boren
19888e9223 Introducing wp_list_authors() and friends.
git-svn-id: https://develop.svn.wordpress.org/trunk@979 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-19 16:20:49 +00:00
Ryan Boren
d418ea50b5 Make sure $req_uri is not empty before passing to strpos().
git-svn-id: https://develop.svn.wordpress.org/trunk@976 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-14 16:43:55 +00:00
Ryan Boren
4e5eb1bb45 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: https://develop.svn.wordpress.org/trunk@975 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-14 13:33:03 +00:00
Dougal Campbell
15f1b35267 Added per-post custom metadata support.
git-svn-id: https://develop.svn.wordpress.org/trunk@946 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 21:42:47 +00:00
Matt Mullenweg
22ed64e4ec Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: https://develop.svn.wordpress.org/trunk@945 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:15:48 +00:00
michelvaldrighi
d4adb0fff6 what an idiot, I had broken ?m=
git-svn-id: https://develop.svn.wordpress.org/trunk@941 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 16:08:12 +00:00
michelvaldrighi
8362ebf1e7 fixed zealous mistake
git-svn-id: https://develop.svn.wordpress.org/trunk@937 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-26 13:05:38 +00:00
michelvaldrighi
f2e967e597 committing with an ugly query that Just Works, waiting for a more elegant solution
git-svn-id: https://develop.svn.wordpress.org/trunk@932 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-25 04:08:54 +00:00
michelvaldrighi
07252436c6 now posts show up :P (put :00 back)
git-svn-id: https://develop.svn.wordpress.org/trunk@923 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 14:17:51 +00:00
michelvaldrighi
d3540cc93d now posts show up :P
git-svn-id: https://develop.svn.wordpress.org/trunk@922 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-23 14:14:49 +00:00
michelvaldrighi
79c9ab0684 if we're doing feeds, we shall not send 'always modified' headers
git-svn-id: https://develop.svn.wordpress.org/trunk@909 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-22 03:29:54 +00:00
Matt Mullenweg
29186e5d6b Allow query to take better advantage of query caching.
git-svn-id: https://develop.svn.wordpress.org/trunk@890 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-18 11:47:14 +00:00
Matt Mullenweg
d6a30cc0e8 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: https://develop.svn.wordpress.org/trunk@885 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 04:56:29 +00:00
Ryan Boren
0081ac69aa Support PATH_INFO permalinks. Move rewrite rule generation to rewrite_rules().
git-svn-id: https://develop.svn.wordpress.org/trunk@881 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-17 02:50:57 +00:00
Ryan Boren
eed4750e50 Add author_name query and author permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@863 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-11 04:51:19 +00:00
Ryan Boren
6ebd3ca6c0 Clean feed and trackback URLs.
git-svn-id: https://develop.svn.wordpress.org/trunk@836 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-05 20:55:50 +00:00
Dougal Campbell
7c84f63300 More category filtering for specific posts
git-svn-id: https://develop.svn.wordpress.org/trunk@828 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-03 17:23:06 +00:00
Dougal Campbell
db0df60fbd Removed debugging echo
git-svn-id: https://develop.svn.wordpress.org/trunk@827 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-03 16:05:59 +00:00
Dougal Campbell
0037ea35ec Bypass category filtering if fetching specific posts
git-svn-id: https://develop.svn.wordpress.org/trunk@826 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-03 16:04:04 +00:00
Mike Little
87df7d7add 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: https://develop.svn.wordpress.org/trunk@814 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-31 00:03:51 +00:00
Matt Mullenweg
f94fdae019 Remove remnants of $c.
git-svn-id: https://develop.svn.wordpress.org/trunk@808 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-29 06:49:19 +00:00
Matt Mullenweg
4b4a1405f3 Initial sub-categories code from Jason Verber
git-svn-id: https://develop.svn.wordpress.org/trunk@798 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-27 06:35:07 +00:00
Matt Mullenweg
25c474992c 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: https://develop.svn.wordpress.org/trunk@782 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-17 11:21:27 +00:00
Alex King
80cc201c56 changed the permalink dates to output leading zeros
git-svn-id: https://develop.svn.wordpress.org/trunk@773 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-14 05:10:32 +00:00
Matt Mullenweg
68620d2c3f Don't redirect searchs if browsing paged results.
git-svn-id: https://develop.svn.wordpress.org/trunk@761 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 11:59:14 +00:00
Matt Mullenweg
b85d61310e Performance optimizations.
git-svn-id: https://develop.svn.wordpress.org/trunk@760 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 11:52:35 +00:00
Matt Mullenweg
6ab398733b Fix from TheJason for duplicate entries when cats are specified.
git-svn-id: https://develop.svn.wordpress.org/trunk@756 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 09:35:41 +00:00
Matt Mullenweg
6a977ac358 Category fix from TheJason.
git-svn-id: https://develop.svn.wordpress.org/trunk@746 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-09 10:17:28 +00:00
Dougal Campbell
dbf8f4e1a2 Fixed multi-word bug in search. Added conditional for no matches.
git-svn-id: https://develop.svn.wordpress.org/trunk@739 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-08 15:36:45 +00:00
Alex King
4b2627ef26 added a check for edit.php when excluding future posts
git-svn-id: https://develop.svn.wordpress.org/trunk@736 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-07 17:36:54 +00:00
Matt Mullenweg
6fc5343a5c Reduce queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@727 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-06 12:44:46 +00:00
Matt Mullenweg
36841b79b3 More bug fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@726 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-06 10:44:41 +00:00
Matt Mullenweg
bab03a7a4b Various fixes from forums and such.
git-svn-id: https://develop.svn.wordpress.org/trunk@725 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-06 10:33:07 +00:00
Alex King
192fc9544f 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: https://develop.svn.wordpress.org/trunk@677 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-01 21:12:22 +00:00
Matt Mullenweg
d179dd97d9 Moved gzip stuff into options.
git-svn-id: https://develop.svn.wordpress.org/trunk@646 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-23 21:31:09 +00:00
Matt Mullenweg
4d96a5e921 Template tag for category_description and set $cat if you have category_name thing going on. Space out options screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@643 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-23 20:51:04 +00:00
Matt Mullenweg
ccc413011a Renaming Reloaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 09:36:13 +00:00
Matt Mullenweg
9c6a0a9403 The great renaming.
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00