Making WordPress.org

Changeset 9875


Ignore:
Timestamp:
05/14/2020 04:58:10 AM (5 years ago)
Author:
dd32
Message:

Official WP Events: Avoid a variable overwrite that can dause PHP Fatal errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/meetup/class-meetup-client.php

    r9873 r9875  
    354354
    355355        if ( isset( $data['errors'] ) ) {
    356             foreach ( $data['errors'] as $error ) {
     356            foreach ( $data['errors'] as $details ) {
    357357                $error->add(
    358                     $error['code'],
    359                     $error['message']
     358                    $details['code'],
     359                    $details['message']
    360360                );
    361361            }
Note: See TracChangeset for help on using the changeset viewer.