Add 'image' type/extensions to wp_ext2type() and make it case insensitive
|Reported by:||xparham||Owned by:||ocean90|
Well, I know that you can add any type check to wp_ext2type() with ext2type filter, but why it does not support image type by default?
On the other note, I think this function should be case insensitive when it searches for the extension in type arrays.
Please find a patch attached.
Change History (7)
- Owner set to ocean90
- Resolution set to fixed
- Status changed from new to closed