[wp-trac] [WordPress Trac] #7568: certain binary files(.ttf) broken
on plugin upgrade
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 22 04:03:06 GMT 2008
#7568: certain binary files(.ttf) broken on plugin upgrade
----------------------------+-----------------------------------------------
Reporter: DD32 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.7
Component: Administration | Version: 2.6
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
As reported by Viper007Bond on IRC:
When upgrading a plugin which contains font files, the files get
transfered via ASCII instead of BINARY mode, The result is unuseable
fonts, which causes the plugin to break.
A example plugin of this is cForms.
The attached patch sets .ttf files to be transfered in binary mode
Future Note: It might be good for the filetypes not to be hardcoded, and
the ftp process determine if its a Binary or text file before defaulting
to one or the other.
--
Ticket URL: <http://trac.wordpress.org/ticket/7568>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list