Media: Replace basename() usage on media upload screen with wp_basename() for better multibyte filenames support.

Includes minor code layout fixes for better readability.

Follow-up to [44785], [51023].

See #51754.

git-svn-id: https://develop.svn.wordpress.org/trunk@51030 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-05-26 14:23:11 +00:00
parent 41513c2d0f
commit d7f99f31e6
3 changed files with 23 additions and 16 deletions
+2 -2
View File
@@ -138,11 +138,11 @@
}
.media-item button .copy-attachment-url {
margin-top:14px;
margin-top: 14px;
}
.media-item .copy-to-clipboard-container {
margin-top:7px;
margin-top: 7px;
}
.media-item .describe-toggle-off,