Widget CSS Classes

Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.

v1.5.4.1Jory HogeveenUpdated 2024-11-12Added Jul 16, 201290k+ installs98% rating
85
Score
47
Errors
8
Warnings
+0
Change

Category Scores

Security82
Repo89
Performance100
Maintainability85

Top Issues by Category

Issues Details

55 issues found in latest scan

ERROR41
WordPress.WP.I18n.NonSingularStringLiteralDomain

The $domain parameter must be a single text string literal. Found: WCSSC_Lib::DOMAIN

WARNING3
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$blog".

ERROR2
wp_function_not_compatible_with_requires_wp

Function "get_sites()" requires WordPress 4.6.0, but your plugin minimum supported version is WordPress 3.3.0.

ERROR1
Generic.PHP.ForbiddenFunctions.Found

The use of function wp_get_sidebars_widgets() is forbidden

WARNING1
WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound

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

WARNING1
WordPress.Security.NonceVerification.Missing

Processing form data without nonce verification.

WARNING1
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized

Detected usage of a non-sanitized input variable: $_FILES['widget-css-classes-settings-import-file']['tmp_name']

WARNING1
WordPress.Security.ValidatedSanitizedInput.InputNotValidated

Detected usage of a possibly undefined superglobal array index: $_FILES['widget-css-classes-settings-import-file']['tmp_name']. Check that the array index exists before using it.

WARNING1
WordPress.WP.EnqueuedResourceParameters.NotInFooter

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.

ERROR1
missing_direct_file_access_protection

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

ERROR1
outdated_tested_upto_header

Tested up to: 6.7 < 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.

ERROR1
plugin_header_no_license

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

Latest Snapshot

Findings

55

Errors

47

Warnings

8

Score History

First score snapshot

First scan completed Jun 20, 2026

v1.5.4.1 · Plugin Check 2.0.0 · Model 2026.06-mvp-static-v2

Jun 20, 2026

v1.5.4.1

85

Latest

Findings
55
Errors
47
Warnings
8
Plugin Check
2.0.0
Model
2026.06-mvp-static-v2

Related Plugins