[wp-trac] [WordPress Trac] #30123: Custom Mime Type filter problem in upload.php list view

WordPress Trac noreply at wordpress.org
Sun Nov 30 20:22:24 UTC 2014


#30123: Custom Mime Type filter problem in upload.php list view
--------------------------+-----------------------------
 Reporter:  csschris      |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  Media         |     Version:  4.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"30661"]:
 {{{
 #!CommitTicketReference repository="" revision="30661"
 Use `sanitize_mime_type()` instead of `urlencode()` when string-building
 `<option>` values in `->get_views()` for media list tables.

 `urlencode()` was introduced in [28553] via _duck and yours truly.

 Got weirder after [29625].

 Props birgire.
 Fixes #30123.
 }}}

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


More information about the wp-trac mailing list