graulund / tweetnest

NO LONGER MAINTAINED. MESSAGE ME IF YOU WANT TO MAINTAIN THIS. :) A browsable, searchable and easily customizable archive and backup for your tweets
MIT License
492 stars 93 forks source link

Replaced deprecated preg_replace /e flag with preg_replace_callback #63

Closed Tenzer closed 10 years ago

Tenzer commented 10 years ago

I finally got around to look into the bug warning messages I mentioned in #59. This commit fixes it by replacing the preg_replace() calls with preg_replace_callback() which is the recommended way, according to the documentation: http://php.net/manual/en/reference.pcre.pattern.modifiers.php#reference.pcre.pattern.modifiers.eval

graulund commented 10 years ago

Merged. Thanks man!