WordPress 6.5.4 Released: Fixes Plugin Dependency Issues

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!

Image[1]-WordPress 6.5.4 Released: Fix Plugin Dependency Issues - Photon Flux | Professional WordPress repair service, worldwide, rapid response

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 postActivateOnly see the failure message.

Image[2]-WordPress 6.5.4 released: fix plugin dependency issues - Photon Volatility | Professional WordPress repair service, worldwide, rapid response

Steps to Reproduce

  1. (after a verb of motion indicates movement away from the speaker)Plugins > Add New PluginThe
  2. look for sth.WooCommerce, and find the plugin that needs it.
  3. Click the More Details link for WooCommerce in the Require Additional Plugins notification.
  4. click (using a mouse or other pointing device)Install NowMode.
  5. Close mode.
  6. Refresh.
  7. click (using a mouse or other pointing device)Install NowDependencies.
  8. Once installed, it will have a clickableActivatebutton, clicking it will fail.
  9. 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 toActivateThe button should not be clickable.
Image[3]-WordPress 6.5.4 released: fix plugin dependency issues - Photon Volatility | Professional WordPress repair service, worldwide, rapid response

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 buttonhrefnamelyplugins.phpUI.

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.

Image [4]-WordPress 6.5.4 released: fix plugin dependency issues - Photon Volatility | Professional WordPress repair service, worldwide, rapid response

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

Image [5]-WordPress 6.5.4 Released: Fix Plugin Dependency Issues - Photon Flux | Professional WordPress repair service, worldwide, rapid response

Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
Customer Service
Tel: 020-2206-9892
QQ咨詢:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
? Reprint statement
This article was written by Harry
THE END
If you like it, support it.
kudos0 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments