Make WordPress Core


Ignore:
Timestamp:
05/09/2004 05:47:02 AM (22 years ago)
Author:
saxmatt
Message:

Various fixes and cleanups, inspired and pointed out by Joseph Scott.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-permalink.php

    r1244 r1245  
    2323require_once('./optionhandler.php');
    2424
    25 if ($_POST['submit']) {
     25if (isset($_POST['submit'])) {
    2626    update_option('permalink_structure', $_POST['permalink_structure']);
    2727    $permalink_structure = $_POST['permalink_structure'];
     
    4242    require('./options-head.php');
    4343?>
    44 <?php if ($_POST['submit']) : ?>
     44<?php if (isset($_POST['submit'])) : ?>
    4545<div class="updated"><p><?php _e('Permalink structure updated.'); ?></p></div>
    4646<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.