Commit Graph

131 Commits

Author SHA1 Message Date
rboren
7431bdd75a Don't try to process path info when directly loading the feed files. Props to Toby Simmons. http://mosquito.wordpress.org/view.php?id=903
git-svn-id: http://svn.automattic.com/wordpress/trunk@2363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-18 01:43:48 +00:00
saxmatt
64e772f076 Send headers in a CGI friendly way
git-svn-id: http://svn.automattic.com/wordpress/trunk@2336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 21:05:15 +00:00
rboren
6a11fa21a2 Load comments-popup template through the index.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 09:17:23 +00:00
saxmatt
6b03f9b4a5 Don't exit too early - http://mosquito.wordpress.org/view.php?id=870
git-svn-id: http://svn.automattic.com/wordpress/trunk@2326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 05:50:46 +00:00
saxmatt
8e014dea63 html_type to allow for true XHTML.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:36:57 +00:00
saxmatt
41f2e62b24 Send proper header to avoid charset mismatch - http://mosquito.wordpress.org/view.php?id=857
git-svn-id: http://svn.automattic.com/wordpress/trunk@2320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 04:29:53 +00:00
saxmatt
2389a0aa7c Don't double-nest wp-admin. http://mosquito.wordpress.org/view.php?id=465
git-svn-id: http://svn.automattic.com/wordpress/trunk@2309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-14 00:49:03 +00:00
rboren
438753cfdd Make sure trackback template is not double processed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 21:25:08 +00:00
rboren
677a576cdb Process feed and trackback templates even if not using themes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 21:20:00 +00:00
saxmatt
ad536c567e Better default behaviour for theme calling
git-svn-id: http://svn.automattic.com/wordpress/trunk@2303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 20:38:28 +00:00
rboren
9c4632e9f6 Don't redirect to permalink page if search returns one result. Move search template load higher up in load order.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 20:32:24 +00:00
rboren
a266c82c47 Do not use is_*() functions before query_posts() runs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 20:01:41 +00:00
rboren
1b8050d0d3 Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: http://svn.automattic.com/wordpress/trunk@2299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-13 19:42:22 +00:00
rboren
bb5d95dd95 Make sure is_feed() is true when feed files are referenced directly. http://mosquito.wordpress.org/view.php?id=726
git-svn-id: http://svn.automattic.com/wordpress/trunk@2272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 06:42:07 +00:00
rboren
2a8038d93b Remove extra wp-l10n.php include. Bug 756.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:43:31 +00:00
rboren
9838608868 Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 06:20:54 +00:00
rboren
c407b7b457 get_*_template() functions and filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 03:44:32 +00:00
rboren
e9d1241d26 Remove support for 'all' queries and for poststart and postend.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 01:49:51 +00:00
rboren
e8aff31d6e Add missing dash. Bug 713.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-19 16:15:45 +00:00
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