- Timestamp:
- 02/24/2023 06:21:21 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r55413 r55420 472 472 if ( count( $attachment_ids ) > 1 ) { 473 473 foreach ( $attachment_ids as $idx => $attachment_id ) { 474 if ( $attachment_id == $post->ID ) {474 if ( $attachment_id === $post->ID ) { 475 475 $next_id = $attachment_ids[ ( $idx + 1 ) % count( $attachment_ids ) ]; 476 476 break;
Note: See TracChangeset
for help on using the changeset viewer.