From 9d42ec4ee5db0437e9ad14b793f044fa0f5de8fe Mon Sep 17 00:00:00 2001 From: donncha Date: Wed, 7 Jun 2006 14:28:14 +0000 Subject: WP Merge and new features git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@550 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-inst/wp-admin/options-permalink.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'wp-inst/wp-admin/options-permalink.php') diff --git a/wp-inst/wp-admin/options-permalink.php b/wp-inst/wp-admin/options-permalink.php index ab63433..180a43a 100644 --- a/wp-inst/wp-admin/options-permalink.php +++ b/wp-inst/wp-admin/options-permalink.php @@ -58,7 +58,9 @@ include('admin-header.php'); $home_path = get_home_path(); -if ( isset($_POST) ) { +if ( isset($_POST['permalink_structure']) || isset($_POST['category_base']) ) { + check_admin_referer('update-permalink'); + if ( isset($_POST['permalink_structure']) ) { $permalink_structure = $_POST['permalink_structure']; if (! empty($permalink_structure) ) @@ -116,6 +118,7 @@ $structures = array( ); ?>
+

.htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.') ?>

+

-- cgit