[wp-trac] [WordPress Trac] #43227: Media uploaded to post should remove underscores and hyphens from text inserted into title attribute

WordPress Trac noreply at wordpress.org
Mon Feb 5 11:04:44 UTC 2018


#43227: Media uploaded to post should remove underscores and hyphens from text
inserted into title attribute
-------------------------+-----------------------------
 Reporter:  mrmadhat     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Media        |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 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".

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43227>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list