mirror of
https://github.com/WenPai-org/wp-china-yes.git
synced 2025-08-07 14:35:20 +08:00
refactor:去除Loco Translate的顶部帮助信息
This commit is contained in:
parent
6b35388665
commit
7bf3737cd6
1 changed files with 2 additions and 0 deletions
|
@ -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() );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue