From 7bf3737cd641f7381981aaeac6461e08f1f37f45 Mon Sep 17 00:00:00 2001 From: sunxiyuan Date: Thu, 16 Jul 2020 14:41:13 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=8E=BB=E9=99=A4Loco=20Translate?= =?UTF-8?q?=E7=9A=84=E9=A1=B6=E9=83=A8=E5=B8=AE=E5=8A=A9=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/loco-translate/src/mvc/AdminController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/loco-translate/src/mvc/AdminController.php b/vendor/loco-translate/src/mvc/AdminController.php index 1e81d7f..2e29dde 100644 --- a/vendor/loco-translate/src/mvc/AdminController.php +++ b/vendor/loco-translate/src/mvc/AdminController.php @@ -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() );