[wp-trac] Re: [WordPress Trac] #7568: certain binary files(.ttf)
broken on plugin upgrade
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 14 12:11:39 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 | Resolution:
Keywords: needs-patch |
----------------------------+-----------------------------------------------
Changes (by DD32):
* keywords: has-patch => needs-patch
Comment:
Also affected: .swf files
something like this:
{{{
$binary = (bool)preg_match('<charcode | >charcode', $filedata)
}}}
should be useable to replace that array, wrapped in is_binary_string() or
something similar?
Need to check how that'll handle utf8 strings
Changing to needs-patch as the patch is really a short-term solution,
something better needs to be implented
--
Ticket URL: <http://trac.wordpress.org/ticket/7568#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list