Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Hyphens no longer removed from default asset titles #4011
It used to be (unless I'm going crazy) that the default title for an uploaded asset would have any hyphens changed to spaces. So the file "this-is-a-photo.jpeg" would be given the default title "This is a photo". Recently, that seems to have been changed, so now you would end up with "This-is-a-photo".....significantly less nice, imho.
return StringHelper::upperCaseFirst(implode(' ', StringHelper::toWords($filename, false, true)));
Or maybe this was an intentional change, but it leads to a lot of junk-looking image titles in e.g. Google Image Search results.