Skip to content

Commit

Permalink
Update to v5.0-RC1
Browse files Browse the repository at this point in the history
Update to v5.0-RC1
  • Loading branch information
michaelliunsky committed Feb 9, 2024
1 parent 3e88df6 commit 1d9afe6
Show file tree
Hide file tree
Showing 25 changed files with 19 additions and 20 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ typecho 版本 : [github.com/michaelliunsky/typecho-theme-niRvana](https://githu

# 安装

环境要求:**PHP8.2 兼容最佳**
环境要求:**PHP8.3 兼容最佳**

[Release](https://github.com/michaelliunsky/niRvana-theme/releases) 页面下载 .zip 文件,在 WordPress 后台 "主题" 页面上传并安装。

Expand All @@ -53,6 +53,14 @@ niRvana 使用 [GPL V3.0](https://github.com/michaelliunsky/niRvana-theme/blob/m

# 更新日志

## 20240209 v5.0RC1 **更新后需要将所有已经存在的页面进入编辑器点一下更新,否则无法访问页面。**

- **题外话****在除夕夜发布的 RC 版本预示着 v5.0 开发迈入新台阶。祝各位龙行龘龘,前程朤朤。龙年快乐!**
- **删除**:自动添加页面 HTML 后缀功能。**注意**因此导致**更新后需要将所有已经存在的页面进入编辑器点一下更新,否则无法访问页面。**
- **性能优化**:更改了 Gravatar 为更快镜像源
- **更新**:fontawesome 版本
- **更新****全新适配 PHP8.3**

## 20231022 v5.0beta14

- **性能优化**:更改了 Gravatar 为更快镜像源
Expand Down
2 changes: 1 addition & 1 deletion README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Typecho version: [github.com/michaelliunsky/typecho-theme-niRvana](https://githu

# Install

Environment requirements: **PHP8.2 compatible best**
Environment requirements: **PHP8.3 compatible best**

In [Release](https://github.com/michaelliunsky/niRvana-theme/releases) page download. Zip file, upload and install the WordPress backend "theme" page.

Expand Down
2 changes: 1 addition & 1 deletion README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ niRvana · Легкая реплика темы WordPress

# Установить

Требования к среде: **Совместимость с PHP8.2 лучше всего**
Требования к среде: **Совместимость с PHP8.3 лучше всего**

На странице загрузки [Релиз](https://github.com/michaelliunsky/niRvana-theme/releases). Заархивируйте файл, загрузите и установите страницу «темы» серверной части WordPress.

Expand Down
2 changes: 1 addition & 1 deletion README_tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ typecho 版本 : [github.com/michaelliunsky/typecho-theme-niRvana](https://githu

# 安裝

環境要求:**PHP8.2 兼容最佳**
環境要求:**PHP8.3 兼容最佳**

[Release](https://github.com/michaelliunsky/niRvana-theme/releases) 頁面下載 .zip 文件,在 WordPress 後臺 "主題" 頁面上傳並安裝。

Expand Down
4 changes: 2 additions & 2 deletions assets/minify/app.min.css

Large diffs are not rendered by default.

Binary file modified assets/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file modified assets/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file modified assets/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file modified assets/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file modified assets/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file modified assets/webfonts/fa-solid-900.woff2
Binary file not shown.
Binary file modified assets/webfonts/fa-v4compatibility.ttf
Binary file not shown.
Binary file modified assets/webfonts/fa-v4compatibility.woff2
Binary file not shown.
11 changes: 1 addition & 10 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,6 @@ function add_post_comment_html_tags($commentdata)
];
$allowedtags = array_merge($allowedtags, $new_tags);
}
// 页面链接添加html后缀
add_action('init', 'html_page_permalink', -1);
function html_page_permalink()
{
global $wp_rewrite;
if (!strpos($wp_rewrite->get_page_permastruct(), '.html')) {
$wp_rewrite->page_structure = $wp_rewrite->page_structure . '.html';
}
}
//检测页面底部版权是否被修改
function alert_footer_copyright_changed()
{ ?>
Expand Down Expand Up @@ -1012,7 +1003,7 @@ function inlojv_custom_avatar($avatar, $id_or_email, $size, $default, $alt)
$email_hash = md5(strtolower(trim($email)));
$random_avatar = array_rand($random_avatar_arr, 1);
$src = $random_avatar_arr[$random_avatar]["avatar"];
$avatar = "<img alt='{$alt}' src='//jsd.onmicrosoft.cn/avatar/{$email_hash}?d=404' onerror='javascript:this.src=\"{$src}\";this.onerror=null;' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />";
$avatar = "<img alt='{$alt}' src='//cdn.sep.cc/avatar/{$email_hash}?d=404' onerror='javascript:this.src=\"{$src}\";this.onerror=null;' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />";
}
return $avatar;
}
Expand Down
4 changes: 2 additions & 2 deletions pandastudio_framework/assets/css/font-awesome.css

Large diffs are not rendered by default.

Binary file modified pandastudio_framework/assets/css/fonts/fa-brands-400.ttf
Binary file not shown.
Binary file modified pandastudio_framework/assets/css/fonts/fa-brands-400.woff2
Binary file not shown.
Binary file modified pandastudio_framework/assets/css/fonts/fa-regular-400.ttf
Binary file not shown.
Binary file modified pandastudio_framework/assets/css/fonts/fa-regular-400.woff2
Binary file not shown.
Binary file modified pandastudio_framework/assets/css/fonts/fa-solid-900.ttf
Binary file not shown.
Binary file modified pandastudio_framework/assets/css/fonts/fa-solid-900.woff2
Binary file not shown.
Binary file modified pandastudio_framework/assets/css/fonts/fa-v4compatibility.ttf
Binary file not shown.
Binary file modified pandastudio_framework/assets/css/fonts/fa-v4compatibility.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion pandastudio_framework/option.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"type": "input",
"label": "版权文本",
"value": "",
"placeholder": "如:©2023 michaelliunsky 版权所有",
"placeholder": "如:©2024 michaelliunsky 版权所有",
"name": "footer版权文本",
"decoration": ""
},
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
THEME NAME: niRvana
THEME URI: https://blog.mkliu.top/
DESCRIPTION: 作品展示模板,适用于设计稿、摄影、图片新闻等以图片为中心的展示。
VERSION: 5.0.0-beta14
VERSION: 5.0.0-RC1
AUTHOR: michaelliunsky: <a href="https://blog.mkliu.top/">https://blog.mkliu.top/</a>
AUTHOR URI:https://blog.mkliu.top/
TAGS: Design Photograph
Expand Down

0 comments on commit 1d9afe6

Please sign in to comment.