Opened 18 years ago
Closed 17 years ago
#8868 closed defect (bug) (fixed)
Excessively assertive messages in plugin installer
| Reported by: | Ozh | Owned by: | DD32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.2 |
| Component: | Plugins | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch commit dev-feedback |
| Cc: | Focuses: |
Description
The plugin installer has excessive messages.
Example: "Warning: This plugin has not been tested with your current version of WordPress." shows when the "tested up to:" field is missing, while this may be totally deliberate to omit this field.
Assertions should be only:
- "has not been tested" if "tested up to" < $wp_version.
- "is not compatible" if "requires" > $wp_version
In other cases, messages should not be this positive.
Suggestions:
- Don't show the warning when "tested up to" is missing
- ignore minor WP version number since they're very unlikely to change a plugin behavior
- be less assertive: "This plugin might or might not have been tested"
wp-hacker thread, for reference: http://comox.textdrive.com/pipermail/wp-hackers/2009-January/023774.html
Attachments (1)
Change History (6)
#3
@
18 years ago
- Keywords has-patch added; plugins plugins-installer removed
attachment 8868.diff added.
- If a version is null(not specified), Then the message will not be shown, So if a plugin neglects to mention its tested up to value, the "Not tested" message will not be shown
- Same as above, but for the required value
- It only checks the same length version as the plugin specifies.
- The version checking is only as specific as the plugins readme states:
- If The plugin specified its tested up to "2.7" then a WP version of "2.7.1" will NOT trigger the "not tested" message
- If The plugin specified a specific version "2.7.1", then a WP version of "2.7.2" WILL trigger the "not tested" message
- Slight change to the bolding of the required message (bold the phrase rather than the "compatible" word)
- String changes to reflect more closely the nature of the update are not in this patch, I'll leave it open for discussion of what the appropriate phrasing would be.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
example plugin with lack of tested field: Ozh' Who Sees Ads, http://wordpress.org/extend/plugins/ozh-who-sees-ads/, http://plugins.trac.wordpress.org/browser/ozh-who-sees-ads/trunk/readme.txt