WordPress.org

Make WordPress Core

Opened 4 months ago

#43227 new enhancement

Media uploaded to post should remove underscores and hyphens from text inserted into title attribute

Reported by: mrmadhat Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:

Description

When adding a new image into a post my file name will typically be called something like:

descriptive-name-of-image.jpg

Once this image is uploaded wp will automatically set the title and will default to the name of the image "descriptive-name-of-image" if no title meta data is available in the image.

I think a better default action would be to replace the hyphens/underscores with spaces and possibly capitalising the first letter making the title "Descriptive name of image".

Change History (0)

Note: See TracTickets for help on using tickets.