refactor:去除Loco Translate的顶部帮助信息

This commit is contained in:
sunxiyuan 2020-07-16 14:41:13 +08:00
parent 6b35388665
commit 7bf3737cd6

View file

@ -45,6 +45,7 @@ abstract class Loco_mvc_AdminController extends Loco_mvc_Controller {
}
// add contextual help tabs to current screen if there are any
/*
if( $screen = get_current_screen() ){
try {
$this->view->cd('/admin/help');
@ -66,6 +67,7 @@ abstract class Loco_mvc_AdminController extends Loco_mvc_Controller {
Loco_error_AdminNotices::add( $e );
}
}
*/
// helper properties for loading static resources
$this->baseurl = plugins_url( '', loco_plugin_self() );