WordPress – 修改记录

关于亦枫评论7.9K1字数 990阅读3分18秒阅读模式

记录一下站点的修改日志,方便以后更换主题什么的

首次记录于2017-06/04文章源自亦枫博客-https://yflad.cn/460.html

文章源自亦枫博客-https://yflad.cn/460.html

WordPress – 修改记录文章源自亦枫博客-https://yflad.cn/460.html

1、

展开收缩
6-04
文章源自亦枫博客-https://yflad.cn/460.html

(1)修改评论Admin文章源自亦枫博客-https://yflad.cn/460.html

文件目录 begin/inc/function/function.php文章源自亦枫博客-https://yflad.cn/460.html

  1. // admin
  2. function get_author_admin($comment_author_email,$user_id){
  3.     global $wpdb;
  4.     $author_count = count($wpdb->get_results(
  5.     "SELECT comment_ID as author_count FROM $wpdb->comments WHERE comment_author_email = '$comment_author_email' "));
  6.     $adminEmail = get_option('admin_email');if($comment_author_email ==$adminEmailecho '<span class="author-admin">博主</span>';
  7. }

(2) 重新安装高亮插件文章源自亦枫博客-https://yflad.cn/460.html

去掉以前优化后的版本,重新安装 Crayon Syntax Highlighter ,未做改动文章源自亦枫博客-https://yflad.cn/460.html

三、添加显示评论者信息,鼠标移动显示和隐藏(试了几遍都不满意,索性就去掉了)文章源自亦枫博客-https://yflad.cn/460.html

PS:备份20170606_111727文章源自亦枫博客-https://yflad.cn/460.html

文章源自亦枫博客-https://yflad.cn/460.html

2、

展开收缩
6-06
文章源自亦枫博客-https://yflad.cn/460.html

(1)全站启用HTTPS协议文章源自亦枫博客-https://yflad.cn/460.html

相关文章:WordPress搭配腾讯云SSL启用全站HTTPS文章源自亦枫博客-https://yflad.cn/460.html

                   WordPress启用全站SSL(配置腾讯云CDN)文章源自亦枫博客-https://yflad.cn/460.html

PS:备份20170606_192623文章源自亦枫博客-https://yflad.cn/460.html

(2)发布文章自动清理文章源自亦枫博客-https://yflad.cn/460.html

(3)解决百度分享不能用的问题文章源自亦枫博客-https://yflad.cn/460.html

替换原百度分享链接文章源自亦枫博客-https://yflad.cn/460.html

相关文章:开启SSL后,百度分享无法使用解决办法文章源自亦枫博客-https://yflad.cn/460.html

3、

展开收缩
6-09 至 6-15

(1)WordPress升级至4.8

PS:备份20170609_103750

(2)WordPress4.8回滚至4.7.4(6-11)

(3)百度认证HTTPS(6-12)

(4)360网站检测100分彻底解决360网站提示的漏洞

(5)开启CDN的HTTP/2腾讯云开启CDN HTTP2.0配置

(6)修改blockquote,使摘要看起来更美观(6-13)

 

亦枫博客更新记录已同步至看云:亦枫博客更新记录

 

继续阅读
扫扫关注公众号
weinxin
我的微信
扫扫体验小程序
weinxin
我的公众号
亦枫
  • 本文由 发表于 2017年6月4日 08:33:13
评论  0  访客  0
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定