Skip to content

Commit 135e93f

Browse files
authored
Merge pull request #941 from WordPress/publish/2.8.0
Prepare 2.8.0 release
2 parents d0ee705 + c68ca52 commit 135e93f

File tree

7 files changed

+38
-20
lines changed

7 files changed

+38
-20
lines changed

admin/load.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ function perflab_dismiss_wp_pointer_wrapper() {
557557
/**
558558
* Callback function to handle admin scripts.
559559
*
560-
* @since n.e.x.t
560+
* @since 2.8.0
561561
*/
562562
function perflab_enqueue_modules_page_scripts() {
563563
wp_enqueue_script( 'updates' );
@@ -617,7 +617,7 @@ function perflab_enqueue_modules_page_scripts() {
617617
/**
618618
* Callback function hooked to admin_action_perflab_activate_plugin to handle plugin activation.
619619
*
620-
* @since n.e.x.t
620+
* @since 2.8.0
621621
*/
622622
function perflab_activate_plugin() {
623623
// Do not proceed if plugin query arg is not present.
@@ -666,7 +666,7 @@ function perflab_activate_plugin() {
666666
/**
667667
* Callback function hooked to admin_action_perflab_deactivate_plugin to handle plugin deactivation.
668668
*
669-
* @since n.e.x.t
669+
* @since 2.8.0
670670
*/
671671
function perflab_deactivate_plugin() {
672672
// Do not proceed if plugin query arg is not present.
@@ -707,7 +707,7 @@ function perflab_deactivate_plugin() {
707707
/**
708708
* Handles the standalone plugin install and activation via AJAX.
709709
*
710-
* @since n.e.x.t
710+
* @since 2.8.0
711711
*/
712712
function perflab_install_activate_standalone_plugins_callback() {
713713
if ( ! wp_verify_nonce( $_REQUEST['nonce'], 'perflab-install-activate-plugins' ) ) {
@@ -787,7 +787,7 @@ function perflab_install_activate_standalone_plugins_callback() {
787787
/**
788788
* Callback function hooked to admin_notices to render admin notices on the plugin's screen.
789789
*
790-
* @since n.e.x.t
790+
* @since 2.8.0
791791
*/
792792
function perflab_plugin_admin_notices() {
793793
if ( isset( $_GET['activate'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
@@ -852,7 +852,7 @@ function perflab_plugin_admin_notices() {
852852
/**
853853
* Returns an array of active module data with inactive standalone plugins.
854854
*
855-
* @since n.e.x.t
855+
* @since 2.8.0
856856
*
857857
* @return array Array of active module data with inactive standalone plugins, otherwise an empty array.
858858
*/
@@ -875,7 +875,7 @@ function perflab_get_active_module_data_with_inactive_standalone_plugins() {
875875
/**
876876
* Callback function to handle admin inline style.
877877
*
878-
* @since n.e.x.t
878+
* @since 2.8.0
879879
*/
880880
function perflab_print_modules_page_style() {
881881
?>

admin/plugins.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Gets plugin info for the given plugin slug from WordPress.org.
1414
*
15-
* @since n.e.x.t
15+
* @since 2.8.0
1616
*
1717
* @param string $plugin_slug The string identifier for the plugin in questions slug.
1818
* @return array Array of plugin data, or empty if none/error.
@@ -43,7 +43,7 @@ function perflab_query_plugin_info( string $plugin_slug ) {
4343
/**
4444
* Returns an array of WPP standalone plugins.
4545
*
46-
* @since n.e.x.t
46+
* @since 2.8.0
4747
*
4848
* @return array List of WPP standalone plugins as slugs.
4949
*/
@@ -58,7 +58,7 @@ function perflab_get_standalone_plugins() {
5858
/**
5959
* Returns an array of standalone plugins with currently active modules.
6060
*
61-
* @since n.e.x.t
61+
* @since 2.8.0
6262
*
6363
* @return string[]
6464
*/
@@ -75,7 +75,7 @@ static function ( $module ) use ( $modules ) {
7575
/**
7676
* Renders plugin UI for managing standalone plugins within PL Settings screen.
7777
*
78-
* @since n.e.x.t
78+
* @since 2.8.0
7979
*/
8080
function perflab_render_plugins_ui() {
8181
require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
@@ -119,7 +119,7 @@ function perflab_render_plugins_ui() {
119119
*
120120
* This is adapted from `WP_Plugin_Install_List_Table::display_rows()` in core.
121121
*
122-
* @since n.e.x.t
122+
* @since 2.8.0
123123
*
124124
* @see WP_Plugin_Install_List_Table::display_rows()
125125
* @link https://github.com/WordPress/wordpress-develop/blob/0b8ca16ea3bd9722bd1a38f8ab68901506b1a0e7/src/wp-admin/includes/class-wp-plugin-install-list-table.php#L467-L830

load.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Performance plugin from the WordPress Performance Team, which is a collection of standalone performance modules.
66
* Requires at least: 6.3
77
* Requires PHP: 7.0
8-
* Version: 2.7.0
8+
* Version: 2.8.0
99
* Author: WordPress Performance Team
1010
* Author URI: https://make.wordpress.org/performance/
1111
* License: GPLv2 or later
@@ -19,7 +19,7 @@
1919
exit; // Exit if accessed directly.
2020
}
2121

22-
define( 'PERFLAB_VERSION', '2.7.0' );
22+
define( 'PERFLAB_VERSION', '2.8.0' );
2323
define( 'PERFLAB_MAIN_FILE', __FILE__ );
2424
define( 'PERFLAB_PLUGIN_DIR_PATH', plugin_dir_path( PERFLAB_MAIN_FILE ) );
2525
define( 'PERFLAB_MODULES_SETTING', 'perflab_modules_settings' );
@@ -236,7 +236,7 @@ function perflab_render_generator() {
236236
* Checks whether the given module can be loaded in the current environment.
237237
*
238238
* @since 1.3.0
239-
* @since n.e.x.t The function may now alternatively return a WP_Error.
239+
* @since 2.8.0 The function may now alternatively return a WP_Error.
240240
*
241241
* @param string $module Slug of the module.
242242
* @return bool|WP_Error True if the module can be loaded, or false or a WP_Error with more concrete information otherwise.
@@ -535,7 +535,7 @@ function perflab_run_module_activation_deactivation( $old_value, $value ) {
535535
/**
536536
* Reverts the module migration pointer dismissal for the given user.
537537
*
538-
* @since n.e.x.t
538+
* @since 2.8.0
539539
*
540540
* @param WP_User $user The WP_User object.
541541
*/

modules/database/audit-autoloaded-options/can-load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Can load function to determine if Site Health module is supported or not.
44
*
5-
* @since n.e.x.t
5+
* @since 2.8.0
66
* @package performance-lab
77
*/
88

modules/images/webp-support/can-load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Can load function to determine if Site Health module is supported or not.
44
*
5-
* @since n.e.x.t
5+
* @since 2.8.0
66
* @package performance-lab
77
*/
88

modules/js-and-css/audit-enqueued-assets/can-load.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Can load function to determine if Site Health module is supported or not.
44
*
5-
* @since n.e.x.t
5+
* @since 2.8.0
66
* @package performance-lab
77
*/
88

readme.txt

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Contributors: wordpressdotorg
44
Requires at least: 6.3
55
Tested up to: 6.4
66
Requires PHP: 7.0
7-
Stable tag: 2.7.0
7+
Stable tag: 2.8.0
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010
Tags: performance, images, javascript, site health, measurement, object caching
@@ -79,6 +79,24 @@ By default, the WebP Uploads module will only generate WebP versions of the imag
7979

8080
== Changelog ==
8181

82+
= 2.8.0 =
83+
84+
**Features**
85+
86+
* Infrastructure: Introduce UI for managing Performance Lab standalone plugins. ([864](https://github.com/WordPress/performance/pull/864))
87+
88+
**Enhancements**
89+
90+
* Infrastructure: Add support for plugin live preview in the plugin directory. ([890](https://github.com/WordPress/performance/pull/890))
91+
* Infrastructure: Allow module `can-load.php` callbacks to return a `WP_Error` with more information. ([891](https://github.com/WordPress/performance/pull/891))
92+
* Infrastructure: Implement admin pointer to indicate to the user they need to migrate modules to their standalone plugins. ([910](https://github.com/WordPress/performance/pull/910))
93+
* Infrastructure: Implement migration logic and UI from Performance Lab modules to their standalone plugins. ([899](https://github.com/WordPress/performance/pull/899))
94+
* Infrastructure: Reset admin pointer dismissal for module migration when the user activates a module. ([915](https://github.com/WordPress/performance/pull/915))
95+
96+
**Bug Fixes**
97+
98+
* Infrastructure: Fix construction of translation strings in admin/plugins.php. ([925](https://github.com/WordPress/performance/pull/925))
99+
82100
= 2.7.0 =
83101

84102
**Enhancements**

0 commit comments

Comments
 (0)