Weather Underground

Get accurate and beautiful weather forecasts powered by Wunderground.com

v2.1.3Zack KatzUpdated Added 3k+ installs74% rating
38
Score
64
Errors
27
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance100
Maintainability79

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

91 findings

Security

52

5 issue groups

Maintainability

23

9 issue groups

I18n

12

3 issue groups

Repo Compliance

4

4 issue groups

ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_title'.43
Category
Security
Occurrences
43
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$after_title'.

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.8
Category
I18n
Occurrences
8
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGMaintainabilityupgrade notice limitThe upgrade notice for "1.1" exceeds the limit of 300 characters.8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

The upgrade notice for "1.1" exceeds the limit of 300 characters.

ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;6
Category
Maintainability
Occurrences
6
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGSecurityRecommendedProcessing form data without nonce verification.5
Category
Security
Occurrences
5
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wp_wunderground_forecast".3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "wp_wunderground_forecast".

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_REQUEST['_wpnonce']2
Category
Security
Occurrences
2
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_REQUEST['_wpnonce']

ERRORI18nMissing Arg DomainMissing $domain parameter in function call to esc_attr_e().2
Category
I18n
Occurrences
2
Severity
error

Sample message

Missing $domain parameter in function call to esc_attr_e().

ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $location_data2
Category
I18n
Occurrences
2
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: $location_data

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "KWS_Wunderground".1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "KWS_Wunderground".

Show 11 more
WARNINGMaintainabilityerror log print r1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

print_r() found. Debug code should not normally be used in production.

WARNINGSecurityInput Not Validated1
Category
Security
Occurrences
1
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_REQUEST['query']. Check that the array index exists before using it.

WARNINGSecurityMissing Unslash1
Category
Security
Occurrences
1
Severity
warning

Sample message

$_REQUEST['_wpnonce'] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGMaintainabilityMissing Version1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Resource version not set in call to wp_enqueue_style(). This means new versions of the style may not always be loaded due to browser caching.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.

WARNINGMaintainabilitymissing composer json file1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The "/vendor" directory using composer exists, but "composer.json" file is missing.

ERRORRepo Complianceno license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Missing "License". Please update your readme with a valid GPLv2 (or later) compatible license.

ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 4.5 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGRepo Complianceplugin header invalid domain path1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Domain Path" header in the plugin file must start with forward slash.

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

ERRORMaintainabilitytrunk stable tag1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Incorrect Stable Tag. It's recommended not to use "Stable Tag: trunk". Your Stable Tag is meant to be the stable version of your plugin and it needs to be exactly the same with the Version in your main plugin file's header. Any mismatch can prevent users from downloading the correct plugin files from WordPress.org.

Score History

First score snapshot

v2.1.3

38

Latest

Findings
91
Errors
64
Warnings
27
Check
2.0.0

Related Plugins

wp-forecast

5k+ active installs

75
Wettervorhersage

1k+ active installs

58
Weather Widget Pro

1k+ active installs

42
Weather Atlas Widget

9k+ active installs

37