[wp-trac] [WordPress Trac] #57957: Media title falsely has kebab case when inserted via REST API (e.g. in Block Editor)
WordPress Trac
noreply at wordpress.org
Thu Jun 20 16:02:26 UTC 2024
#57957: Media title falsely has kebab case when inserted via REST API (e.g. in
Block Editor)
-------------------------------------------------+-------------------------
Reporter: abitofmind | Owner:
| adamsilverstein
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.6
Component: REST API | Version: 6.1.1
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests reporter- | Focuses: rest-api
feedback commit |
-------------------------------------------------+-------------------------
Changes (by adamsilverstein):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58447" 58447]:
{{{
#!CommitTicketReference repository="" revision="58447"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57957#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list