diff options
author | Adam Silverstein <adamsilverstein@git.wordpress.org> | 2024-06-20 16:02:10 +0000 |
---|---|---|
committer | Adam Silverstein <adamsilverstein@git.wordpress.org> | 2024-06-20 16:02:10 +0000 |
commit | 2358de1767168232ff0e7c17e550b8a99f96002e (patch) | |
tree | 1f7c1c07d3ad3a484efbce383eaa279d726d46e2 /src/js/_enqueues/admin/common.js | |
parent | 3bb533ae10af686f429af2b932b7fb93fa616f86 (diff) | |
download | wordpress-2358de1767168232ff0e7c17e550b8a99f96002e.tar.gz wordpress-2358de1767168232ff0e7c17e550b8a99f96002e.zip |
Media: improve titles when inserting via REST API.
Match the naming behavior for uploaded media in the REST API to the way media is named when uploading in the media library. Fix an issue where dashes were replacing spaces unnecessarily.
Props abitofmind, kadamwhite, spacedmonkey, adamsilverstein, audrasjb, hellofromTonya.
Fixes #57957.
git-svn-id: https://develop.svn.wordpress.org/trunk@58447 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/admin/common.js')
0 files changed, 0 insertions, 0 deletions