The PublishPress Statuses plugin allows you to create additional statuses for your posts. You can use each status to create publishing workflows.
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
I18n
180
12 issue groups
Security
70
3 issue groups
Maintainability
61
9 issue groups
ERRORI18nMissing Arg DomainMissing $domain parameter in function call to __().138
- Category
- I18n
- Occurrences
- 138
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
ERRORSecurityUnsafe printing functionAll output should be run through an escaping function (like echo esc_html_x() or echo esc_attr_x()), found '_ex'.40
- Category
- Security
- Occurrences
- 40
- Severity
- error
Sample message
All output should be run through an escaping function (like echo esc_html_x() or echo esc_attr_x()), found '_ex'.
WARNINGSecurityRequest data is not unslashed$_POST[$var] not unslashed before sanitization. Use wp_unslash() or similar25
- Category
- Security
- Occurrences
- 25
- Severity
- warning
Sample message
$_POST[$var] not unslashed before sanitization. Use wp_unslash() or similar
WARNINGMaintainabilityNon-prefixed hook nameHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "_presspermit_get_post_statuses".24
- Category
- Maintainability
- Occurrences
- 24
- Severity
- warning
Sample message
Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "_presspermit_get_post_statuses".
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.21
- Category
- I18n
- Occurrences
- 21
- 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.
WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_taxonomy".19
- Category
- Maintainability
- Occurrences
- 19
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$_taxonomy".
ERRORMaintainabilityDeprecated parameter: get_terms parameter 2The parameter "['hide_empty' => false] // @todo: support other args?" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.6
- Category
- Maintainability
- Occurrences
- 6
- Severity
- error
Sample message
The parameter "['hide_empty' => false] // @todo: support other args?" at position #2 of get_terms() has been deprecated since WordPress version 4.5.0. Instead do not pass the parameter.
ERRORI18nNon Singular String Literal TextThe $text parameter must be a single text string literal. Found: $position6
- Category
- I18n
- Occurrences
- 6
- Severity
- error
Sample message
The $text parameter must be a single text string literal. Found: $position
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;
WARNINGSecuritywp redirect wp redirectwp_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.5
- Category
- Security
- Occurrences
- 5
- 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.
Show 14 moreShow less
ERRORI18nInterpolated Variable Text5
- Category
- I18n
- Occurrences
- 5
- Severity
- error
Sample message
The $text parameter must not contain interpolated variables or expressions. Found: $name
WARNINGMaintainabilityNot In Footer2
- Category
- Maintainability
- Occurrences
- 2
- 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.
ERRORI18nInterpolated Variable Plural2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
The $plural parameter must not contain interpolated variables or expressions. Found: {$status->label}
ERRORI18nInterpolated Variable Singular2
- Category
- I18n
- Occurrences
- 2
- Severity
- error
Sample message
The $singular parameter must not contain interpolated variables or expressions. Found: {$status->label}
WARNINGI18nDiscouraged text-domain loading1
- Category
- I18n
- Occurrences
- 1
- 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.
WARNINGMaintainabilityNon-prefixed class1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "PP_Statuses_Functions".
ERRORMaintainabilityNo Explicit Version1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Version parameter is not explicitly set or has been set to an equivalent of "false" for wp_enqueue_script; This means that the WordPress core version will be used which is not recommended for plugin or theme development.
WARNINGI18nNo Html Wrapped Strings1
- Category
- I18n
- Occurrences
- 1
- Severity
- warning
Sample message
Translatable string should not be wrapped in HTML. Found: '<strong>This plugin can be deleted.</strong>'
ERRORI18nNon Singular String Literal Plural1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The $plural parameter must be a single text string literal. Found: $label . ' <span class="count">(%s)</span>'
ERRORI18nNon Singular String Literal Singular1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
The $singular parameter must be a single text string literal. Found: $label . ' <span class="count">(%s)</span>'
ERRORI18nText Domain Mismatch1
- Category
- I18n
- Occurrences
- 1
- Severity
- error
Sample message
Mismatched text domain. Expected 'publishpress-statuses' but got 'revisionary'.
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 "You're using PublishPress Statuses Free. The Pro version has more features and support. %sUpgrade to Pro%s".
ERRORMaintainabilitylibrary core files1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Library files that are already in the WordPress core are not permitted.
WARNINGMaintainabilitymismatched plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- warning
Sample message
Plugin name "PublishPress Statuses - Custom Post Status and Workflow" is different from the name declared in plugin header "PublishPress Statuses Free".
External Connections
Not analyzed yet.
Score History
First score snapshot
v1.3.3
36
Latest
- Findings
- 311
- Errors
- 232
- Warnings
- 79
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 36 | 311 | 232 | 79 | v1.3.3 | 2.0.0 |
Relationship Map
Author, categories, issues, domains, and nearby plugins.
Relationship links
Author
Category
Issue
Related
Author
Category
Issue
Related
Related Plugins
20k+ active installs
10k+ active installs