Issues in 0.5.1
-
I am having lots of issues in 0.5.1 not working
wp-content/plugins/guild-armory-roster/WoWArmoryTable.php:295
$lang is undefinedwp-content/plugins/guild-armory-roster/WoWArmoryTable.php:364
lang is hard coded to de_DEwp-content/plugins/guild-armory-roster/WoWArmoryTable.php:395
$guild is not usedwp-content/plugins/guild-armory-roster/WoWArmoryTable.php:408
$members could be null, need a check before you try foreach on itwp-content/plugins/guild-armory-roster/WoWArmoryTable.php:463
$raids could be nullwp-content/plugins/guild-armory-roster/WoWArmoryTable.php:468
$bosses could be null
$boss is not usedwp-content/plugins/guild-armory-roster/WoWArmoryTable.php:493
$args is not usedLastly, and I can tell this is leftover from the older version
Class methods should be declared with an access modifierI suggest making a method like this
function getLang($lang) { return empty($lang) ? get_locale() : $lang; }
and using $this->getLang() or $this->getLang($lang) whenever you need the language string
- The topic ‘Issues in 0.5.1’ is closed to new replies.