WordPress 6.5.4The version has been released! This version fixes 5 major bugs, and now the system backend has automatically pushed the update alert. If you want to keep your website running smoothly, you should update it now!
![图片[1]-WordPress 6.5.4 发布:修复插件依赖问题-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/06/2024060603222129.png)
Plugin dependencies: Ensure dependency checking for newly installed plugins
Removed auto deactivation and bootstrap logic from the plugin dependencies feature. During this process, initialization calls were added to various locations in the core to ensure that dependencies were detected and ready to be checked. However, an initialization call was omitted from the AJAX callback before checking for plugin dependencies.
This means that the plugin's dependencies may not be detected and lead to false positives, which in turn allow the user to click on the postActivate
Only see the failure message.
![图片[2]-WordPress 6.5.4 发布:修复插件依赖问题-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/06/2024060603233558.jpg)
Steps to Reproduce
- (after a verb of motion indicates movement away from the speaker)
Plugins > Add New Plugin
The - look for sth.
WooCommerce
, and find the plugin that needs it. - Click the More Details link for WooCommerce in the Require Additional Plugins notification.
- click (using a mouse or other pointing device)
Install Now
Mode. - Close mode.
- Refresh.
- click (using a mouse or other pointing device)
Install Now
Dependencies. - Once installed, it will have a clickable
Activate
button, clicking it will fail. - Open DevTools > Network and the final admin-ajax.php entry will show a response with "This has no required plugins", which is obviously incorrect.
When testing a patch to verify that it works as expected:
- ought to
Activate
The button should not be clickable.
![图片[3]-WordPress 6.5.4 发布:修复插件依赖问题-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/06/2024060603241263.jpg)
Plugin dependencies: change AJAX activation handler to restore automatic redirection after plugin activation
In order to solve the problem while minimizing the small risks.variation(Disabled) AJAX activation handler introduced in 6.5.0. This change will restore the behavior of clicking the Activate button prior to 6.5, i.e., the user navigates to the buttonhref
namelyplugins.php
UI.
This method is#61269Filtering Configuration Data Methods forAlternative methods. This is not a rollback; rather, it is a minor change to fix the regression. In doing so, it moves the workflow functionality improvements and considerations of how configurations fit into them to the major version being used.
![图片[4]-WordPress 6.5.4 发布:修复插件依赖问题-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/06/2024060603252877.jpg)
Plugin: reverted to 6.5.3 change to show administrator notifications after successful activation
With the new direction of the Restore Activation button in version 6.5.4href
(See also#61319 / [58250]), for the changesets committed in 6.5.3 (see#60992) is now dead code and will not be rendered.
Of course, 68081 (trunk) and 68083 (6.5) should be reverted. They were part of the solution but didn't quite work as expected, so have been replaced by different solutions in 6.5, not extensions. If one wants to introduce them at a later date, then one can still save some time by saving the code in the history.
WordPress 6.5.4 is a short-cycle release. The nextmajor version WordPress 6.6 scheduled in Released July 2024The
![图片[5]-WordPress 6.5.4 发布:修复插件依赖问题-光子波动网 | 专业WordPress修复服务,全球范围,快速响应](https://www.361sale.com/wp-content/uploads/2024/06/2024060603255289.jpg)
Link to this article:https://www.361sale.com/en/11110The article is copyrighted and must be reproduced with attribution.
No comments