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
This commit is contained in:
Matt Mullenweg
2004-05-09 05:47:02 +00:00
parent 4a58f4f523
commit 7f1cdc843e
11 changed files with 33 additions and 53 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ for ($i=0; $i<count($wpvarstoreset); $i += 1) {
require_once('./optionhandler.php');
if ($_POST['submit']) {
if (isset($_POST['submit'])) {
update_option('permalink_structure', $_POST['permalink_structure']);
$permalink_structure = $_POST['permalink_structure'];
@@ -41,7 +41,7 @@ if ($_POST['submit']) {
}
require('./options-head.php');
?>
<?php if ($_POST['submit']) : ?>
<?php if (isset($_POST['submit'])) : ?>
<div class="updated"><p><?php _e('Permalink structure updated.'); ?></p></div>
<?php endif; ?>
<div class="wrap">