[wp-trac] [WordPress Trac] #25010: filter options no longer accept HTML text, e.g.,   in media-views.js

WordPress Trac noreply at wordpress.org
Thu Mar 13 03:18:43 UTC 2014


#25010: filter options no longer accept HTML text, e.g.,   in media-views.js
-------------------------------------------------+-------------------------
 Reporter:  dglingren                            |       Owner:
     Type:  defect (bug)                         |  wonderboymusic
 Priority:  normal                               |      Status:  closed
Component:  Media                                |   Milestone:  3.9
 Severity:  normal                               |     Version:  3.6
 Keywords:  has-patch dev-feedback needs-        |  Resolution:  fixed
  testing                                        |     Focuses:  javascript
-------------------------------------------------+-------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"27518"]:
 {{{
 #!CommitTicketReference repository="" revision="27518"
 In `wp.media.view.AttachmentFilters`, when creating its inner HTML
 content, pass `filter.text` via `.html( str )` instead of `.text( str )`
 to allow more formatting options.

 Props tlovett1.
 Fixes #25010.
 }}}

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


More information about the wp-trac mailing list