[wp-trac] [WordPress Trac] #60472: Improve the `plugin_missing_dependencies` error message

WordPress Trac noreply at wordpress.org
Fri Feb 9 05:49:42 UTC 2024


#60472: Improve the `plugin_missing_dependencies` error message
-------------------------------------+---------------------
 Reporter:  desrosj                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.5
Component:  Plugins                  |     Version:  trunk
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by costdev):

 * keywords:  has-patch => has-patch needs-testing
 * version:   => trunk


Comment:

 [https://github.com/WordPress/wordpress-develop/pull/6074 PR 6074] updates
 the message to include a list of dependency names, or their slug if not
 available, as well as a link to the plugins page.

 Note: WP-CLI strips HTML from the message, so the link to the plugins page
 will not be displayed there. The link is not followed by a period because
 the result would be:

   Warning: Failed to activate plugin. WooCommerce requires the following
 plugin(s) to be installed and activated: Hello Dolly, Addon for Hello
 Dolly. .

 Note the trailing period.

 Please test 🙂

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


More information about the wp-trac mailing list