template-functions-post.php uses array_fill
|Reported by:||gbhugo||Owned by:||ryan|
array_fill is only available up from PHP 4.2 and so this doesn't work with 4.1.2 that is in Debian stable. And the use of array_fill in that special case is actually rather silly: it's only used as an overcomplicated use of str_repeat. The patch changes from array_fill to str_repeat and so makes this work with 4.1.2 again.
Change History (4)
- category changed from Administration to Template
- Patch changed from No to Yes
- Status changed from new to assigned