[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 15:02:20 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 - Relative URL

 What happens if the configured `url` is relative instead of absolute URL?

 Using the [comment:34 Yoast SEO Test Report], I modified the plugin code:

 {{{#!php
 add_filter( 'plugin_configuration_data_wordpress-seo', static function() {
         return array(
                 'url' =>
 'admin.php?page=wpseo_installation_successful_free',
         );
 } );
 }}}

 Same results - all tests still pass ✅

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61269#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list