Skip to content

Commit

Permalink
Use definite article instead of possessive
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Arntz <flixos90@gmail.com>
  • Loading branch information
westonruter and felixarntz authored Jan 17, 2025
1 parent 02953c7 commit 14e9471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/optimization-detective/site-health.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function od_compose_site_health_result( $response ): array {
) . '</p>';

$result = array(
'label' => __( 'Optimization Detective\'s REST API endpoint is available', 'optimization-detective' ),
'label' => __( 'The Optimization Detective REST API endpoint is available', 'optimization-detective' ),
'status' => 'good',
'badge' => array(
'label' => __( 'Optimization Detective', 'optimization-detective' ),
Expand All @@ -106,7 +106,7 @@ function od_compose_site_health_result( $response ): array {
'test' => 'optimization_detective_rest_api',
);

$error_label = __( 'Optimization Detective\'s REST API endpoint is unavailable', 'optimization-detective' );
$error_label = __( 'The Optimization Detective REST API endpoint is unavailable', 'optimization-detective' );
$error_description_html = '<p>' . esc_html__( 'You may have a plugin active or server configuration which restricts access to logged-in users. Unauthenticated access must be restored in order for Optimization Detective to work.', 'optimization-detective' ) . '</p>';

if ( is_wp_error( $response ) ) {
Expand Down

0 comments on commit 14e9471

Please sign in to comment.