У меня была такая же проблема с сайтом страниц GitHub (с Jekyll). Поиск по часам, почему приложение AngularJS не появилось (ng-cloak
никогда не разрешалось). Выяснилось, что это Batarang, который вызывает проблему.
Я исправил проблему. Я переместил jquery из Features-script.php в Features.php
, так что теперь Features.php выглядит следующим образом
if(!defined("ABSPATH")){
exit;
}
// load scripts
require_once(plugin_dir_path(__File__)."includes/Features-scripts.php");
// load class
require_once(plugin_dir_path(__File__)."includes/Features-class.php");
//register widget
function register_Features(){
register_widget("Features");
wp_register_script( 'jquery_Features',"https://code.jquery.com/jquery-3.3.1.js");
wp_enqueue_script('jquery_Features');
}
// hook in function
add_action("widgets_init","register_Features");