Closed
Description
Bug Description
Check whether the Performance Plugin fully complies with the Plugin Check (PCP) plugin. If not, make it comply
Steps to reproduce
- Install and activate the Plugin Check (PCP) plugin from https://wordpress.org/plugins/plugin-check/.
- Go to Admin Dashboard > Tools > Plugin Check.
- Select the
Performance Lab
plugin. - Tick all Categories.
- Click on the
Check it!
button. - See the warnings which can be resolved.
Screenshots
Metadata
Metadata
Assignees
Type
Projects
Status
Done 😃
Activity
westonruter commentedon Jun 10, 2025
Strange. Locally when I do
composer run-script lint:performance-lab
I don't get any errors, even though I see that there should be errors being flagged as PCP is detecting.westonruter commentedon Jun 10, 2025
I see the problem. The
WordPress.Security.ValidatedSanitizedInput
sniff and others are not included by default when using theWordPress-Extra
ruleset. Working on a fix.westonruter commentedon Jun 10, 2025
@pmbaldha Some of the tests are false positives because they are checking the
tests
directory which is excluded from the build.When checking with the build of the fixes in #2048 (performance-lab.zip) the results are as follows:
I believe these failures are expected given the nature of this core feature plugin.
[-]Comply the Performance Plugin with the Plugin Check (PCP) Plugin[/-][+]Address errors reported by Plugin Check[/+]