Skip to content

Commit

Permalink
Merge pull request #276 from WordPress/publish/1.0.0-rc.1
Browse files Browse the repository at this point in the history
Prepare release for `1.0.0-rc.1`
  • Loading branch information
mitogh authored Apr 4, 2022
2 parents ad0a330 + fd2ef81 commit df89fc2
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion load.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Performance plugin from the WordPress Performance Group, which is a collection of standalone performance modules.
* Requires at least: 5.8
* Requires PHP: 5.6
* Version: 1.0.0-beta.3
* Version: 1.0.0-rc.1
* Author: WordPress Performance Group
* Author URI: https://make.wordpress.org/core/tag/performance/
* License: GPLv2 or later
Expand Down
4 changes: 2 additions & 2 deletions module-i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
_x( 'Adds a persistent object cache check for sites with non-trivial amounts of data in Site Health status.', 'module description', 'performance-lab' ),
_x( 'Audit Autoloaded Options', 'module name', 'performance-lab' ),
_x( 'Adds a check for autoloaded options in Site Health status.', 'module description', 'performance-lab' ),
_x( 'Audit Enqueued Assets', 'module name', 'performance-lab' ),
_x( 'Adds a CSS and JS resource check in Site Health status.', 'module description', 'performance-lab' ),
_x( 'WebP Support', 'module name', 'performance-lab' ),
_x( 'Adds a WebP support check in Site Health status.', 'module description', 'performance-lab' ),
_x( 'Audit Enqueued Assets', 'module name', 'performance-lab' ),
_x( 'Adds a CSS and JS resource check in Site Health status.', 'module description', 'performance-lab' ),
);
/* THIS IS THE END OF THE GENERATED FILE */
10 changes: 5 additions & 5 deletions modules/images/webp-uploads/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ function webp_uploads_update_rest_attachment( WP_REST_Response $response, WP_Pos
* of an edit to an attachment either restore or other type of edit, in that case we perform operations
* to save the sources properties, specifically for the `full` size image due this is a virtual image size.
*
* @since n.e.x.t
* @since 1.0.0
*
* @see wp_update_attachment_metadata()
*
Expand Down Expand Up @@ -725,7 +725,7 @@ function webp_uploads_update_attachment_metadata( $data, $attachment_id ) {
* been updated. It removes the current sources property due once this function is executed
* right after an edit has taken place and the current sources are no longer accurate.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param int $attachment_id The ID representing the attachment.
* @param array $data The current metadata of the attachment.
Expand Down Expand Up @@ -782,7 +782,7 @@ function webp_uploads_backup_sources( $attachment_id, $data ) {
* Stores the provided sources for the attachment ID in the `_wp_attachment_backup_sources` with
* the next available target if target is `null` no source would be stored.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param int $attachment_id The ID of the attachment.
* @param array $sources An array with the full sources to be stored on the next available key.
Expand All @@ -809,7 +809,7 @@ function webp_uploads_backup_full_image_sources( $attachment_id, $sources ) {
* has not been used as part of the backup sources it would be used if no size is
* found or backup exists `null` would be returned instead.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param int $attachment_id The ID of the attachment.
* @return null|string The next available full size name.
Expand Down Expand Up @@ -846,7 +846,7 @@ function webp_uploads_get_next_full_size_key_from_backup( $attachment_id ) {
* the top level `sources` into the metadata, in order to ensure the restore process has a reference to the right
* images.
*
* @since n.e.x.t
* @since 1.0.0
*
* @param int $attachment_id The ID of the attachment.
* @param array $data The current metadata to be stored in the attachment.
Expand Down
18 changes: 15 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Contributors: wordpressdotorg
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Stable tag: 1.0.0-beta.3
Stable tag: 1.0.0-rc.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: performance, images, javascript, site health, measurement, object caching
Expand All @@ -18,10 +18,10 @@ The Performance Lab plugin is a collection of modules focused on enhancing perfo
Currently the plugin includes the following performance modules:

* **WebP Uploads:** Creates WebP versions for new JPEG image uploads if supported by the server.
* **WebP Support:** Adds a WebP support check in Site Health status.
* **Persistent Object Cache Health Check:** Adds a persistent object cache check for sites with non-trivial amounts of data in Site Health status.
* **Audit Enqueued Assets:** Adds a CSS and JS resource check in Site Health status.
* **Audit Autoloaded Options:** Adds a check for autoloaded options in Site Health status.
* **Audit Enqueued Assets:** Adds a CSS and JS resource check in Site Health status.
* **WebP Support:** Adds a WebP support check in Site Health status.

== Installation ==

Expand Down Expand Up @@ -66,6 +66,18 @@ Contributions welcome! There are several ways to contribute:

== Changelog ==

= 1.0.0-rc.1 =

**Enhancements**

* Images: Change expected order of items in the `webp_uploads_content_image_mimes` filter. ([250](https://github.com/WordPress/performance/pull/250))
* Images: Replace images in frontend content without using an additional regular expression. ([262](https://github.com/WordPress/performance/pull/262))
* Images: Restore and backup image sizes alongside the sources properties. ([242](https://github.com/WordPress/performance/pull/242))

**Bug Fixes**

* Images: Select image editor based on WebP support instead of always using the default one. ([259](https://github.com/WordPress/performance/pull/259))

= 1.0.0-beta.3 =

**Bug Fixes**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Class WP_Image_Edit to handle the image edits that take place from the image editor
* from within the admin dashboard to remove complexity around changes for an image.
*
* @since n.e.x.t
* @since 1.0.0
*/
class WP_Image_Edit {
protected $changes = array();
Expand Down

0 comments on commit df89fc2

Please sign in to comment.