[wp-trac] [WordPress Trac] #11887: Thumbnail filename is damaged
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 13 23:42:51 UTC 2010
#11887: Thumbnail filename is damaged
--------------------------+-------------------------------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.9.3
Component: Media | Version: 2.9.1
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Changes (by bumbu):
* cc: bmbalex@… (added)
* keywords: => has-patch
Comment:
problem is in function basename()
if first letter of filename is non latin, then function will not take in
account those letters till it will get latin symbol.
http://bugs.php.net/bug.php?id=37268
in patch after each slash is added one letter, and after getting name of
file, this name letter is erased.
but I am not sure about universal use of this function, it may not work on
windows because of slash.
also in DB in table wp_postmeta the name of thumbnail is bad, but it still
work ok, I just can't find where to change title which goes to DB.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11887#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list