Commit Graph

45 Commits

Author SHA1 Message Date
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
91e1e27d01 Permalink love. Wrap mod_rewrite rules in a conditional. Make sure date permalinks are sane. Add get_year_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1868 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-19 20:54:16 +00:00
Ryan Boren
cc06069384 Allow comments on pages. Props: error http://wordpress.org/support/6/16759
git-svn-id: https://develop.svn.wordpress.org/trunk@1860 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-17 03:45:50 +00:00
Ryan Boren
2eb5611be9 Sort the category list so that index associations are made non-sparse.
git-svn-id: https://develop.svn.wordpress.org/trunk@1851 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-12 23:08:51 +00:00
Ryan Boren
4b81c51c9b PATH_INFO page links now include the index. Bug 404.
git-svn-id: https://develop.svn.wordpress.org/trunk@1828 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-22 21:44:00 +00:00
michelvaldrighi
ee2181e927 unb0rked the pagination links
git-svn-id: https://develop.svn.wordpress.org/trunk@1791 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-13 14:18:17 +00:00
michelvaldrighi
2490a6c2ee fixed next_posts_links, removed debug artefacts lying there
git-svn-id: https://develop.svn.wordpress.org/trunk@1785 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:21:53 +00:00
michelvaldrighi
33096e5712 fixed posts_nav_link again, to reclaim functionality lost in last fix ;)
git-svn-id: https://develop.svn.wordpress.org/trunk@1784 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:12:03 +00:00
michelvaldrighi
11f3a4701a fixed posts_nav_link to use a much lighter query
git-svn-id: https://develop.svn.wordpress.org/trunk@1783 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-12 13:04:35 +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
c54a49b9aa Page/subpage URIs.
git-svn-id: https://develop.svn.wordpress.org/trunk@1752 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-06 02:18:37 +00:00
Ryan Boren
cf529fe462 Rename using_mod_rewrite() to using_index_permalinks(). Start removing blogfilename references.
git-svn-id: https://develop.svn.wordpress.org/trunk@1695 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 20:04:29 +00:00
Ryan Boren
08f8a3d0eb get_pagenum_link() tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1635 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-10 07:03:40 +00:00
Matt Mullenweg
0ed9084d7d Set GUID on upgrade. CURRENTLY NOT WORKING. For some reason the get_settings calls aren't working.
git-svn-id: https://develop.svn.wordpress.org/trunk@1605 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-05 02:41:01 +00:00
Ryan Boren
6c12d408ec Add previous_post_link() and next_post_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1557 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-24 01:35:57 +00:00
Ryan Boren
a1d2b2eb86 Fix a path info paging bug. Add using_mod_rewrite().
git-svn-id: https://develop.svn.wordpress.org/trunk@1555 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-23 23:28:14 +00:00
Ryan Boren
2c75118680 Use is_single().
git-svn-id: https://develop.svn.wordpress.org/trunk@1537 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-17 02:29:37 +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
ee416fcdc2 Complete support for %author% in post permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1534 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 17:29:09 +00:00
Ryan Boren
f43f503c7e Add lost return to get_permalink().
git-svn-id: https://develop.svn.wordpress.org/trunk@1532 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-13 15:00:45 +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
debef5a642 Fix get_pagenum_link() to work with path info permalinks and permalinks without trailing slashes. Bug 0002040.
git-svn-id: https://develop.svn.wordpress.org/trunk@1514 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-07 18:12:54 +00:00
Ryan Boren
0f49ccc3d3 Simplify post paging. Remove "posts paged" setting. We should always page. Add posts_nav_link() to the default template.
git-svn-id: https://develop.svn.wordpress.org/trunk@1500 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-29 03:34:08 +00:00
Ryan Boren
475e0b9e07 stripslashes() elimination. Remove extra slashes during upgrade. Bugs 0000059 and 0000018
git-svn-id: https://develop.svn.wordpress.org/trunk@1435 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-18 00:22:09 +00:00
Ryan Boren
1935f7c897 Add back the trailing slash to paged permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1395 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-08 17:48:21 +00:00
Ryan Boren
5e0bb09d82 posts_nav_link fixes. http://wordpress.org/support/6/6979
git-svn-id: https://develop.svn.wordpress.org/trunk@1391 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-07 04:41:06 +00:00
Ryan Boren
44d532c6e3 Rewrite and %category% fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1388 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-06 02:02:27 +00:00
Ryan Boren
fe680a36a0 Add %category% support to get_permalink.
git-svn-id: https://develop.svn.wordpress.org/trunk@1385 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-04 02:36:46 +00:00
Matt Mullenweg
2146da7f5c Added consistant trailing slash.
git-svn-id: https://develop.svn.wordpress.org/trunk@1384 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 21:43:18 +00:00
Matt Mullenweg
4530008ec8 Fix for strange slash nav errors for paged nice links, and validation fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1383 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:44:43 +00:00
Ryan Boren
640004f5ca Make /feed/ and /comments/feed work with path info. Introduce get_feed_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1382 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-02 07:14:03 +00:00
Ryan Boren
94732a5611 Revamp rewrite rule generation. Add clean page links. Credit to Jaykul for get_pagenum_link().
git-svn-id: https://develop.svn.wordpress.org/trunk@1373 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-31 17:22:25 +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
Matt Mullenweg
4ee5c8aefc This is used more than I thought in templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1305 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-18 08:36:53 +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
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
Matt Mullenweg
20cb408553 Allow WordPress installation URI and blog URI to be different.
git-svn-id: https://develop.svn.wordpress.org/trunk@1203 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 07:27:03 +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
bd619bb1da Added new template function, the_permalink(). echoes get_permalink. We are now consistent in the templates.
git-svn-id: https://develop.svn.wordpress.org/trunk@1112 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-21 04:12:55 +00:00
michelvaldrighi
90af6e10b8 gmt to localtime, and some time_difference fixes that had gone unnoticed
git-svn-id: https://develop.svn.wordpress.org/trunk@999 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-25 02:04:15 +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
9ee4a50db2 LIKE OMFG ARCHIVE LINKS R TEH FIX0R3D LOLOOLOL :)))) *glomp*
git-svn-id: https://develop.svn.wordpress.org/trunk@935 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-25 17:38:21 +00:00
michelvaldrighi
c0a1d15cbf more quotes replacements
git-svn-id: https://develop.svn.wordpress.org/trunk@896 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-20 01:53:41 +00:00
Matt Mullenweg
3cd0b08876 Broke up template-functions into several files to facilitate maintainance and change tracking.
git-svn-id: https://develop.svn.wordpress.org/trunk@801 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-27 09:58:01 +00:00