revert part of 7474f78
and fix the order
to prevent wp themes engine yes to be included to array $templates References #1657474f78
38204c4
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user