Make WordPress Core

Ticket #40939: 40939.diff

File 40939.diff, 724 bytes (added by Soean, 8 years ago)

40939.diff Replaces the %s with %d in the translator comment.

  • src/wp-admin/includes/class-wp-community-events.php

     
    107107                } elseif ( 200 !== $response_code ) {
    108108                        $response_error = new WP_Error(
    109109                                'api-error',
    110                                 /* translators: %s is a numeric HTTP status code; e.g., 400, 403, 500, 504, etc. */
     110                                /* translators: %d is a numeric HTTP status code; e.g., 400, 403, 500, 504, etc. */
    111111                                sprintf( __( 'Invalid API response code (%d)' ), $response_code )
    112112                        );
    113113                } elseif ( ! isset( $response_body['location'], $response_body['events'] ) ) {