Changeset 12136
- Timestamp:
- 10/19/2022 07:34:26 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/posts.php
r12108 r12136 43 43 $data = $response->get_data(); 44 44 45 $data['photo-thumbnail-url'] = wp_get_attachment_image_src( get_post_thumbnail_id( $data['id'] ), 'medium' )[0] ;45 $data['photo-thumbnail-url'] = wp_get_attachment_image_src( get_post_thumbnail_id( $data['id'] ), 'medium' )[0] ?? ''; 46 46 47 47 $response->set_data( $data );
Note: See TracChangeset
for help on using the changeset viewer.