The Post Grid – Shortcode, Gutenberg Blocks and Elementor Addon for Post Grid

the-post-grid

Display WordPress posts in beautiful grid, list, slider, and filter layouts. Works with Gutenberg, Elementor, Divi, and Shortcodes.

C
72%
Version Uppdaterad 3,298,404+ nedladdningar 100,000+ aktiva installationer Författare: RadiusTheme Källa: wordpress.org WordPress.org

Score breakdown

A Compatibility
C php-compatibility
A coding-standards
F wp-since
Kräver WordPress 4.5 eller högre
Testat upp till 6.9.4 Aktuell
Kräver PHP 7.4 eller högre
Senast uppdaterad Nylig
Tilläggsberoenden Inga
WP–PHP compatibility ok PHP 7.4+ is compatible with WP 4.5+ (which requires PHP 5.2.4+).
50%
Ok
Declared PHP
7.4+ (plugin header)
Detected PHP
7.0+

Declared PHP 7.4+ is above the effective minimum (7.0+) — unnecessarily strict. Effective minimum: PHP 7.0+.

Tested versions
PHP 5.6 PHP 7.0 PHP 7.1 PHP 7.2 PHP 7.3 PHP 7.4 PHP 8.0 PHP 8.1 PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5

Lowest required PHP version: 7.0

Analysed on

The coding standards scan found 10 error(s) and 83 warning(s), but the weighted issue density is only 0.28 per 100 non-empty PHP lines across 44942 lines.

10
errors
83
warnings
18
files with issues
158
files scanned
0.28
issues / 100 lines

Detected 10 error(s) and 83 warning(s) across 18 file(s) with issues, with a weighted density of 0.28 per 100 non-empty PHP lines.

Issues by rule

WordPress.Security.ValidatedSanitizedInput.MissingUnslash 28
WordPress.Security.NonceVerification.Recommended 16
WordPress.Security.NonceVerification.Missing 12
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized 12
WordPress.DateTime.RestrictedFunctions.date_date 8
WordPress.Security.ValidatedSanitizedInput.InputNotValidated 8
WordPress.WP.DiscouragedFunctions.wp_reset_query_wp_reset_query 4
PluginCheck.CodeAnalysis.Heredoc.NotAllowed 2
PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound 1
WordPress.PHP.DevelopmentFunctions.error_log_error_log 1
WordPress.PHP.DevelopmentFunctions.error_log_wp_debug_backtrace_summary 1

Issues 25

  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/resources/settings/settings.php line 30:26
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/resources/settings/settings.php line 30:68
  • warning
    $_GET['section'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    the-post-grid/resources/settings/settings.php line 30:68
  • warning
    Detected usage of a possibly undefined superglobal array index: $_SERVER['REMOTE_ADDR']. Check that the array index exists before using it.
    WordPress.Security.ValidatedSanitizedInput.InputNotValidated
    the-post-grid/app/Helpers/Fns.php line 83:47
  • warning
    $_COOKIE[$cookie_name] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    the-post-grid/app/Helpers/Fns.php line 119:47
  • warning
    Detected usage of a non-sanitized input variable: $_COOKIE[$cookie_name]
    WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
    the-post-grid/app/Helpers/Fns.php line 119:47
  • warning
    wp_debug_backtrace_summary() found. Debug code should not normally be used in production.
    WordPress.PHP.DevelopmentFunctions.error_log_wp_debug_backtrace_summary
    the-post-grid/app/Helpers/Fns.php line 260:32
  • warning
    $_POST['postId'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    the-post-grid/app/Helpers/Fns.php line 4559:197
  • warning
    $_POST['postId'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    the-post-grid/app/Helpers/Fns.php line 4574:197
  • warning
    $_POST['postId'] not unslashed before sanitization. Use wp_unslash() or similar
    WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    the-post-grid/app/Helpers/Fns.php line 4589:197
  • error
    date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
    WordPress.DateTime.RestrictedFunctions.date_date
    the-post-grid/app/Helpers/Fns.php line 5442:46
  • error
    date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
    WordPress.DateTime.RestrictedFunctions.date_date
    the-post-grid/app/Helpers/Fns.php line 5443:44
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 42:21
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 43:28
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 43:58
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 44:21
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 45:28
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 45:56
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 551:13
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 551:33
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 552:27
  • warning
    Processing form data without nonce verification.
    WordPress.Security.NonceVerification.Recommended
    the-post-grid/app/Helpers/DiviFns.php line 552:46
  • error
    Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
    PluginCheck.CodeAnalysis.Heredoc.NotAllowed
    the-post-grid/app/Divi/Utils/DiviEditorCss.php line 19:17
  • error
    Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead
    PluginCheck.CodeAnalysis.Heredoc.NotAllowed
    the-post-grid/app/Divi/Utils/DiviEditorCss.php line 292:10
  • warning
    Detected usage of a possibly undefined superglobal array index: $_REQUEST['user_id']. Check that the array index exists before using it.
    WordPress.Security.ValidatedSanitizedInput.InputNotValidated
    the-post-grid/app/Controllers/BlocksController.php line 71:68
Analysed on

The plugin declares WordPress 4.5, but wp-since found 11 compatibility issue(s) that push the suggested minimum WordPress version to 5.9.0.

Issues Found
Declared min WP
4.5+
Suggested min WP
5.9.0+
Tool output
✅ Minimum version declared: 4.5 (from readme)

🚨 Compatibility issues found:

┌────────────────────────────────────┬──────────────────┐
│ Symbol                             │ Introduced in WP │
├────────────────────────────────────┼──────────────────┤
│ wp_body_open (function)            │ 5.2.0            │
│ wp_is_block_theme (function)       │ 5.9.0            │
│ do_blocks (function)               │ 5.0.0            │
│ wp_timezone_string (function)      │ 5.3.0            │
│ wp_date (function)                 │ 5.3.0            │
│ sanitize_textarea_field (function) │ 4.7.0            │
│ parse_blocks (function)            │ 5.0.0            │
│ register_block_type (function)     │ 5.0.0            │
│ register_rest_field (function)     │ 4.7.0            │
│ WP_Ajax_Upgrader_Skin (class)      │ 4.6.0            │
│ determine_locale (function)        │ 5.0.0            │
└────────────────────────────────────┴──────────────────┘

📌 Suggested version required:  5.9.0

Issues 11

  • info
  • info
  • info
  • info
  • info
  • info
  • info
  • info
  • info
  • info
  • info
Analysed on

Betygsskala

A Utmärkt B Bra C Godkänd D Svag F Underkänd