Add wfUnserialize() wrapper around unserialize to prevent E_NOTICE and use it in...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 29 Jun 2011 20:24:53 +0000 (20:24 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 29 Jun 2011 20:24:53 +0000 (20:24 +0000)
commitc87574b7b443fdbff9fdb2b2af2918bf7b33febf
treebf39d57e4e616509a88b54f5ce189a5dea699d9b
parent571916b64dea5419296b2052ab92737d7d5ebf25
Add wfUnserialize() wrapper around unserialize to prevent E_NOTICE and use it in ExifBitmap.php. There are probably many more places that could use this. This should fix Platonides' problem at r90421, but also added a check for $wgShowExif to prevent the test from failing.
includes/GlobalFunctions.php
includes/media/ExifBitmap.php
tests/phpunit/includes/GlobalFunctions.php/GlobalTest.php
tests/phpunit/includes/media/FormatMetadataTest.php