revert part of 7474f78 and fix the order

to prevent wp themes engine yes to be included to array $templates
References #165 7474f78 38204c4
This commit is contained in:
Ian 2014-05-21 15:46:15 +02:00
parent 99d354224e
commit ac1d4a7076

View File

@ -175,6 +175,10 @@ ksort($stack);
foreach ($stack as $theme => $info) { foreach ($stack as $theme => $info) {
/* Sorry, but we don't display engines */
if ( strtolower($info['engine']) == 'yes') {
continue;
}
$data['templates'][$theme]['info'] = $info; $data['templates'][$theme]['info'] = $info;
foreach(array('', '_backend') as $backendId) { foreach(array('', '_backend') as $backendId) {