Commit Graph

112 Commits

Author SHA1 Message Date
rboren a143594b7b If template redirection is turned off, we still need to redirect for feeds and trackbacks so that permalinks do not break.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 05:52:10 +00:00
rboren 829d460ce4 s/wp_did_template_redirect/wp_template_redirect/
git-svn-id: http://svn.automattic.com/wordpress/trunk@2069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-09 01:53:31 +00:00
saxmatt 73fd50000e Formatting cleanup and added category-123.php functionality.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-03 00:14:42 +00:00
rboren 71e989b683 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-18 00:28:24 +00:00
rboren fc170bc859 Do not process PATH_INFO if it containts the index.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 22:00:26 +00:00
rboren b1f753ab3f Define TEMPLATEPATH. Look for footer, sidebar, and header in the template directory for the active theme.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 21:51:25 +00:00
rboren a2b6757246 Remove call to undefined function clear_smarty_cache(). Bug 424.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-08 00:23:02 +00:00
rboren d352c9be64 Improve plugin hooks for rewrite manipulation. Allow pluggable template redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:12:08 +00:00
rboren 02f33a3426 Do not attempt path info matching if PATH_INFO contains SCRIPT_NAME. Bug 353.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-04 00:09:40 +00:00
rboren b1a4a04126 Move rewrite and permalink functions into WP_Rewrite class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-03 02:38:11 +00:00
rboren d0742f3227 Load paged.php for is_paged(). Paging no longer makes is_archive() true. Bug 500.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-29 23:37:29 +00:00
rboren 7c7133aa9a Give 404 precedence over other templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-23 21:16:04 +00:00
rboren 93f05160ec Issue a 404 if a permalink request does not match any posts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-10 04:01:46 +00:00
rboren ec4cfef503 Do not process path info if it contains only "/".
git-svn-id: http://svn.automattic.com/wordpress/trunk@1842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-02 02:08:17 +00:00
rboren 7815372fc7 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: http://svn.automattic.com/wordpress/trunk@1835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-27 23:58:40 +00:00
rboren ec579f4ec6 Extract updated query vars back into global namespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-27 22:07:58 +00:00
saxmatt 62ea5faef5 Fix for bug 137. Patch from kelson.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 08:27:56 +00:00
rboren ff3d47b742 Use page_id=xx instead of p=xx&static=1
git-svn-id: http://svn.automattic.com/wordpress/trunk@1759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-08 08:06:21 +00:00
rboren 543714fbab Page templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 05:11:11 +00:00
rboren d5c9465fa9 Introduce get_template_directory() and bloginfo('stylesheet_directory'). Make comments_popup_script() theme aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-30 17:56:16 +00:00
rboren 0cdc3aaff5 If we attempt path info matching but do not match, set 404. Also, retabify some code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-19 04:19:16 +00:00
rboren a88c2a9db9 Test for feed and trackback at the beginning of the template redirection code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 19:01:18 +00:00
michelvaldrighi 4133fc887d reverting wp-admin/xmlrpc.php changes
git-svn-id: http://svn.automattic.com/wordpress/trunk@1683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 14:57:15 +00:00
michelvaldrighi 5fd7490c9f now that we have a new pingback server in wp-admin/xmlrpc.php, let's advertise it
git-svn-id: http://svn.automattic.com/wordpress/trunk@1677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-17 09:27:04 +00:00
rboren 52a587a236 Check for index.php instead of blogfilename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 07:37:43 +00:00
rboren 37e39a2917 Simplify template redirector. Collapse mutliple guard vars into one.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-13 08:05:30 +00:00
rboren a34e77d72a Template redirection fix-up.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-13 07:28:16 +00:00
rboren fec36ee655 Themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-11 16:12:40 +00:00
saxmatt c9136856b5 Massive options cleanup and another step of cleaning up the upgrade/install.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 00:24:28 +00:00
rboren d39d7e2347 404 permalink handler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-27 20:59:38 +00:00
rboren 841e29798b Template redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-24 08:43:01 +00:00
rboren f510f2a85d Paging cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-16 22:50:06 +00:00
rboren 4a0112f746 Add pagename query var.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-11 01:55:34 +00:00
rboren ea16450f63 Static pages. Take 1.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-10 05:35:59 +00:00
rboren 73402f0741 WP Query class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-08 15:31:50 +00:00
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