Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新jquery,修复漏洞 #71

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 owen
Copyright (c) 2025 owen, LoveDoLove

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions inc/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
/*
* @Theme Name:WebStack
* @Theme URI:https://www.iotheme.cn/
* @Author: iowen
* @Author: iowen, LoveDoLove
* @Author URI: https://www.iowen.cn/
* @Date: 2020-02-22 21:26:05
* @LastEditors: iowen
* @LastEditTime: 2023-02-20 20:56:55
* @LastEditTime: 2024-12-24 20:56:55
* @FilePath: \WebStack\inc\register.php
* @Description:
*/
Expand All @@ -30,7 +30,7 @@ function theme_load_scripts() {
wp_enqueue_style('nav');

wp_deregister_script( 'jquery' );
wp_register_script( 'jquery', THEME_URL.'/js/jquery-1.11.1.min.js', array(), $theme_version ,false);
wp_register_script( 'jquery', THEME_URL.'/js/jquery-3.7.1.min.js', array(), $theme_version ,false);
wp_enqueue_script('jquery');

wp_enqueue_script('bootstrap');
Expand Down
11 changes: 6 additions & 5 deletions js/bootstrap.min.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions js/jquery-1.11.1.min.js

This file was deleted.

2 changes: 2 additions & 0 deletions js/jquery-3.7.1.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
Theme Name:WebStack
Theme URI:https://www.iotheme.cn
Description:wordpress 导航主题!官方网站:<a href="https://www.iotheme.cn">一为主题</a>,</br><a href="https://www.iotheme.cn/store/onenav.html">升级到最新的OneNav导航主题</a>,体验更多功能
Version:1.2024
Version:1.2025
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.6
Author:iowen
Author:iowen, LoveDoLove
Author URI: https://www.iowen.cn/
License URI: https://www.iotheme.cn/disclaimer
Text Domain: i_theme
Expand Down