Sualiu

Results 7 issues of Sualiu

![Screenshot_2020-04-23-06-58-39-960_com tencent mtt](https://user-images.githubusercontent.com/42514208/80041785-d477f100-84ec-11ea-8ba2-80e8abca4a84.jpg) ![Screenshot_2020-04-23-06-59-24-846_com tencent mtt](https://user-images.githubusercontent.com/42514208/80041820-f2ddec80-84ec-11ea-9381-9bdca0615459.jpg) 如图

![Screenshot_2022-01-22-17-27-44-599_mark via](https://user-images.githubusercontent.com/42514208/150633021-01281909-b775-422a-9e20-5154db30e66e.jpg) 如图所示。

万一哪天cdn全部挂了,网站是不是就打不开了。。。。。。希望加一个本地吧,感觉放心一些。

友情链接页面显示的次序依次是:站点名称、站点介绍、站点图标和站点名称。 ![IMG_20220415_071452](https://user-images.githubusercontent.com/42514208/163492177-c4fdca56-9fa8-4c2e-91f4-dcbeeb16aafb.jpg) 但是在实际的使用当中,多是添加个人博客类友链。 最后一栏 站点图标和站点名称 中的站点名称可否改为自定义名称,以便改为博客作者的名字。这样子可能会更加好看一些?

php8.2弃用了动态属性,需要事先声明变量,否则提示弃用警告 Deprecated。 修复此报错 Deprecated: Creation of dynamic property CSF_Field_color::$value is deprecated in xxx/wp-content/themes/Sakurairo/opt/classes/fields.class.php on line xx 翻看之前推送的 Pull,似乎有推送一样的,但不知为何取消了。目前使用主题推荐的PHP版本,即 php8.3 依旧会报错。

现在很多API已经开始做成不跳转的了,是否考虑增加一下不跳转的。看上去似乎并不是特别复杂。

**概述:** 此更改将 current_user_can('level_10') 替换为 current_user_can('administrator'), level 数字的判断方式,官方已经建议不要再使用了,应尽量避免。 **详细描述:** 在 WordPress 中,`level_10` 是管理员用户(administrator)级别的别称。用户级别是在 [WordPress 1.5](https://codex.wordpress.org/Version_1.5) 中引入的,它们在 [WordPress 2.0](https://codex.wordpress.org/Version_2.0) 中被[角色和功能](https://codex.wordpress.org/Roles_and_Capabilities)所取代,并且在 [WordPress 3.0](https://codex.wordpress.org/Version_3.0) 中最终被弃用。 [User_Levels](https://codex.wordpress.org/User_Levels) **其他注意事项:** - 这个更改不会影响现有功能,仅提高了代码的健康度。