- Timestamp:
- 01/11/2019 06:39:55 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r44382 r44566 456 456 if ( $next_id ) { 457 457 $next_attachment_url = get_attachment_link( $next_id ); 458 } // or get the URL of the first image attachment.459 else {458 } else { 459 // or get the URL of the first image attachment. 460 460 $next_attachment_url = get_attachment_link( reset( $attachment_ids ) ); 461 461 }
Note: See TracChangeset
for help on using the changeset viewer.