Commit Graph

99 Commits

Author SHA1 Message Date
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 04786f267d 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: http://svn.automattic.com/wordpress/trunk@1818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-19 03:03:06 +00:00
rboren 3bfe668183 Use options-head
git-svn-id: http://svn.automattic.com/wordpress/trunk@1811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 04:52:02 +00:00
rboren 4568e83625 Do not stomp permalink setting. Bug 372.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-18 04:50:08 +00:00
saxmatt 83253f757f Fix for bug 299.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-10-14 08:09:00 +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 884ebec4f5 Remove extra slashes from permalink structure.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-18 05:49:10 +00:00
saxmatt e8f22c65a2 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-09-15 15:09:39 +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 e8aa594ebd Eliminate use of DOCUMENT_ROOT. Look for .htaccess in 'home'.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-27 05:20:59 +00:00
rboren f3c3e4b218 Document %category% and %author% in the permalink options.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-08-14 17:36:32 +00:00
rboren a095fdaf84 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: http://svn.automattic.com/wordpress/trunk@1489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-07-27 23:37:45 +00:00
jverber 1464a3364f Fixes for bugs #0000088-90: fixed encoding of special chars.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-19 04:23:59 +00:00
rboren 25bdc0791c 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: http://svn.automattic.com/wordpress/trunk@1420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-13 16:14:58 +00:00
jverber e42967386c Fixed invalid XHTML in a number of admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-06-11 18:23:12 +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 a4d045fe5b Allow people to modify and add on to rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-23 16:27:59 +00:00
saxmatt 223c4628ce Some fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-14 08:38:34 +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 4915acfefd Fixes for silly category_base stuff. Now lets it be blank and acts accordingly, more sane.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-05-09 02:52:27 +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
saxmatt 4e4cb4e004 Allow WordPress installation URI and blog URI to be different.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 07:27:03 +00:00
saxmatt a77e7172dc Style the submit button on options group and add updated message to permalink page.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-28 04:56:29 +00:00
rboren 518f418a8b Fix some grammatical and markup errors. From eke.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 17:35:13 +00:00
rboren 162414332f Mark strings for translation.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-25 03:59:12 +00:00
saxmatt 6f66293c21 Various cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-22 20:58:15 +00:00
saxmatt 7372630aee Two bug fixes from Josh - elsewhere.org.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-21 22:24:08 +00:00
saxmatt dfc9cecfd2 Typo fixes sent in by Nick Romney.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-21 21:38:38 +00:00
saxmatt 10c6b7ea9c Changed to superglobals, and eliminated $use_cache (since we always do).
git-svn-id: http://svn.automattic.com/wordpress/trunk@1108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-20 22:56:47 +00:00
saxmatt 5cc3f8d3e1 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: http://svn.automattic.com/wordpress/trunk@1100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-19 08:09:27 +00:00
saxmatt 4f909d4cc5 The great option REMIX.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-15 07:53:45 +00:00
saxmatt 5a49a4d411 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: http://svn.automattic.com/wordpress/trunk@1058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-04-11 08:15:10 +00:00
saxmatt 75c8c3a72e More options improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-11 08:51:50 +00:00
rboren 87c74b9c6e More rewrite fixes. s/[0-9a-z_-]/[_0-9a-z-]/
git-svn-id: http://svn.automattic.com/wordpress/trunk@965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-09 03:55:01 +00:00
rboren 6f2c205b0b rewrite_rules() tweaks. Use rewrite_rules() in options-permalink.php.
git-svn-id: http://svn.automattic.com/wordpress/trunk@963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-08 05:12:11 +00:00
saxmatt 3762000999 Allow underscores in post_name
git-svn-id: http://svn.automattic.com/wordpress/trunk@961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-06 17:14:24 +00:00
saxmatt a0867db6ed Migration to get_settings and away from globals.
git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-03-01 19:55:45 +00:00
saxmatt 8927968849 Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.
git-svn-id: http://svn.automattic.com/wordpress/trunk@945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-26 16:15:48 +00:00
rboren ba712e9192 Add author_name query and author permalinks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-11 04:51:19 +00:00
rboren 6d55b3153a Clean feed and trackback URLs.
git-svn-id: http://svn.automattic.com/wordpress/trunk@836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-02-05 20:55:50 +00:00
saxmatt 2f325bc5c7 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: http://svn.automattic.com/wordpress/trunk@782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-17 11:21:27 +00:00
alex_t_king ef48463a7f used 2 digit month for example
git-svn-id: http://svn.automattic.com/wordpress/trunk@776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-14 06:47:52 +00:00
saxmatt 6bf26558ba Cleaned up wording for permalink template tags
git-svn-id: http://svn.automattic.com/wordpress/trunk@753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-12 00:55:14 +00:00
alex_t_king 25db37a7a1 making the category links include the trailing slash
git-svn-id: http://svn.automattic.com/wordpress/trunk@749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2004-01-10 01:46:27 +00:00
emc3 c8604702fc Fixed %post_id% token handling. Fixed pingback link detection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-22 23:00:45 +00:00
saxmatt 99a7358baf Renaming Reloaded.
git-svn-id: http://svn.automattic.com/wordpress/trunk@628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-18 09:36:13 +00:00
saxmatt 39e68a7a6f Fix for siteurl problem.
git-svn-id: http://svn.automattic.com/wordpress/trunk@613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-15 08:13:41 +00:00
saxmatt 43e4a8a930 The great renaming.
git-svn-id: http://svn.automattic.com/wordpress/trunk@601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-12-11 00:22:36 +00:00