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/post.php

    r6807 r6816  
    127127        $referer = preg_replace('|https?://[^/]+|i', '', wp_get_referer());
    128128
    129         if ($_POST['addemeta']) {
     129        if ($_POST['addmeta']) {
    130130            $location = add_query_arg( 'message', 2, wp_get_referer() );
    131131            $location = explode('#', $location);
Note: See TracChangeset for help on using the changeset viewer.