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

兼容性问题,主题依赖项目暂不支持php8.4 #1047

Closed
Sualiu opened this issue Jan 10, 2025 · 2 comments
Closed

兼容性问题,主题依赖项目暂不支持php8.4 #1047

Sualiu opened this issue Jan 10, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Sualiu
Copy link
Contributor

Sualiu commented Jan 10, 2025

问题出处:

主题使用的 YahnisElsts\PluginUpdateChecker 库暂不支持php8.4

实际行为描述:

使用php8.4会出现错误提示

预期的行为:

无报错

复现步骤:

切换到php8.4

配置与环境:

  • PHP 版本:8.4
  • 数据库类型 / 版本:
  • WordPress 版本:6.7.1
  • 主题版本:2.7.2

截图(若有)

1572eec2-6d51-433e-84dd-b1d7ea8e4598

补充信息:

PluginUpdateChecke Issue ,此 issue 提到项目作者需要考虑php5.6等低版本用户不能去兼容php8.4,但这个兼容性问题处理起来很简单,主题可以做到修改相关文件兼容最新的php8.4

如果可以的话,我同样可以提交一个简单的pull。。

@Sualiu Sualiu added the bug Something isn't working label Jan 10, 2025
Copy link

@Sualiu,感谢你给 sakurairo 提出了 issue。ヾ(≧▽≦*)o
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@Sualiu
Copy link
Contributor Author

Sualiu commented Jan 10, 2025

已提交pull(#1048

mirai-mamori added a commit that referenced this issue Jan 11, 2025
[PHP 8.4] 修复隐式可空参数废弃警告 (#1047)
@Sualiu Sualiu closed this as completed Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant