Skip to content

Commit fe052e0

Browse files
committed
fix:fixed theme auto update error
1 parent 288eee7 commit fe052e0

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# WordPress Theme Puma
22

3+
![](https://static.fatesinger.com/2025/01/10eb5gy4cj9fvxag.png)
4+
35
[中文版本](https://github.com/bigfa/Puma/blob/master/README_CN.md)
46

57
Puma is clean, unique and minimal content focus Blogging Theme perfect for bloggers. It is responsive means it will fit in various device of different size. It supports all type of post format. It is simple and it’s elegant.Theme options are directly incorporated with WordPress customizer itself.Sylva is suitable for any kind of personal or travel, hobby, tutorial blog.
@@ -21,7 +23,6 @@ Installing and customizing this theme is very easy. All required information are
2123

2224
## Installation
2325

24-
- Update your WordPress to 4.4 or later.
2526
- Download the zip file from the rep.
2627
- upload the zip file from the dashboad then active.
2728

@@ -50,6 +51,10 @@ If you want to show gravatar in link template,add email in the note blank when y
5051

5152
## Update logs
5253

54+
### 5.0.1
55+
56+
- fixed theme auto update error
57+
5358
### 5.0.0
5459

5560
- rebuild

README_CN.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# WordPress 主题 Puma
22

3+
![](https://static.fatesinger.com/2025/01/10eb5gy4cj9fvxag.png)
4+
35
[English Version](https://github.com/bigfa/Puma/blob/master/README.md)
46

57
Puma 是一款简洁的主题,非常适合个人博客。响应式的设计意味着兼容各种设备。同时有多种文章格式。
@@ -21,7 +23,6 @@ Puma 是一款简洁的主题,非常适合个人博客。响应式的设计意
2123

2224
## 安装
2325

24-
- 升级 WordPress 到 4.4 及以上版本
2526
- 下载 zip 文件
2627
- 后台上传安装即可
2728

@@ -50,6 +51,10 @@ Puma 是一款简洁的主题,非常适合个人博客。响应式的设计意
5051

5152
## 更新日志
5253

54+
### 5.0.1
55+
56+
- 修复主题自动更新错误的问题
57+
5358
### 5.0.0
5459

5560
- 重制

functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
define('PUMA_POST_LIKE_KEY', '_postlike');
55
define('PUMA_POST_VIEW_KEY', 'views');
66
define('PUMA_ARCHIVE_VIEW_KEY', 'views');
7+
require get_template_directory() . '/inc/setting.php';
78

89
/**
910
* Functional Package additions.
@@ -23,7 +24,6 @@
2324
* Theme setting additions.
2425
*/
2526

26-
require get_template_directory() . '/inc/setting.php';
2727
require get_template_directory() . '/inc/base.php';
2828
require get_template_directory() . '/inc/comment.php';
2929

style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: https://fatesinger.com/76733
44
Author: bigfa
55
Author URI: https://github.com/bigfa
66
Description: A single column theme.
7-
Version: 5.0.0
7+
Version: 5.0.1
88
License: GNU General Public License v2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

0 commit comments

Comments
 (0)