[wp-trac] [WordPress Trac] #61269: Plugin Dependencies: Add filter to restore auto-redirect after plugin activation
WordPress Trac
noreply at wordpress.org
Fri May 24 14:56:46 UTC 2024
#61269: Plugin Dependencies: Add filter to restore auto-redirect after plugin
activation
-------------------------------------------------+-------------------------
Reporter: hellofromTonya | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.5.4
Component: Upgrade/Install | Version: 6.5
Severity: normal | Resolution:
Keywords: needs-testing needs-dev-note has- | Focuses:
patch has-testing-info | administration
-------------------------------------------------+-------------------------
Comment (by hellofromTonya):
== Test Report for Yoast SEO
Patch tested https://github.com/WordPress/wordpress-develop/pull/6606 as
of [https://github.com/WordPress/wordpress-
develop/pull/6606/commits/dc013d3e1abbf3a826c02794d7e0c6b006d268ab this
commit]
Yost SEO from plugins repo https://wordpress.org/plugins/wordpress-seo/.
=== Environment
- OS: macOS
- Web Server: nginx
- PHP: 8.3
- WordPress: 6.5.3 with this PR applied
- Browser: Firefox 126.0
- Theme: default
- Plugins: Yoast SEO 22.7 with the sample code added:
{{{#!php
add_filter( 'plugin_configuration_data_wordpress-seo', static function() {
return array(
'url' => admin_url(
'admin.php?page=wpseo_installation_successful_free' ),
);
} );
}}}
=== Actual Results for Test in the Add Plugins UI
After activation:
* ✅ the "Refresh now" admin notice and button do not appear.
* ✅ auto-redirects to Yoast SEO's onboarding wizard.
=== Actual Results for Test in the More Details modal
After activation:
* ✅ at the bottom of the modal, the "Refresh now" admin notice and button
do not appear.
* ✅ auto-redirect to Yoast SEO's onboarding wizard.
=== Actual Results for Test another plugin that requires Yoast SEO
Did not test, as there are no plugins requiring it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61269#comment:34>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list