Ditty – Responsive News Tickers, Sliders, and Lists

Ditty offers a range of content display options, including its signature news ticker and customizable layouts.

v3.1.66metaphorcreationsUpdated Added 30k+ installs92% rating0% support resolved
26
Score
561
Errors
484
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance94
Maintainability13

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

1,045 findings

Security

779

11 issue groups

Maintainability

186

11 issue groups

I18n

54

3 issue groups

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a href='edit.php?post_type={$post->post_type}&ditty_display={$display_id}'>"'.399
Category
Security
Occurrences
399
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<a href='edit.php?post_type={$post->post_type}&ditty_display={$display_id}'>"'.

WARNINGSecurityRequest data is not unslashed$_GET[&#039;action&#039;] not unslashed before sanitization. Use wp_unslash() or similar104
Category
Security
Occurrences
104
Severity
warning

Sample message

$_GET[&#039;action&#039;] not unslashed before sanitization. Use wp_unslash() or similar

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_FILES[&#039;ditty_import_posts&#039;][&#039;tmp_name&#039;]98
Category
Security
Occurrences
98
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_FILES[&#039;ditty_import_posts&#039;][&#039;tmp_name&#039;]

WARNINGSecurityNonce verification recommendedProcessing form data without nonce verification.87
Category
Security
Occurrences
87
Severity
warning

Sample message

Processing form data without nonce verification.

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

Sample message

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

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.35
Category
I18n
Occurrences
35
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.

WARNINGSecurityInterpolated SQL is not preparedUse placeholders and $wpdb-&gt;prepare(); found interpolated variable $column at &quot;SELECT $column FROM $this-&gt;table_name WHERE $column_where = %s LIMIT 1;&quot;28
Category
Security
Occurrences
28
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $column at &quot;SELECT $column FROM $this-&gt;table_name WHERE $column_where = %s LIMIT 1;&quot;

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.27
Category
Maintainability
Occurrences
27
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo CachingDirect database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().26
Category
Maintainability
Occurrences
26
Severity
warning

Sample message

Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$args&quot;.22
Category
Maintainability
Occurrences
22
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: &quot;$args&quot;.

Show 15 more
ERRORSecurityUnsafe printing function20
Category
Security
Occurrences
20
Severity
error

Sample message

All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.

WARNINGMaintainabilityNon-prefixed hook name16
Category
Maintainability
Occurrences
16
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: &quot;&#039;get_template_part_&#039; . $slug&quot;.

WARNINGSecurityInput is not validated14
Category
Security
Occurrences
14
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_FILES[&#039;ditty_import_posts&#039;][&#039;tmp_name&#039;]. Check that the array index exists before using it.

ERRORSecuritySQL query is not prepared13
Category
Security
Occurrences
13
Severity
error

Sample message

Use placeholders and $wpdb->prepare(); found $query

WARNINGMaintainabilityNon-prefixed function13
Category
Maintainability
Occurrences
13
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;DNT&quot;.

ERRORI18nText Domain Mismatch13
Category
I18n
Occurrences
13
Severity
error

Sample message

Mismatched text domain. Expected 'ditty-news-ticker' but got 'ditty-ticker'.

WARNINGMaintainabilityslow db query meta key10
Category
Maintainability
Occurrences
10
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORSecurityDatabase parameter is not escaped8
Category
Security
Occurrences
8
Severity
error

Sample message

Unescaped parameter $query used in $wpdb->get_results()\n$query assigned unsafely at line 116.

WARNINGMaintainabilityslow db query meta query8
Category
Maintainability
Occurrences
8
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

ERRORMaintainabilitydate date8
Category
Maintainability
Occurrences
8
Severity
error

Sample message

date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.

ERRORI18nMissing Arg Domain6
Category
I18n
Occurrences
6
Severity
error

Sample message

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

WARNINGSecurityDatabase parameter is not escaped5
Category
Security
Occurrences
5
Severity
warning

Sample message

Unescaped parameter $table_name used in $wpdb-&gt;get_var()\n$table_name assigned unsafely at line 315.

WARNINGMaintainabilityMissing Version5
Category
Maintainability
Occurrences
5
Severity
warning

Sample message

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

WARNINGMaintainabilityslow db query meta value4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Detected usage of meta_value, possible slow query.

WARNINGSecurityMissing nonce verification3
Category
Security
Occurrences
3
Severity
warning

Sample message

Processing form data without nonce verification.

External Connections

Not analyzed yet.

Score History

First score snapshot

v3.1.66

26

Latest

Findings
1,045
Errors
561
Warnings
484
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

29 nodes

Related Plugins