Skip to content

Address errors reported by Plugin Check #2043

Closed
@pmbaldha

Description

@pmbaldha

Bug Description

Check whether the Performance Plugin fully complies with the Plugin Check (PCP) plugin. If not, make it comply

Steps to reproduce

  1. Install and activate the Plugin Check (PCP) plugin from https://wordpress.org/plugins/plugin-check/.
  2. Go to Admin Dashboard > Tools > Plugin Check.
  3. Select the Performance Lab plugin.
  4. Tick all Categories.
  5. Click on the Check it! button.
  6. See the warnings which can be resolved.

Screenshots

Image

Image

Activity

moved this to Not Started/Backlog 📆 in WP Performance 2025on Jun 9, 2025
westonruter

westonruter commented on Jun 10, 2025

@westonruter
Member

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

westonruter commented on Jun 10, 2025

@westonruter
Member

I see the problem. The WordPress.Security.ValidatedSanitizedInput sniff and others are not included by default when using the WordPress-Extra ruleset. Working on a fix.

self-assigned this
on Jun 10, 2025
moved this from Not Started/Backlog 📆 to In Progress 🚧 in WP Performance 2025on Jun 10, 2025
westonruter

westonruter commented on Jun 10, 2025

@westonruter
Member

@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:

Image

I believe these failures are expected given the nature of this core feature plugin.

changed the title [-]Comply the Performance Plugin with the Plugin Check (PCP) Plugin[/-] [+]Address errors reported by Plugin Check[/+] on Jun 10, 2025
moved this from In Progress 🚧 to Done 😃 in WP Performance 2025on Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Type] BugAn existing feature is broken

Type

No type

Projects

Status

Done 😃

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @westonruter@pmbaldha

    Issue actions

      Address errors reported by Plugin Check · Issue #2043 · WordPress/performance