Skip to content

Commit 49cb889

Browse files
Replace 'code' with 'line'
Co-authored-by: felixarntz <[email protected]>
1 parent 84c7cfb commit 49cb889

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/performance-lab/includes/admin/plugins.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function perflab_query_plugin_info( string $plugin_slug ) {
2929
'plugin_not_found',
3030
__( 'Plugin not found.', 'default' ) . ' ' .
3131
/* translators: %s is error code */
32-
sprintf( '(Error code: %d)', __LINE__ )
32+
sprintf( '(Error line: %d)', __LINE__ )
3333
);
3434
}
3535
return $plugins[ $plugin_slug ]; // Return cached plugin info if found.
@@ -92,7 +92,7 @@ function perflab_query_plugin_info( string $plugin_slug ) {
9292
'plugin_not_found',
9393
__( 'Plugin not found.', 'default' ) . ' ' .
9494
/* translators: %s is error code */
95-
sprintf( '(Error code: %d)', __LINE__ )
95+
sprintf( '(Error line: %d)', __LINE__ )
9696
);
9797
}
9898

@@ -374,7 +374,7 @@ function perflab_install_and_activate_plugin( string $plugin_slug, array &$proce
374374
'plugin_not_found',
375375
__( 'Plugin not found.', 'default' ) . ' ' .
376376
/* translators: %s is error code */
377-
sprintf( '(Error code: %d)', __LINE__ )
377+
sprintf( '(Error line: %d)', __LINE__ )
378378
);
379379
}
380380

0 commit comments

Comments
 (0)