15
15
/**
16
16
* Audit blocking assets on the front page.
17
17
*
18
- * @since n.e.x.t
18
+ * @since 4.0.0
19
19
*
20
20
* @return array{
21
21
* response: WP_Error|array{
@@ -138,7 +138,7 @@ function perflab_aea_audit_blocking_assets(): array {
138
138
/**
139
139
* Callback for enqueued_blocking_assets test.
140
140
*
141
- * @since n.e.x.t
141
+ * @since 4.0.0
142
142
*
143
143
* @return array{
144
144
* label: string,
@@ -197,7 +197,7 @@ function perflab_aea_enqueued_blocking_assets_test(): array {
197
197
/**
198
198
* Callback for enqueued_blocking_assets test via AJAX.
199
199
*
200
- * @since n.e.x.t
200
+ * @since 4.0.0
201
201
*/
202
202
function perflab_aea_enqueued_ajax_blocking_assets_test (): void {
203
203
check_ajax_referer ( 'health-check-site-status ' );
@@ -212,7 +212,7 @@ function perflab_aea_enqueued_ajax_blocking_assets_test(): void {
212
212
/**
213
213
* Prepares the blocking scripts audit result.
214
214
*
215
- * @since n.e.x.t
215
+ * @since 4.0.0
216
216
*
217
217
* @phpstan-param array{
218
218
* scripts: array<array{ src: string, size: int|null, error: WP_Error|null }>,
@@ -305,7 +305,7 @@ static function ( $carry, $asset ): int {
305
305
/**
306
306
* Prepares the blocking styles audit result.
307
307
*
308
- * @since n.e.x.t
308
+ * @since 4.0.0
309
309
*
310
310
* @phpstan-param array{
311
311
* scripts: array<array{ src: string, size: int|null, error: WP_Error|null }>,
@@ -398,7 +398,7 @@ static function ( $carry, $asset ): int {
398
398
/**
399
399
* Handles the failure of retrieving the home page to analyze blocking assets.
400
400
*
401
- * @since n.e.x.t
401
+ * @since 4.0.0
402
402
*
403
403
* @phpstan-param WP_Error|array{
404
404
* headers: WpOrg\Requests\Utility\CaseInsensitiveDictionary,
@@ -477,7 +477,7 @@ function perflab_aea_blocking_assets_retrieval_failure( $response ): ?array {
477
477
/**
478
478
* Gets the size of the asset in bytes.
479
479
*
480
- * @since n.e.x.t
480
+ * @since 4.0.0
481
481
*
482
482
* @param string $resource_url URL of the resource.
483
483
* @return int|WP_Error Size of the asset in bytes or WP_Error if the request fails.
@@ -518,7 +518,7 @@ function perflab_aea_get_asset_size( string $resource_url ) {
518
518
/**
519
519
* Gets headers for HTTP Basic authorization headers.
520
520
*
521
- * @since n.e.x.t
521
+ * @since 4.0.0
522
522
*
523
523
* @return array{ Authorization?: non-empty-string } Headers with copied Basic auth headers.
524
524
*/
@@ -535,7 +535,7 @@ function perflab_get_http_basic_authorization_headers(): array {
535
535
/**
536
536
* Generates a table of blocking assets.
537
537
*
538
- * @since n.e.x.t
538
+ * @since 4.0.0
539
539
*
540
540
* @phpstan-param array{
541
541
* scripts: array<array{ src: string, size: int|null, error: WP_Error|null }>,
0 commit comments