Changeset 52245 for trunk/src/wp-includes/media.php
- Timestamp:
- 11/25/2021 08:34:01 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r52190 r52245 1130 1130 function wp_get_attachment_image_url( $attachment_id, $size = 'thumbnail', $icon = false ) { 1131 1131 $image = wp_get_attachment_image_src( $attachment_id, $size, $icon ); 1132 return isset( $image[ '0'] ) ? $image['0'] : false;1132 return isset( $image[0] ) ? $image[0] : false; 1133 1133 } 1134 1134
Note: See TracChangeset
for help on using the changeset viewer.