mirror of
git://develop.git.wordpress.org/
synced 2025-04-14 17:12:13 +02:00
Handle `$preferred_ext` arguments that are passed with minor errors in formatting, such as incorrect casing or missing `.`. Add unit tests to verify that an omitted period on an otherwise correct extension is accepted. Follow up to [57687]. Props sabernhardt, joedolson, khokansardar. Fixes #60610. git-svn-id: https://develop.svn.wordpress.org/trunk@58248 602fd350-edb4-49c9-b593-d223f7449a82