WP Layouts

Save, store and import layouts instantly, all in one place with the click of a button!

v0.6.22WP ZoneUpdated Added 3k+ installs86% rating
24
Score
349
Errors
146
Warnings
+0
Change

Category Scores

Security0
Repo78
Performance94
Maintainability14

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

495 findings

I18n

287

4 issue groups

Maintainability

157

15 issue groups

Security

31

4 issue groups

Performance

4

2 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'wp-layouts' but got 'caldera-forms'.235
Category
I18n
Occurrences
235
Severity
error

Sample message

Mismatched text domain. Expected 'wp-layouts' but got 'caldera-forms'.

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.34
Category
I18n
Occurrences
34
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 Variable FoundGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$ags_wp_importer_http".32
Category
Maintainability
Occurrences
32
Severity
warning

Sample message

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

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

Sample message

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

WARNINGMaintainabilityNon Prefixed Class FoundClasses declared by a theme/plugin should start with the theme/plugin prefix. Found: "AGSLayouts".23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Hookname FoundHook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_taxonomy_args_' . $term['domain']".23
Category
Maintainability
Occurrences
23
Severity
warning

Sample message

Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "'woocommerce_taxonomy_args_' . $term['domain']".

WARNINGSecurityInput Not SanitizedDetected usage of a non-sanitized input variable: $_GET['ags-layouts-nonce']17
Category
Security
Occurrences
17
Severity
warning

Sample message

Detected usage of a non-sanitized input variable: $_GET['ags-layouts-nonce']

ERRORI18nUnordered Placeholders TextMultiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$d, %3$s", but got "%s, %d, %s" in 'Failed to import "%s" (%d): Invalid post type %s'.16
Category
I18n
Occurrences
16
Severity
error

Sample message

Multiple placeholders in translatable strings should be ordered. Expected "%1$s, %2$d, %3$s", but got "%s, %d, %s" in 'Failed to import "%s" (%d): Invalid post type %s'.

WARNINGMaintainabilityNot In FooterIn 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.11
Category
Maintainability
Occurrences
11
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.

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

Sample message

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

Show 15 more
ERRORMaintainabilityunlink unlink9
Category
Maintainability
Occurrences
9
Severity
error

Sample message

unlink() is discouraged. Use wp_delete_file() to delete a file.

WARNINGMaintainabilityDirect Query4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

Use of a direct database call is discouraged.

WARNINGMaintainabilityNo Caching4
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().

WARNINGMaintainabilityNon Prefixed Function Found4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityerror log trigger error4
Category
Maintainability
Occurrences
4
Severity
warning

Sample message

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

WARNINGMaintainabilityNon Prefixed Constant Found3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "AGSXTO_DEBUG".

WARNINGMaintainabilityerror log var export3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

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

WARNINGSecurityInput Not Validated3
Category
Security
Occurrences
3
Severity
warning

Sample message

Detected usage of a possibly undefined superglobal array index: $_GET['ags_layouts_preview']. Check that the array index exists before using it.

WARNINGMaintainabilitytrademarked term3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

The plugin name includes a restricted term. Your chosen plugin name - "WP Layouts" - contains the restricted term "wp" which cannot be used at all in your plugin name.

WARNINGMaintainabilityslow db query meta key2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_key, possible slow query.

ERRORSecurityOutput Not Escaped2
Category
Security
Occurrences
2
Severity
error

Sample message

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

ERRORMaintainabilityfile system operations mkdir2
Category
Maintainability
Occurrences
2
Severity
error

Sample message

File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: mkdir().

ERRORI18nMissing Arg Domain2
Category
I18n
Occurrences
2
Severity
error

Sample message

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

WARNINGPerformancePost Not In exclude2
Category
Performance
Occurrences
2
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.

WARNINGPerformancePost Not In post not in2
Category
Performance
Occurrences
2
Severity
warning

Sample message

Using exclusionary parameters, like post__not_in, 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.

Score History

First score snapshot

v0.6.22

24

Latest

Findings
495
Errors
349
Warnings
146
Check
2.0.0

Related Plugins

Add From Server Reloaded

2k+ active installs

99
Custom Post Exporter

3k+ active installs

99
Solace Extra

10k+ active installs

99
Layout Grid Block

200k+ active installs

98
TutorMate

10k+ active installs

98