Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Enqueued_Styles_Size_Check #333

Merged

Conversation

ernilambar
Copy link
Member

Fixes #19

Note:

  • I have added tests to cover my change.
  • All new and existing tests pass.
@davidperezgar davidperezgar added [Team] Plugin Review Issues owned by Plugin Review Team [Team] Performance Issues owned by Performance Team and removed [Team] Plugin Review Issues owned by Plugin Review Team labels Jun 22, 2024
@davidperezgar
Copy link
Member

I've changed the tag so the Performance Team can review it.

Copy link
Member

@swissspidy swissspidy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDK why this wasn't picked up earlier, apologies!

Given that this adapts Enqueued_Scripts_Size_Check for styles, it looks pretty straightforward.

Just one suggestion regarding i18n.

@swissspidy
Copy link
Member

Related:

Maybe we could add this here as well from the beginning?

Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
@swissspidy
Copy link
Member

In a separate PR we can look into creating an abstract class or so to reduce code repetition between this class and Enqueued_Scripts_Size_Check

@mukeshpanchal27 mukeshpanchal27 merged commit 0fd7a49 into WordPress:trunk Jul 2, 2024
17 of 18 checks passed
@swissspidy swissspidy modified the milestones: 1.1.0, 1.0.2 Jul 3, 2024
@ernilambar ernilambar deleted the enqueued-styles-size-check branch July 12, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Team] Performance Issues owned by Performance Team
5 participants