[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
Fri Jun 20 22:04:27 UTC 2014


#27951: When an attachment is edited by another user the sendback url doesn't  work
-------------------------------+-----------------------------
 Reporter:  knutsp             |       Owner:  wonderboymusic
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  4.0
Component:  Posts, Post Types  |     Version:  3.6
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch          |     Focuses:  administration
-------------------------------+-----------------------------

Comment (by DrewAPicture):

 Replying to [comment:9 kovshenin]:
 > In r28729, why are we checking the return value of wp_redirect()? It's
 always true unless it's filtered.

 I believe that's actually the point of checking -- otherwise we'd `exit`
 regardless of whether the filter returns true or false. See also [25453]
 for context.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27951#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list