mirror of https://github.com/vtrois/kratos
fix: child theme pic url (#395)
parent
138fa9c137
commit
e6929e2d7b
|
@ -3,7 +3,7 @@
|
||||||
* 核心函数
|
* 核心函数
|
||||||
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
* @author Seaton Jiang <seatonjiang@vtrois.com>
|
||||||
* @license MIT License
|
* @license MIT License
|
||||||
* @version 2021.06.25
|
* @version 2021.07.01
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (kratos_option('g_cdn', false)) {
|
if (kratos_option('g_cdn', false)) {
|
||||||
|
@ -84,7 +84,7 @@ function theme_autoload()
|
||||||
|
|
||||||
$data = array(
|
$data = array(
|
||||||
'site' => home_url(),
|
'site' => home_url(),
|
||||||
'directory' => get_stylesheet_directory_uri(),
|
'directory' => ASSET_PATH,
|
||||||
'alipay' => kratos_option('g_donate_alipay', ASSET_PATH . '/assets/img/donate.png'),
|
'alipay' => kratos_option('g_donate_alipay', ASSET_PATH . '/assets/img/donate.png'),
|
||||||
'wechat' => kratos_option('g_donate_wechat', ASSET_PATH . '/assets/img/donate.png'),
|
'wechat' => kratos_option('g_donate_wechat', ASSET_PATH . '/assets/img/donate.png'),
|
||||||
'repeat' => __('您已经赞过了', 'kratos'),
|
'repeat' => __('您已经赞过了', 'kratos'),
|
||||||
|
|
Loading…
Reference in New Issue