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

WordPress Trac noreply at wordpress.org
Wed Feb 7 23:44:10 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:
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+--------------------
 Follow up to #22316/[57545].

 In `validate_plugin_requirements()`, a new error message was added that is
 displayed in certain scenarios when plugin dependencies are unmet.

 > <strong>Error:</strong> %s requires plugins that are not installed or
 activated.

 There's no clear call to action here. At a minimum there should be a link
 to the Plugins page.

 I think the wording could also be improved. Here are a few suggestions:
 - `%s` has unmet requirements and cannot be activated.
 - `%s` requires the following plugins to be active: %%list of plugins%%
 - `%s` cannot be activated unless the following plugins are installed and
 activated: %%list of plugins%%

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


More information about the wp-trac mailing list