[wp-trac] [WordPress Trac] #27951: When an attachment is edited by another user the sendback url doesn't work
WordPress Trac
noreply at wordpress.org
Thu Apr 24 18:28:47 UTC 2014
#27951: When an attachment is edited by another user the sendback url doesn't work
--------------------------------------+-----------------------------
Reporter: knutsp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version: 3.6
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback | Focuses: administration
--------------------------------------+-----------------------------
Comment (by DrewAPicture):
Replying to [comment:4 knutsp]:
> Replying to [comment:2 johnbillion]:
> > Related: `edit.php?post_type=attachment` should probably redirect to
`upload.php`.
>
> I agree with this approach. I'm not sure how to patch it this way, so
help needed.
Hi knutsp. I'd suggest taking a look at the redirect logic for the
'attachment' post type in
[https://core.trac.wordpress.org/browser/trunk/src/wp-admin/post-
new.php#L21 post-new.php]. You should be able to handle it in basically
the same way in edit.php.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27951#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list