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:
parent
99d354224e
commit
ac1d4a7076
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user