-
Notifications
You must be signed in to change notification settings - Fork 851
Closed
Labels
EnhancementTriaged[Block] Like[Feature] Likes[Plugin] JetpackIssues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/[Status] Auto-allocated[Status] Escalated to Product Ambassadors[Status] Priority Review TriggeredThe guild in charge of triage has been notified of this issue in SlackThe guild in charge of triage has been notified of this issue in Slack
Description
Impacted plugin
Jetpack
Quick summary
Similar to #44532, I found that the when I enable the Likes feature, I am getting the CSS for the feature added to every page, even though the Like block isn't on the page.
Furthermore, I notice that the CSS is not minified and not inlined:
<link rel='stylesheet' id='jetpack_likes-css' href='https://example.com/wp-content/plugins/jetpack/modules/likes/style.css?ver=15.4' media='all' />The stylesheet needs to be minified, conditionally-enqueued, and the path data needs to be added to the stylesheet so it is eligible for inlining so it needn't be render-blocking.
This is part of #8195.
Steps to reproduce
- Enable the Likes feature
- View a page that doesn't have the Likes block added to a block template.
- See render-blocking unminified stylesheet added to the
HEAD.
Site owner impact
More than 60% of the total website/platform users
Severity
Moderate
What other impact(s) does this issue have?
No response
If a workaround is available, please outline it here.
No response
Platform (Simple and/or Atomic)
Self-hosted
Metadata
Metadata
Assignees
Labels
EnhancementTriaged[Block] Like[Feature] Likes[Plugin] JetpackIssues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/[Status] Auto-allocated[Status] Escalated to Product Ambassadors[Status] Priority Review TriggeredThe guild in charge of triage has been notified of this issue in SlackThe guild in charge of triage has been notified of this issue in Slack
Type
Projects
Status
Done