Making WordPress.org

Changeset 5492


Ignore:
Timestamp:
05/16/2017 09:16:56 PM (6 years ago)
Author:
iandunn
Message:

Events: Restore location['description']

r5491 accidentally changed this, which caused the Core client to have an empty location description.

See #2823

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/api.wordpress.org/public_html/events/1.0/index.php

    r5491 r5492  
    418418        if ( ! empty( $event['location']['location'] ) && ! empty( $event['location']['latitude'] ) ) {
    419419            $location = $event['location'];
     420            $location['description'] = $location['location'];
     421            unset( $location['location'] );
    420422            break;
    421423        }
Note: See TracChangeset for help on using the changeset viewer.