Changeset 13110
- Timestamp:
- 01/15/2024 07:03:35 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin-blueprint.php
r13105 r13110 66 66 $zips = get_attached_media( 'application/zip', $plugin ); 67 67 // Return the first (is this correct?) 68 if ( $zips & count( $zips ) ) {68 if ( $zips && count( $zips ) ) { 69 69 return wp_get_attachment_url( reset($zips)->ID ); 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.