}
- /*
+ /*echo 1;
* Check if this is a second call to the activation hook by WordPress to activate this plugin.
*
* (Yea, I know that's stupid behavior, but there's nothing I can do about it.)
if (isset($gitParts[2])) {
$gitBranch[$a['slug']]['branch'] = $gitParts[2];
}
-
+ echo 1;
// [3] should be name of feature
if (isset($gitParts[3])) {
$gitBranch[$a['slug']]['feature'] = $gitParts[3];
if (!is_array($configTable) || count($configTable) == 0) {
return false;
}
-echo 1;
+
// Build base array
$conf = array();
foreach ($configTable as $key=>$descr) {
'selected' => false
);
}
-echo 2;
+
// If name->number array add that data
if (is_array($configNumbTable) && count($configNumbTable) > 0) {
foreach ($configNumbTable as $name=>$key) {
}
}
}
-echo 3;
+
return $conf;
}