Commit Graph

58 Commits

Author SHA1 Message Date
ryan
8d579218f6 Use index.php for feed links instead of wp-*.php http://mosquito.wordpress.org/view.php?id=915
git-svn-id: http://svn.automattic.com/wordpress/trunk@2384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-26 06:12:16 +00:00
michelvaldrighi
f547b70201 if permalink_structure doesn't have %category%, don't bother querying categories
git-svn-id: http://svn.automattic.com/wordpress/trunk@2355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-16 15:49:02 +00:00
saxmatt
3a9560b6d6 Don't show posts from the future
git-svn-id: http://svn.automattic.com/wordpress/trunk@2255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-11 01:27:10 +00:00
saxmatt
b00f007d8f Remove querystring variable legacy code
git-svn-id: http://svn.automattic.com/wordpress/trunk@2239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-07 07:37:53 +00:00
rboren
e0d7582c46 Correctly add args to strings that contain only a query string and not a full URI.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-06 03:40:08 +00:00
michelvaldrighi
e1325ba94b Fix for bug #559, just use user_can_ functions
git-svn-id: http://svn.automattic.com/wordpress/trunk@2195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 11:14:45 +00:00
rboren
85e1235b65 Feed link fix for bug 775. Hat tip: Kafkaesqui
git-svn-id: http://svn.automattic.com/wordpress/trunk@2181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-02-01 02:01:38 +00:00
rboren
84f2d4264c Add link filters for bug 743 (hat tip to morganiq). More abstraction and flexibility in WP_Rewrite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-26 22:46:40 +00:00
rboren
38a0c65a59 If a category has parents, include those parents when generating the post permalink (if the permalink contains %category%).
git-svn-id: http://svn.automattic.com/wordpress/trunk@2148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-25 05:01:54 +00:00
saxmatt
2c5c76c12b More escaping of description and cleaner default feed URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-22 03:45:35 +00:00
rboren
83c5911d69 Add the_permalink filter. Bug 693. Props: morganiq
git-svn-id: http://svn.automattic.com/wordpress/trunk@2094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-14 23:43:20 +00:00
saxmatt
7f98c031a7 Some feed template function cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-01-07 22:01:59 +00:00
saxmatt
637cfdc7a4 Cleaning up blogfilename.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-12-24 01:34:47 +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
9872261202 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-19 20:54:16 +00:00
rboren
013f6d6fee Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: http://svn.automattic.com/wordpress/trunk@1860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-17 03:45:50 +00:00
rboren
acfb79c47e Sort the category list so that index associations are made non-sparse.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-11-12 23:08:51 +00:00
rboren
184628f5dc PATH_INFO page links now include the index. Bug 404.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-22 21:44:00 +00:00
michelvaldrighi
a53659c2ab unb0rked the pagination links
git-svn-id: http://svn.automattic.com/wordpress/trunk@1791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-13 14:18:17 +00:00
michelvaldrighi
a00764ed8e fixed next_posts_links, removed debug artefacts lying there
git-svn-id: http://svn.automattic.com/wordpress/trunk@1785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:21:53 +00:00
michelvaldrighi
f1cd47763b fixed posts_nav_link again, to reclaim functionality lost in last fix ;)
git-svn-id: http://svn.automattic.com/wordpress/trunk@1784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:12:03 +00:00
michelvaldrighi
fc528e3d09 fixed posts_nav_link to use a much lighter query
git-svn-id: http://svn.automattic.com/wordpress/trunk@1783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-12 13:04:35 +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
96a0b41202 Page/subpage URIs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-06 02:18:37 +00:00
rboren
76d4882921 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 20:04:29 +00:00
rboren
e5f5c2c859 get_pagenum_link() tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-10 07:03:40 +00:00
saxmatt
c54f9a539f Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-05 02:41:01 +00:00
rboren
f3cf5ba8c9 Add previous_post_link() and next_post_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-24 01:35:57 +00:00
rboren
80842ce65b Fix a path info paging bug. Add using_mod_rewrite().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-23 23:28:14 +00:00
rboren
b3c8f86b0b Use is_single().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-17 02:29:37 +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
3f7ac3eb4d Complete support for %author% in post permalinks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-14 17:29:09 +00:00
rboren
044c12ae42 Add lost return to get_permalink().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-13 15:00:45 +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
1a47e9d839 Fix get_pagenum_link() to work with path info permalinks and permalinks without trailing slashes. Bug 0002040.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-07 18:12:54 +00:00
rboren
2a1d84ef82 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-29 03:34:08 +00:00
rboren
6fd6b1080d stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: http://svn.automattic.com/wordpress/trunk@1435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-18 00:22:09 +00:00
rboren
336f42db94 Add back the trailing slash to paged permalinks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-08 17:48:21 +00:00
rboren
1139d6fd36 posts_nav_link fixes. http://wordpress.org/support/6/6979
git-svn-id: http://svn.automattic.com/wordpress/trunk@1391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-07 04:41:06 +00:00
rboren
f8258351b4 Rewrite and %category% fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-06 02:02:27 +00:00
rboren
12dea3832c Add %category% support to get_permalink.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-04 02:36:46 +00:00
saxmatt
b3f30a2877 Added consistant trailing slash.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 21:43:18 +00:00
saxmatt
ffcebf236f Fix for strange slash nav errors for paged nice links, and validation fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 07:44:43 +00:00
rboren
b863cf90d1 Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-02 07:14:03 +00:00
rboren
e4bf283bc6 Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
git-svn-id: http://svn.automattic.com/wordpress/trunk@1373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-31 17:22:25 +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
saxmatt
91d7e604f2 This is used more than I thought in templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-18 08:36:53 +00:00
saxmatt
cdc9a55ad9 Various fixes and cleanups, inspired and pointed out by Joseph Scott.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 05:47:02 +00:00
saxmatt
5a391b5bc8 Some style cleanup. Category base and additional URI options from Jay McCarthy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-05 07:34:41 +00:00