Commit Graph

101 Commits

Author SHA1 Message Date
Ryan Boren d4ba9cd960 Use SCRIPT_FILENAME instead of PATH_TRANSLATED since PATH_TRANSLATED is not always set. Consolidate home path logic into get_home_path().
git-svn-id: https://develop.svn.wordpress.org/trunk@1995 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-23 00:53:56 +00:00
Matt Mullenweg 0b4c37d9d3 More HTML error fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1938 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 06:31:01 +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 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 ed78ed9a2d Split admin-header.php into admin.php and admin-header.php. Split menu.php into menu-header.php and menu.php. Add plugin admin page support.
git-svn-id: https://develop.svn.wordpress.org/trunk@1818 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-19 03:03:06 +00:00
Ryan Boren 24cfab44c0 Use options-head
git-svn-id: https://develop.svn.wordpress.org/trunk@1811 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 04:52:02 +00:00
Ryan Boren 9e935d3f42 Do not stomp permalink setting. Bug 372.
git-svn-id: https://develop.svn.wordpress.org/trunk@1810 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-18 04:50:08 +00:00
Matt Mullenweg 53316541a9 Fix for bug 299.
git-svn-id: https://develop.svn.wordpress.org/trunk@1798 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-14 08:09:00 +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 de9329d95b Remove extra slashes from permalink structure.
git-svn-id: https://develop.svn.wordpress.org/trunk@1689 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 05:49:10 +00:00
Matt Mullenweg 3776531128 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1664 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 15:09:39 +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 0db135005b Eliminate use of DOCUMENT_ROOT. Look for .htaccess in 'home'.
git-svn-id: https://develop.svn.wordpress.org/trunk@1567 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-27 05:20:59 +00:00
Ryan Boren 88e5a124ff Document %category% and %author% in the permalink options.
git-svn-id: https://develop.svn.wordpress.org/trunk@1535 602fd350-edb4-49c9-b593-d223f7449a82
2004-08-14 17:36:32 +00:00
Ryan Boren 483dfd5388 Write rewrite rules to .htacces if .htaccess is writable. Create .htaccess if it does not exist and the directory is writable. Props to Owen Winkler.
git-svn-id: https://develop.svn.wordpress.org/trunk@1489 602fd350-edb4-49c9-b593-d223f7449a82
2004-07-27 23:37:45 +00:00
jverber cb8c5d6273 Fixes for bugs #0000088-90: fixed encoding of special chars.
git-svn-id: https://develop.svn.wordpress.org/trunk@1438 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 04:23:59 +00:00
Ryan Boren 0dfe8ffc7f Mark some strings for translation and improve string consistency. From Albert. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000024
git-svn-id: https://develop.svn.wordpress.org/trunk@1420 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-13 16:14:58 +00:00
jverber 7f63343b31 Fixed invalid XHTML in a number of admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1411 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 18:23:12 +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 d3d19e57c0 Allow people to modify and add on to rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@1350 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-23 16:27:59 +00:00
Matt Mullenweg 31cf5b8871 Some fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@1273 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-14 08:38:34 +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 4a58f4f523 Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
git-svn-id: https://develop.svn.wordpress.org/trunk@1244 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-09 02:52:27 +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 2802ac4409 Style the submit button on options group and add updated message to permalink page.
git-svn-id: https://develop.svn.wordpress.org/trunk@1198 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-28 04:56:29 +00:00
Ryan Boren 03b7d89693 Fix some grammatical and markup errors. From eke.
git-svn-id: https://develop.svn.wordpress.org/trunk@1168 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-25 17:35:13 +00:00
Ryan Boren 3cb43ab7ca Mark strings for translation.
git-svn-id: https://develop.svn.wordpress.org/trunk@1164 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-25 03:59:12 +00:00
Matt Mullenweg 4d02ea2817 Various cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1128 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-22 20:58:15 +00:00
Matt Mullenweg 166d3aab4c Two bug fixes from Josh - elsewhere.org.
git-svn-id: https://develop.svn.wordpress.org/trunk@1114 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-21 22:24:08 +00:00
Matt Mullenweg ec383fe439 Typo fixes sent in by Nick Romney.
git-svn-id: https://develop.svn.wordpress.org/trunk@1113 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-21 21:38:38 +00:00
Matt Mullenweg 94f0cf9181 Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: https://develop.svn.wordpress.org/trunk@1108 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-20 22:56:47 +00:00
Matt Mullenweg 637f6f3b8a Massive admin tweak commit. Improved consistency, numerous bug fixes, redesigned link forms, tweaked options more, left the ugly grey bar I didn't mean to add in the first place but tweaked it too.
git-svn-id: https://develop.svn.wordpress.org/trunk@1100 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-19 08:09:27 +00:00
Matt Mullenweg 733e06360c The great option REMIX.
git-svn-id: https://develop.svn.wordpress.org/trunk@1074 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-15 07:53:45 +00:00
Matt Mullenweg 25ebd64d7d More options work. Bug fixes for advanced_edit not being boolean type, clean up of options code and update feedback (still needs work there), first bit of miscellaneous screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@1058 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-11 08:15:10 +00:00
Matt Mullenweg f9c84d6edf More options improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@969 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-11 08:51:50 +00:00
Ryan Boren a95c8313cb More rewrite fixes. s/[0-9a-z_-]/[_0-9a-z-]/
git-svn-id: https://develop.svn.wordpress.org/trunk@965 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-09 03:55:01 +00:00
Ryan Boren 1bb133cd19 rewrite_rules() tweaks. Use rewrite_rules() in options-permalink.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@963 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-08 05:12:11 +00:00
Matt Mullenweg eb5dff6f00 Allow underscores in post_name
git-svn-id: https://develop.svn.wordpress.org/trunk@961 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-06 17:14:24 +00:00
Matt Mullenweg e64b754d4a Migration to get_settings and away from globals.
git-svn-id: https://develop.svn.wordpress.org/trunk@957 602fd350-edb4-49c9-b593-d223f7449a82
2004-03-01 19:55:45 +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
Ryan Boren eed4750e50 Add author_name query and author permalinks.
git-svn-id: https://develop.svn.wordpress.org/trunk@863 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-11 04:51:19 +00:00
Ryan Boren 6ebd3ca6c0 Clean feed and trackback URLs.
git-svn-id: https://develop.svn.wordpress.org/trunk@836 602fd350-edb4-49c9-b593-d223f7449a82
2004-02-05 20:55:50 +00:00
Matt Mullenweg 25c474992c Make category matching liberal in the mod_rewrite and then strip it in blog header, because we're going to need that for 1.1 anyway, people are having trouble with it moving from 1.0 -> 1.0.1, and the change isn't really needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@782 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-17 11:21:27 +00:00
Alex King b23213685c used 2 digit month for example
git-svn-id: https://develop.svn.wordpress.org/trunk@776 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-14 06:47:52 +00:00
Matt Mullenweg 1cd97c1ea5 Cleaned up wording for permalink template tags
git-svn-id: https://develop.svn.wordpress.org/trunk@753 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-12 00:55:14 +00:00
Alex King fefc13fc6a making the category links include the trailing slash
git-svn-id: https://develop.svn.wordpress.org/trunk@749 602fd350-edb4-49c9-b593-d223f7449a82
2004-01-10 01:46:27 +00:00
Dougal Campbell 0937ec283d Fixed %post_id% token handling. Fixed pingback link detection.
git-svn-id: https://develop.svn.wordpress.org/trunk@640 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-22 23:00:45 +00:00
Matt Mullenweg ccc413011a Renaming Reloaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@628 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-18 09:36:13 +00:00
Matt Mullenweg e8c100d0b6 Fix for siteurl problem.
git-svn-id: https://develop.svn.wordpress.org/trunk@613 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-15 08:13:41 +00:00
Matt Mullenweg 9c6a0a9403 The great renaming.
git-svn-id: https://develop.svn.wordpress.org/trunk@601 602fd350-edb4-49c9-b593-d223f7449a82
2003-12-11 00:22:36 +00:00