Two bug fixes from Josh - elsewhere.org.
git-svn-id: https://develop.svn.wordpress.org/trunk@1114 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ec383fe439
commit
166d3aab4c
|
@ -37,7 +37,7 @@ for ($i=0; $i<count($wpvarstoreset); $i += 1) {
|
|||
|
||||
require_once('optionhandler.php');
|
||||
|
||||
if ($_POST['Submit'] == 'Update') {
|
||||
if ($_POST['Submit']) {
|
||||
update_option('permalink_structure', $_POST['permalink_structure']);
|
||||
$permalink_structure = $_POST['permalink_structure'];
|
||||
} else {
|
||||
|
@ -91,7 +91,7 @@ $site_root = preg_replace('|([^/]*)(.*)|i', '$2', $site_root);
|
|||
if ('/' != substr($site_root, -1)) $site_root = $site_root . '/';
|
||||
|
||||
?>
|
||||
<form action"">
|
||||
<form action="">
|
||||
<p>
|
||||
<textarea rows="5" style="width: 100%;">RewriteEngine On
|
||||
RewriteBase <?php echo $site_root; ?>
|
||||
|
|
Loading…
Reference in New Issue