LH Archived Post Status

Allows posts and pages to be archived so you can remove content from the main loop and feed without having to trash it.

v3.11shawfactorUpdated Added 3k+ installs82% rating
37
Score
150
Errors
64
Warnings
+0
Change

Category Scores

Security0
Repo94
Performance100
Maintainability66

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

214 findings

I18n

101

7 issue groups

Security

78

8 issue groups

Maintainability

31

10 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'lh-archived-post-status' but got 'wp-statuses'.57
Category
I18n
Occurrences
57
Severity
error

Sample message

Mismatched text domain. Expected 'lh-archived-post-status' but got 'wp-statuses'.

ERRORI18nNon Singular String Literal DomainThe $domain parameter must be a single text string literal. Found: self::return_plugin_namespace()37
Category
I18n
Occurrences
37
Severity
error

Sample message

The $domain parameter must be a single text string literal. Found: self::return_plugin_namespace()

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

Sample message

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

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

Sample message

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

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['redirect_to']11
Category
Security
Occurrences
11
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['redirect_to']

WARNINGSecurityMissing Unslash$_GET['redirect_to'] not unslashed before sanitization. Use wp_unslash() or similar11
Category
Security
Occurrences
11
Severity
warning

Sample message

$_GET['redirect_to'] not unslashed before sanitization. Use wp_unslash() or similar

ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.10
Category
Security
Occurrences
10
Severity
error

Sample message

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

WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_SERVER["REQUEST_URI"]. Check that the array index exists before using it.7
Category
Security
Occurrences
7
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_SERVER["REQUEST_URI"]. Check that the array index exists before using it.

ERRORMaintainabilitydate datedate() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.4
Category
Maintainability
Occurrences
4
Severity
error

Sample message

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

WARNINGMaintainabilityNon Prefixed Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$lh_archived_post_status_instance".4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

Show 15 more
WARNINGI18nload plugin textdomain Found3
Category
I18n
Occurrences
3
Severity
warning

Sample message

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.

WARNINGMaintainabilityDynamic Hookname Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::return_plugin_namespace().'_get_archive_post_link'".

WARNINGMaintainabilityerror log print r3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log error log2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

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

WARNINGSecurityMissing2
Category
Security
Occurrences
2
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGMaintainabilityslow db query meta query1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon Prefixed Class Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Function Found1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "archive_post_link".

WARNINGSecurityRecommended1
Category
Security
Occurrences
1
Severity
warning

Sample message

Processing form data without nonce verification.

WARNINGSecuritywp redirect wp redirect1
Category
Security
Occurrences
1
Severity
warning

Sample message

wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.

WARNINGMaintainabilityNot In Footer1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

In footer ($in_footer) is not set explicitly wp_register_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.

ERRORI18nMissing Arg Domain1
Category
I18n
Occurrences
1
Severity
error

Sample message

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

ERRORI18nNon Singular String Literal Plural1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $plural parameter must be a single text string literal. Found: self::return_new_status_count()

ERRORI18nNon Singular String Literal Singular1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $singular parameter must be a single text string literal. Found: self::return_new_status_count()

ERRORI18nNon Singular String Literal Text1
Category
I18n
Occurrences
1
Severity
error

Sample message

The $text parameter must be a single text string literal. Found: ucwords(self::return_new_status_label())

Score History

First score snapshot

v3.11

37

Latest

Findings
214
Errors
150
Warnings
64
Check
2.0.0

Related Plugins

Hide Drafts in Menus

1k+ active installs

100
PufferDesk

0 active installs

100
Simply Show Hooks

2k+ active installs

100
Essential Widgets

10k+ active installs

99
Hide WP Admin Notifications

1k+ active installs

99
One Click Close Comments

4k+ active installs

99