[wp-trac] [WordPress Trac] #22085: Correctly assign post_parent to uploaded attachments in the new media modal

WordPress Trac noreply at wordpress.org
Mon Nov 26 22:03:39 UTC 2012


#22085: Correctly assign post_parent to uploaded attachments in the new media modal
------------------------------+---------------------
 Reporter:  koopersmith       |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.5
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by ryan):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"22846"]:
 {{{
 #!CommitTicketReference repository="" revision="22846"
 In media_buttons(), consult global post_ID if get_post() comes up with
 nothing.
 Default postID to 0 in wp_enqueue_media().

 Props nacin
 fixes #22085
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22085#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list