File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
plugins/performance-lab/includes/site-health/audit-enqueued-assets Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ function perflab_aea_audit_blocking_assets(): array {
151
151
*/
152
152
function perflab_aea_enqueued_blocking_assets_test (): array {
153
153
$ result = array (
154
- 'label ' => __ ( 'Blocking assets ' , 'performance-lab ' ),
154
+ 'label ' => __ ( 'Any blocking assets do not appear to be particularly problematic ' , 'performance-lab ' ),
155
155
'status ' => 'good ' ,
156
156
'badge ' => array (
157
157
'label ' => __ ( 'Performance ' , 'performance-lab ' ),
@@ -181,6 +181,7 @@ function perflab_aea_enqueued_blocking_assets_test(): array {
181
181
'good ' !== $ scripts_result ['status ' ] ||
182
182
'good ' !== $ styles_result ['status ' ]
183
183
) {
184
+ $ result ['label ' ] = __ ( 'Your site has may have a problem with blocking assets ' , 'performance-lab ' );
184
185
$ result ['status ' ] = 'recommended ' ;
185
186
$ result ['actions ' ] = sprintf (
186
187
/* translators: 1: HelpHub URL. 2: Link description. 3.URL to clean cache. 4. Clean Cache text. */
@@ -407,6 +408,7 @@ static function ( $carry, $asset ): int {
407
408
*/
408
409
function perflab_aea_blocking_assets_retrieval_failure ( $ response ): ?array {
409
410
$ result = array (
411
+ 'label ' => __ ( 'Unable to check site for blocking assets ' , 'performance-lab ' ),
410
412
'status ' => 'recommended ' ,
411
413
'description ' => '' ,
412
414
);
You can’t perform that action at this time.
0 commit comments