Theme activation updates 'stylesheet' option instead of 'template'

This commit is contained in:
QWp6t
2016-11-07 00:57:41 -08:00
parent 8c9ba0546b
commit fb19145d42
3 changed files with 10 additions and 14 deletions

View File

@@ -1,6 +1,3 @@
<?php
if (defined('ABSPATH')) {
update_option('template', get_option('template') . '/templates');
}
die("Kind Regards,\nRoots");
include __DIR__ . '/templates/index.php';