[wp-trac] [WordPress Trac] #23879: Media post formats look at attachments before content, resulting in duplication

WordPress Trac noreply at wordpress.org
Thu Mar 28 07:28:28 UTC 2013


#23879: Media post formats look at attachments before content, resulting in
duplication
--------------------------+--------------------------
 Reporter:  markjaquith   |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  3.6
Component:  Post Formats  |     Version:  trunk
 Severity:  major         |  Resolution:  fixed
 Keywords:                |
--------------------------+--------------------------
Changes (by markjaquith):

 * owner:   => markjaquith
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23840"]:
 {{{
 #!CommitTicketReference repository="" revision="23840"
 Move the "look for the first media attachment" code below the "look
 in the post content for media" code, so that it is the method of last
 resort. This way, if you attach AND embed media, you won't get
 duplication.

 fixes #23879
 }}}

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


More information about the wp-trac mailing list