mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Default textdomain loading cleanup. Fix for bug 230.
git-svn-id: https://develop.svn.wordpress.org/trunk@1817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -115,6 +115,9 @@ class gettext_reader {
|
||||
$meta = $this->ORIGINALS[$num];
|
||||
$length = $meta[0];
|
||||
$offset = $meta[1];
|
||||
if (! $length) {
|
||||
return '';
|
||||
}
|
||||
$this->STREAM->seekto($offset);
|
||||
$data = $this->STREAM->read($length);
|
||||
return (string)$data;
|
||||
|
||||
Reference in New Issue
Block a user