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.

Built from https://develop.svn.wordpress.org/trunk@30661


git-svn-id: http://core.svn.wordpress.org/trunk@30651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor
2014-11-30 20:23:23 +00:00
parent ce05e4932f
commit 562ddb8316
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.1-beta2-30660';
$wp_version = '4.1-beta2-30661';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.