进行了一些小优化
This commit is contained in:
@@ -36,8 +36,6 @@ final class AssetManager {
|
||||
'loading' => __('正在加载…', 'aksrt'),
|
||||
'error' => __('加载失败,请重试。', 'aksrt'),
|
||||
'retry' => __('重试', 'aksrt'),
|
||||
'pause' => __('暂停自动播放', 'aksrt'),
|
||||
'resume' => __('继续自动播放', 'aksrt'),
|
||||
],
|
||||
];
|
||||
wp_add_inline_script(self::SCRIPT_HANDLE, 'window.aksrtWidgets=' . wp_json_encode($config) . ';', 'before');
|
||||
|
||||
Reference in New Issue
Block a user