Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#55814 new enhancement

WebP support under Site Health status tab

Reported by: akshitsethi's profile akshitsethi Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Site Health Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

Not every server environment supports translating JPEG uploads to WebP format. It is worth indicating this to site administrators in an easy-to-understand way. While we do have some basic PHP extension information about image capabilities in the Site Health info tab, it may be worth adding something explicitly about WebP in the Site Health "Status" tab.


Message example:

Label - Your site does not support WebP.

Description (explaining why this is relevant) - WebP image format is used by WordPress to improve the performance of your site by generating smaller images than it usually could with the JPEG format. This means your pages will load faster and consume less bandwidth.

Screenshot

https://i.imgur.com/0T318o4_d.webp

Change History (4)

#1 @mukesh27
2 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 6.1
  • Type changed from enhancement to task (blessed)

Hi there! Thanks for the ticket.

WordPress 5.8 adds WebP support so it's good to add a site health status check for it.

Moving this ticket to the milestone for visibility.

#2 @swissspidy
2 years ago

  • Milestone changed from 6.1 to Future Release

Note that his is currently part of the Performance Lab feature plugin and will eventually land in core via the performance working group. See https://github.com/WordPress/performance/issues/130

#3 @desrosj
2 years ago

  • Type changed from task (blessed) to enhancement

This ticket was mentioned in PR #2750 on WordPress/wordpress-develop by akshitsethi.


2 years ago
#4

  • Keywords has-patch has-unit-tests added; needs-patch removed

This PR adds a WebP support check to the site health page. There is already information available for the supported image formats. The added test makes it more clear whether WebP is supported or not.

Trac ticket: https://core.trac.wordpress.org/ticket/55814

Screenshot:

https://i0.wp.com/user-images.githubusercontent.com/266324/170428258-c02fa34d-446a-4987-98c0-765a3920af18.png

Note: See TracTickets for help on using tickets.