Excerpt Editor

Quick edit or create excerpts for both Posts and Pages, auto-generate and append excerpts or replace the content with excerpts.

v1.4Andrew OzzUpdated Added 500 installs80% rating
37
Score
170
Errors
142
Warnings
+0
Change

Category Scores

Security0
Repo83
Performance98
Maintainability74

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

312 findings

Security

200

8 issue groups

Maintainability

101

7 issue groups

I18n

7

3 issue groups

Repo Compliance

3

3 issue groups

ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.94
Category
Security
Occurrences
94
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 global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$all".88
Category
Maintainability
Occurrences
88
Severity
warning

Sample message

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

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option $sel value='$number'>$number</option>\n"'.60
Category
Security
Occurrences
60
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '"<option $sel value='$number'>$number</option>\n"'.

WARNINGSecurityInput is not validatedDetected usage of a possibly undefined superglobal array index: $_COOKIE[&#039;wp-postpass_&#039;.COOKIEHASH]. Check that the array index exists before using it.17
Category
Security
Occurrences
17
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_COOKIE[&#039;wp-postpass_&#039;.COOKIEHASH]. Check that the array index exists before using it.

WARNINGSecurityDeprecated function: js_escapejs_escape() has been deprecated since WordPress version 2.8.0. Use esc_js() instead.9
Category
Security
Occurrences
9
Severity
warning

Sample message

js_escape() has been deprecated since WordPress version 2.8.0. Use esc_js() instead.

WARNINGSecurityRequest data is not unslashed$_POST[&#039;allowedtags&#039;] not unslashed before sanitization. Use wp_unslash() or similar8
Category
Security
Occurrences
8
Severity
warning

Sample message

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

WARNINGSecurityInput is not sanitizedDetected usage of a non-sanitized input variable: $_POST[&#039;allowedtags&#039;]7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_POST[&#039;allowedtags&#039;]

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

WARNINGMaintainabilityDirect QueryUse of a direct database call is discouraged.4
Category
Maintainability
Occurrences
4
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().4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

Show 12 more
WARNINGSecurityInterpolated SQL is not prepared3
Category
Security
Occurrences
3
Severity
warning

Sample message

Use placeholders and $wpdb-&gt;prepare(); found interpolated variable $mnt at &quot;SELECT ID, post_title, post_excerpt FROM $wpdb-&gt;posts WHERE $what $mnt ORDER BY post_date ASC&quot;

ERRORSecurityDatabase parameter is not escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityMissing direct file access protection2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

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

WARNINGI18nDeprecated parameter: load_plugin_textdomain parameter 21
Category
I18n
Occurrences
1
Severity
warning

Sample message

The parameter &quot;&#039;wp-content/plugins/excerpt-editor/languages&#039;&quot; at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Instead do not pass the parameter.

ERRORMaintainabilityNon Enqueued Script1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Scripts must be registered/enqueued via wp_enqueue_script()

ERRORMaintainabilityNon Enqueued Stylesheet1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Stylesheets must be registered/enqueued via wp_enqueue_style()

ERRORI18nUnordered Placeholders Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$s", but got "%s, %s" in 'when displaying all excerpts. Use <strong>%s</strong> to insert the post title. Example: Read the rest of %s... Also include'.

WARNINGPerformancePost Not In exclude1
Category
Performance
Occurrences
1
Severity
warning

Sample message

Using exclusionary parameters, like exclude, in calls to get_posts() should be done with caution, see https://wpvip.com/documentation/performance-improvements-by-removing-usage-of-post__not_in/ for more information.

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: 2.9 < 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.

ERRORRepo Complianceplugin header no license1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

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

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "esc_html()" requires WordPress 2.8.0, but your plugin minimum supported version is WordPress 2.6.0.

External Connections

Potential connections found in static code analysis.

3 domains

Outbound calls

4

External assets

0

Incoming endpoints

0

Notable Domains

laptoptips.ca2 · outbound
google.ca1 · outbound

Platform / Reference Domains

gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

No public endpoints detected.

Score History

First score snapshot

v1.4

37

Latest

Findings
312
Errors
170
Warnings
142
Check
2.0.0

Relationship Map

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

31 nodes

Related Plugins

Pages with category and tag

60k+ active installs

100
Custom Post Exporter

3k+ active installs

99
Header and Footer Scripts

200k+ active installs

99
Hide Broken Shortcodes

400 active installs

99
Link Shortner

800 active installs

99