Making WordPress.org

Ticket #1154: meta-1154.patch

File meta-1154.patch, 2.5 KB (added by SergeyBiryukov, 8 years ago)
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-participation-notifier/wordcamp-participation-notifier.php

     
    362362               
    363363                        if ( is_wp_error( $response ) ) {
    364364                                $error = sprintf(
    365                                         'Recieved WP_Error message: %s Request was: %s',
     365                                        'Received WP_Error message: %s Request was: %s',
    366366                                        implode( ', ', $response->get_error_messages() ),
    367367                                        print_r( $body, true )
    368368                                );
     
    370370                                // trigger_error() has a message limit of 1024 bytes, so we truncate $response['body'] to make sure that $body doesn't get truncated.
    371371                               
    372372                                $error = sprintf(
    373                                         'Recieved HTTP code: %s and body: %s. Request was: %s',
     373                                        'Received HTTP code: %s and body: %s. Request was: %s',
    374374                                        $response['response']['code'],
    375375                                        substr( sanitize_text_field( $response['body'] ), 0, 500 ),
    376376                                        print_r( $body, true )
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php

     
    342342
    343343                                        if ( false === strpos( $error_messages, 'Operation timed out' ) ) {
    344344                                                $error = sprintf(
    345                                                         'Recieved WP_Error message: %s; Request was to %s; Arguments were: %s',
     345                                                        'Received WP_Error message: %s; Request was to %s; Arguments were: %s',
    346346                                                        $error_messages,
    347347                                                        $url,
    348348                                                        print_r( $args, true )
     
    352352                                        // trigger_error() has a message limit of 1024 bytes, so we truncate $response['body'] to make sure that $body doesn't get truncated.
    353353       
    354354                                        $error = sprintf(
    355                                                 'Recieved HTTP code: %s and body: %s. Request was to: %s; Arguments were: %s',
     355                                                'Received HTTP code: %s and body: %s. Request was to: %s; Arguments were: %s',
    356356                                                $response['response']['code'],
    357357                                                substr( sanitize_text_field( $response['body'] ), 0, 500 ),
    358358                                                $url,