refactor:去除Loco Translate的底部版权声明,未来会在其他地方注明

This commit is contained in:
sunxiyuan 2020-07-16 14:32:10 +08:00
parent a86c806880
commit e1821167ac

View file

@ -113,7 +113,8 @@ abstract class Loco_mvc_AdminController extends Loco_mvc_Controller {
*/
public function filter_admin_footer_text(){
$url = apply_filters('loco_external', 'https://localise.biz/');
return '<span id="loco-credit">'.sprintf( '<span>%s</span> <a href="%s" target="_blank">Loco</a>', esc_html(__('Loco Translate is powered by','loco-translate')), esc_url($url) ).'</span>';
// return '<span id="loco-credit">'.sprintf( '<span>%s</span> <a href="%s" target="_blank">Loco</a>', esc_html(__('Loco Translate is powered by','loco-translate')), esc_url($url) ).'</span>';
return '';
}