Update wordpress.class.php

Converting from MySQL to MySQLi
Merge pull request #9 from juergenhecht/patch-1

Update wordpress.class.php