Commit Graph

79 Commits

Author SHA1 Message Date
Ryan Boren
ec57c1a114 Static pages. Take 1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1527 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-10 05:35:59 +00:00
Ryan Boren
cf3a6080bd WP Query class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1516 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-08 15:31:50 +00:00
Ryan Boren
fdaf705b04 Support timestamp permalinks. Make wider use of is_single(). Bug 0000194.
git-svn-id: https://develop.svn.wordpress.org/trunk@1491 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-28 02:43:54 +00:00
Matt Mullenweg
accc00694a http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000133
Stop execution after we 304 the client.


git-svn-id: https://develop.svn.wordpress.org/trunk@1455 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-06 18:20:11 +00:00
Matt Mullenweg
1f53b28c09 http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000150 and various formatting cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1452 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-06 17:58:48 +00:00
Ryan Boren
4c0a18c68e Add WP_Query_State class. Introduce is_single(), is_archive(), and friends.
git-svn-id: https://develop.svn.wordpress.org/trunk@1449 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-30 15:31:49 +00:00
Ryan Boren
ed96c5e8c9 Add posts_where, the_posts, and query_string filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@1443 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-20 22:36:45 +00:00
Matt Mullenweg
68a0c70498 Last-modified should not have a space in it.
git-svn-id: https://develop.svn.wordpress.org/trunk@1442 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 17:34:13 +00:00
Matt Mullenweg
0755d0c706 Move timer start earlier.
git-svn-id: https://develop.svn.wordpress.org/trunk@1441 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 17:04:18 +00:00
Ryan Boren
2ddf0582d4 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: https://develop.svn.wordpress.org/trunk@1428 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-15 03:30:00 +00:00
Matt Mullenweg
39541ea299 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: https://develop.svn.wordpress.org/trunk@1404 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 10:01:45 +00:00
Matt Mullenweg
6c97530035 Changes to options system and query improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@1401 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-10 08:42:25 +00:00
Ryan Boren
98378de860 Rewrite rule fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1381 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 05:16:44 +00:00
Ryan Boren
b721c5b54f index.php now handles feeds and trackbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1376 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 23:35:32 +00:00
Matt Mullenweg
717855f007 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: https://develop.svn.wordpress.org/trunk@1355 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 08:22:18 +00:00
Ryan Boren
97d49f1923 Introducing query_posts(), update_post_caches(), update_user_cache(), and update_category_cache().
git-svn-id: https://develop.svn.wordpress.org/trunk@1354 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-24 02:55:39 +00:00
michelvaldrighi
3fb700cd64 don't translate months and weekdays in date strings PLUS bugfix for 304 Not Modified on PHP CGI
git-svn-id: https://develop.svn.wordpress.org/trunk@1338 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-21 22:33:47 +00:00
Matt Mullenweg
4a35248866 Renaming install-config.php to setup-config.php
git-svn-id: https://develop.svn.wordpress.org/trunk@1308 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 20:05:40 +00:00
Ryan Boren
50eda3dbdd Allow what_to_show to be overridden.
git-svn-id: https://develop.svn.wordpress.org/trunk@1307 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 18:37:57 +00:00
Ryan Boren
7c3ee9392d Allow underscores in category and author names.
git-svn-id: https://develop.svn.wordpress.org/trunk@1289 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-16 22:07:26 +00:00
Ryan Boren
66be4943f9 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: https://develop.svn.wordpress.org/trunk@1281 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 20:46:05 +00:00
michelvaldrighi
1138540453 small fix to support post-slugs with underscores, required for compatibility with imported MT blogs' older post-slugs
git-svn-id: https://develop.svn.wordpress.org/trunk@1277 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 12:33:12 +00:00
Matt Mullenweg
0b6684fac1 Only include that bugger once.
git-svn-id: https://develop.svn.wordpress.org/trunk@1267 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-12 09:03:20 +00:00
Matt Mullenweg
98e476afc5 Possible fix to pingback problem. Parse error in blog-header.
git-svn-id: https://develop.svn.wordpress.org/trunk@1265 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-12 07:55:37 +00:00
Matt Mullenweg
cc29f6be5e wfw:commentRSS and E_ALL fix to blog-header.
git-svn-id: https://develop.svn.wordpress.org/trunk@1255 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-10 07:51:50 +00:00
Matt Mullenweg
7ee351df65 Fixes from Josh.
git-svn-id: https://develop.svn.wordpress.org/trunk@1246 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 05:54:17 +00:00
Matt Mullenweg
7f1cdc843e Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: https://develop.svn.wordpress.org/trunk@1245 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 05:47:02 +00:00
Matt Mullenweg
2d35c72b9e Some fixes for E_ALL.
git-svn-id: https://develop.svn.wordpress.org/trunk@1236 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 21:05:02 +00:00
Matt Mullenweg
3b1de5d605 Some E_ALL fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1235 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 21:29:23 +00:00
Matt Mullenweg
1205b3d97c Some style cleanup. Category base and additional URI options from Jay McCarthy.
git-svn-id: https://develop.svn.wordpress.org/trunk@1227 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-05 07:34:41 +00:00
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