Registers custom post types and custom fields for the Sydney theme
Category Scores
Issues to Review
Prioritized issue groups from the latest Plugin Check scan
Security
99
6 issue groups
Maintainability
34
8 issue groups
I18n
12
2 issue groups
Repo Compliance
1
1 issue group
ERRORSecurityUnsafe Printing FunctionAll output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.26
- Category
- Security
- Occurrences
- 26
- Severity
- error
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
ERRORSecurityOutput Not EscapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$c'.25
- Category
- Security
- Occurrences
- 25
- Severity
- error
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$c'.
WARNINGSecurityMissing Unslash$_POST['sydney_toolbox_background_color'] not unslashed before sanitization. Use wp_unslash() or similar25
- Category
- Security
- Occurrences
- 25
- Severity
- warning
Sample message
$_POST['sydney_toolbox_background_color'] not unslashed before sanitization. Use wp_unslash() or similar
ERRORMaintainabilitymissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;18
- Category
- Maintainability
- Occurrences
- 18
- Severity
- error
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_POST['sydney_toolbox_clients_nonce']9
- Category
- Security
- Occurrences
- 9
- Severity
- warning
Sample message
Detected usage of a non-sanitized input variable: $_POST['sydney_toolbox_clients_nonce']
ERRORI18nText Domain MismatchMismatched text domain. Expected 'sydney-toolbox' but got 'sdyney-toolbox'.9
- Category
- I18n
- Occurrences
- 9
- Severity
- error
Sample message
Mismatched text domain. Expected 'sydney-toolbox' but got 'sdyney-toolbox'.
WARNINGSecurityMissingProcessing form data without nonce verification.7
- Category
- Security
- Occurrences
- 7
- Severity
- warning
Sample message
Processing form data without nonce verification.
WARNINGSecurityInput Not ValidatedDetected usage of a possibly undefined superglobal array index: $_POST['post_type']. 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: $_POST['post_type']. Check that the array index exists before using it.
WARNINGMaintainabilityslow db query tax queryDetected usage of tax_query, possible slow query.4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Detected usage of tax_query, possible slow query.
WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "aThemes_Portfolio_Ext_Classic_Skin".4
- Category
- Maintainability
- Occurrences
- 4
- Severity
- warning
Sample message
Classes declared by a theme/plugin should start with the theme/plugin prefix. Found: "aThemes_Portfolio_Ext_Classic_Skin".
Show 7 moreShow less
ERRORI18nMissing Arg Domain3
- Category
- I18n
- Occurrences
- 3
- Severity
- error
Sample message
Missing $domain parameter in function call to __().
WARNINGMaintainabilityNon Prefixed Constant Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "ST_DIR".
WARNINGMaintainabilityNon Prefixed Variable Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$enable_portfolio".
WARNINGMaintainabilityget page by title Found2
- Category
- Maintainability
- Occurrences
- 2
- Severity
- warning
Sample message
get_page_by_title() has been deprecated since WordPress version 6.2.0. Use WP_Query instead.
ERRORMaintainabilitystrip tags strip tags1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
strip_tags() is discouraged. Use the more comprehensive wp_strip_all_tags() instead.
ERRORMaintainabilityinvalid plugin name1
- Category
- Maintainability
- Occurrences
- 1
- Severity
- error
Sample message
Plugin name header in your readme is missing or invalid. Please update your readme with a valid plugin name header. Eg: "=== Example Name ==="
ERRORRepo Complianceoutdated tested upto header1
- Category
- Repo Compliance
- Occurrences
- 1
- Severity
- error
Sample message
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.
Score History
First score snapshot
v1.36
39
Latest
- Findings
- 146
- Errors
- 84
- Warnings
- 62
- Check
- 2.0.0
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 39 | 146 | 84 | 62 | v1.36 | 2.0.0 |