WordPress/wp-admin
Joe McGill 498040b809 Media: Use wp_basename() to create attachment titles from filenames.
In [38294], `pathinfo()` was used with the `PATHINFO_BASENAME` constant to
get the basename of the file to be used as an attachment title, which depends
on PHP locale and can cause issues with UTF-8 characters. This uses
`wp_basename()` instead, which is a more i18n-friendly version of `basename()`.

Props SergeyBiryukov.
Fixes #37608, #37989.
Built from https://develop.svn.wordpress.org/trunk@38673


git-svn-id: http://core.svn.wordpress.org/trunk@38616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-09-29 01:21:31 +00:00
..
css Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
images
includes Media: Use wp_basename() to create attachment titles from filenames. 2016-09-29 01:21:31 +00:00
js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
maint
network Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
user
about.php General: use get_bloginfo( 'version' ) instead of global $wp_version in several locations - excluding those locations which reload version.php mid-flight. 2016-08-31 05:49:37 +00:00
admin-ajax.php
admin-footer.php
admin-functions.php
admin-header.php General: use get_bloginfo( 'version' ) instead of global $wp_version in several locations - excluding those locations which reload version.php mid-flight. 2016-08-31 05:49:37 +00:00
admin-post.php
admin.php
async-upload.php
comment.php
credits.php General: use get_bloginfo( 'version' ) instead of global $wp_version in several locations - excluding those locations which reload version.php mid-flight. 2016-08-31 05:49:37 +00:00
custom-background.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
custom-header.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
customize.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
edit-comments.php Allow custom bulk actions in admin list tables. 2016-09-23 20:33:30 +00:00
edit-form-advanced.php General: revert [38467], wp_is_IE() should not exist. 2016-08-31 15:22:31 +00:00
edit-form-comment.php Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
edit-link-form.php
edit-tag-form.php Docs: Correct the description of {$taxonomy}_term_new_form_tag hook, making it more consistent with other *_form_tag hooks. 2016-09-20 13:33:29 +00:00
edit-tags.php Allow custom bulk actions in admin list tables. 2016-09-23 20:33:30 +00:00
edit.php Allow custom bulk actions in admin list tables. 2016-09-23 20:33:30 +00:00
export.php
freedoms.php General: use get_bloginfo( 'version' ) instead of global $wp_version in several locations - excluding those locations which reload version.php mid-flight. 2016-08-31 05:49:37 +00:00
import.php
index.php
install-helper.php
install.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
link-add.php
link-manager.php Allow custom bulk actions in admin list tables. 2016-09-23 20:33:30 +00:00
link-parse-opml.php Add @global annotations for wp-admin/*. 2015-05-28 21:41:30 +00:00
link.php
load-scripts.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
load-styles.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
media-new.php
media-upload.php
media.php
menu-header.php
menu.php
moderation.php
ms-admin.php
ms-delete-site.php Multisite: Show always domain and path when deleting a site. 2016-09-20 19:55:29 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Help/About: Remove an outdated help sentence on "My Sites" screen. 2016-08-31 17:44:29 +00:00
nav-menus.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
network.php
options-discussion.php
options-general.php Administration: Use a bool when when a bool is called for 2016-09-01 18:34:28 +00:00
options-head.php
options-media.php
options-permalink.php
options-reading.php
options-writing.php
options.php
plugin-editor.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
plugin-install.php
plugins.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
post-new.php
post.php
press-this.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
profile.php
revision.php
setup-config.php
term.php
theme-editor.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
theme-install.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
themes.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
tools.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
update-core.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
update.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
upgrade-functions.php
upgrade.php
upload.php Allow custom bulk actions in admin list tables. 2016-09-23 20:33:30 +00:00
user-edit.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
user-new.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00
users.php Text Changes: Unify two more permission error messages. 2016-09-28 00:17:28 +00:00
widgets.php Administration: Improve the usage of the button CSS classes. 2016-09-28 19:54:28 +00:00