Allows you to specify on individual pages or posts the Largest Contentful Paint (LCP) Image on that page to preload, making the page load quicker.
Prioritized issue groups from the latest Plugin Check scan
Security
75
6 issue groups
I18n
50
3 issue groups
Maintainability
15
5 issue groups
Repo Compliance
1
1 issue group
Sample message
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
Sample message
Mismatched text domain. Expected 'preload-lcp-image' but got "preload_lcp".
Sample message
$_POST['lcp_force_as'] not unslashed before sanitization. Use wp_unslash() or similar
Sample message
Processing form data without nonce verification.
Sample message
PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;
Sample message
The $domain parameter must be a single text string literal. Found: $textdomain
Sample message
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'preload_lcp_image_build_tag'.
Sample message
Global constants defined by a theme/plugin should start with the theme/plugin prefix. Found: "DR_PRELOAD_LCP_PATH".
Sample message
Sanitization missing for register_setting().
Sample message
Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: "dwinrhys_print_newsletter_box".
Sample message
Detected usage of a non-sanitized input variable: $_POST['preload_lcp_metabox_nonce']
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.
Sample message
Scripts must be registered/enqueued via wp_enqueue_script()
Sample message
The $text text string should have translatable content. Found: ''
Sample message
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
Not analyzed yet.
First score snapshot
v1.6
41
Latest
| Scan | Score | Findings | Errors | Warnings | Plugin | Check |
|---|---|---|---|---|---|---|
| Latest | 41 | 141 | 110 | 31 | v1.6 | 2.0.0 |
Author, categories, issues, domains, and nearby plugins.