[wp-trac] [WordPress Trac] #60465: Plugin dependency info notice improvements

WordPress Trac noreply at wordpress.org
Wed Feb 7 17:11:17 UTC 2024


#60465: Plugin dependency info notice improvements
-----------------------------+--------------------
 Reporter:  desrosj          |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  6.5
Component:  Upgrade/Install  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+--------------------
 Follow up to #22316/[57545].

 When dependencies are missing for an installed plugin, an admin notice is
 displayed to the user on the Plugins page:

 > There are additional plugin dependencies that must be installed.

 I'd like to propose two modifications.

 First, this notice is a `.notice-info`. Missing dependencies is arguably a
 situation where the site is potentially broken and needs to be addressed
 by the site owner. This should have a higher emphasis. I suggest using
 `.notice-warning` instead.

 Second, we can't assume that an average user understands what a
 "dependency" is in the context of software. Even if we believe this to be
 true, it is an assumption that has not been validated.

 The sentence also reads awkwardly for me. Here are a few other
 suggestions:

 - Some required plugins are missing.
 - Some plugin requirements are not being met.
 - Plugins required by some inactive plugins are missing.
 - Some plugins required by other, already installed plugins are missing.
 - Dependencies for installed plugins are missing. (if we must)

 Also, the notice is missing direction. It's not clear how or where to fix
 the problem. But I don't yet have a good suggestion for what that should
 be.

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


More information about the wp-trac mailing list