Make WordPress Core


Ignore:
Timestamp:
02/13/2008 06:10:41 PM (17 years ago)
Author:
ryan
Message:

Fix add custom field redirects. Props pishmishy. fixes #2788

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/page.php

    r6770 r6816  
    111111        if ($_POST['save']) {
    112112            $location = "page.php?action=edit&post=$page_ID";
    113         } elseif ($_POST['addemeta']) {
     113        } elseif ($_POST['addmeta']) {
    114114            $location = add_query_arg( 'message', 2, wp_get_referer() );
    115115            $location = explode('#', $location);
Note: See TracChangeset for help on using the changeset viewer.