[wp-trac] [WordPress Trac] #22003: Saving custom fields goes to post-new.php rather than post.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 26 16:23:17 UTC 2012
#22003: Saving custom fields goes to post-new.php rather than post.php
---------------------------+-----------------------
Reporter: curiousdannii | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
---------------------------+-----------------------
Changes (by curiousdannii):
* status: closed => reopened
* resolution: duplicate =>
Comment:
I don't believe this is a duplicate of those... it looks to me like the
bug is in wp-admin/post.php:
{{{
} elseif ( isset($_POST['addmeta']) && $_POST['addmeta'] ) {
$location = add_query_arg( 'message', 2, wp_get_referer()
);
}}}
If I'm reading this code correctly then it just gets the referrer and
sends the user back to post-new.php.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22003#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list