Commit Graph

112 Commits

Author SHA1 Message Date
Ryan Boren a6f84753db If template redirection is turned off, we still need to redirect for feeds and trackbacks so that permalinks do not break.
git-svn-id: https://develop.svn.wordpress.org/trunk@2087 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 05:52:10 +00:00
Ryan Boren adad04ff38 s/wp_did_template_redirect/wp_template_redirect/
git-svn-id: https://develop.svn.wordpress.org/trunk@2069 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-09 01:53:31 +00:00
Matt Mullenweg 5dbc7ec739 Formatting cleanup and added category-123.php functionality.
git-svn-id: https://develop.svn.wordpress.org/trunk@2038 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-03 00:14:42 +00:00
Ryan Boren 0971447cf6 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: https://develop.svn.wordpress.org/trunk@1972 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 00:28:24 +00:00
Ryan Boren 22781af5ee Do not process PATH_INFO if it containts the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@1923 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 22:00:26 +00:00
Ryan Boren 6a2e9a95c1 Define TEMPLATEPATH. Look for footer, sidebar, and header in the template directory for the active theme.
git-svn-id: https://develop.svn.wordpress.org/trunk@1922 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 21:51:25 +00:00
Ryan Boren 017dfb115b Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: https://develop.svn.wordpress.org/trunk@1917 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 00:23:02 +00:00
Ryan Boren 8629ed18c3 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1910 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 00:12:08 +00:00
Ryan Boren 00b4d22860 Do not attempt path info matching if PATH_INFO contains SCRIPT_NAME. Bug 353.
git-svn-id: https://develop.svn.wordpress.org/trunk@1909 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-04 00:09:40 +00:00
Ryan Boren dd4e4b9df6 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: https://develop.svn.wordpress.org/trunk@1908 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-03 02:38:11 +00:00
Ryan Boren 63add842a8 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: https://develop.svn.wordpress.org/trunk@1904 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-29 23:37:29 +00:00
Ryan Boren 469d850946 Give 404 precedence over other templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1877 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-23 21:16:04 +00:00
Ryan Boren 111d7005e6 Issue a 404 if a permalink request does not match any posts.
git-svn-id: https://develop.svn.wordpress.org/trunk@1850 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-10 04:01:46 +00:00
Ryan Boren feca248c64 Do not process path info if it contains only "/".
git-svn-id: https://develop.svn.wordpress.org/trunk@1842 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-02 02:08:17 +00:00
Ryan Boren 00d3226b7b Add $post_per_archive_page to override the number of posts to show for an archive page. Turn off paging if $post_per_* are set to -1.
git-svn-id: https://develop.svn.wordpress.org/trunk@1835 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-27 23:58:40 +00:00
Ryan Boren 5a32ea0adc Extract updated query vars back into global namespace.
git-svn-id: https://develop.svn.wordpress.org/trunk@1834 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-27 22:07:58 +00:00
Matt Mullenweg 8485291bd9 Fix for bug 137. Patch from kelson.
git-svn-id: https://develop.svn.wordpress.org/trunk@1799 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 08:27:56 +00:00
Ryan Boren ad7e0b673b Use page_id=xx instead of p=xx&static=1
git-svn-id: https://develop.svn.wordpress.org/trunk@1759 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-08 08:06:21 +00:00
Ryan Boren 4b44c46602 Page templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1753 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 05:11:11 +00:00
Ryan Boren ebbf002430 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: https://develop.svn.wordpress.org/trunk@1726 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-30 17:56:16 +00:00
Ryan Boren fee2d2df3c If we attempt path info matching but do not match, set 404. Also, retabify some code.
git-svn-id: https://develop.svn.wordpress.org/trunk@1697 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-19 04:19:16 +00:00
Ryan Boren 1583a85abc Test for feed and trackback at the beginning of the template redirection code.
git-svn-id: https://develop.svn.wordpress.org/trunk@1694 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 19:01:18 +00:00
michelvaldrighi d190b9453c reverting wp-admin/xmlrpc.php changes
git-svn-id: https://develop.svn.wordpress.org/trunk@1683 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 14:57:15 +00:00
michelvaldrighi fa94dfa448 now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: https://develop.svn.wordpress.org/trunk@1677 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-17 09:27:04 +00:00
Ryan Boren d5b58ba8d5 Check for index.php instead of blogfilename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1662 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 07:37:43 +00:00
Ryan Boren 3dc410d34d Simplify template redirector. Collapse mutliple guard vars into one.
git-svn-id: https://develop.svn.wordpress.org/trunk@1642 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-13 08:05:30 +00:00
Ryan Boren 7244afffb3 Template redirection fix-up.
git-svn-id: https://develop.svn.wordpress.org/trunk@1641 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-13 07:28:16 +00:00
Ryan Boren ddf9be9ef1 Themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1638 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-11 16:12:40 +00:00
Matt Mullenweg 6b0bcbf2f5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: https://develop.svn.wordpress.org/trunk@1599 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 00:24:28 +00:00
Ryan Boren b9fc57acbc 404 permalink handler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1570 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 20:59:38 +00:00
Ryan Boren 8da2215076 Template redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@1558 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 08:43:01 +00:00
Ryan Boren 3db73193ef Paging cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@1536 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-16 22:50:06 +00:00
Ryan Boren 01b53facab Add pagename query var.
git-svn-id: https://develop.svn.wordpress.org/trunk@1531 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-11 01:55:34 +00:00
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