diff --git a/wp-admin/options-permalink.php b/wp-admin/options-permalink.php index 9ca7c5c01d..42b90dc22c 100644 --- a/wp-admin/options-permalink.php +++ b/wp-admin/options-permalink.php @@ -2,23 +2,6 @@ $title = 'Permalink Options'; $parent_file = 'options-general.php'; -function add_magic_quotes($array) { - foreach ($array as $k => $v) { - if (is_array($v)) { - $array[$k] = add_magic_quotes($v); - } else { - $array[$k] = addslashes($v); - } - } - return $array; -} - -if (!get_magic_quotes_gpc()) { - $_GET = add_magic_quotes($_GET); - $_POST = add_magic_quotes($_POST); - $_COOKIE = add_magic_quotes($_COOKIE); -} - $wpvarstoreset = array('action','standalone', 'option_group_id'); for ($i=0; $i

Edit Permalink Structure

@@ -62,7 +45,7 @@ default:
  • %year% --- The year of the post, 4 digits, for example 2004
  • %monthnum% --- Month of the year, for example 05
  • %day% --- Day of the month, for example 28
  • -
  • %postname% --- A sanitized version of the title of the post. So "This Is A Great Post!" becomes "this-is-a-great-post" in the URI
  • +
  • %postname% --- A sanitized version of the title of the post. So “This Is A Great Post!” becomes “this-is-a-great-post” in the URI
  • %post_id% --- The unique ID # of the post, for example 423
  • So for example a value like:

    @@ -75,10 +58,10 @@ default:

    Use the template tags above to create a virtual site structure:

    - +

    - +

    \n"; break; } -include("admin-footer.php") +require('./admin-footer.php'); ?> \ No newline at end of file