- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/functions.php
r46165 r47122 193 193 add_theme_support( 'customize-selective-refresh-widgets' ); 194 194 } 195 endif; // twentyfourteen_setup 195 endif; // twentyfourteen_setup() 196 196 add_action( 'after_setup_theme', 'twentyfourteen_setup' ); 197 197 … … 456 456 } 457 457 458 // get the URL of the next image attachment...459 458 if ( $next_id ) { 459 // ...get the URL of the next image attachment. 460 460 $next_attachment_url = get_attachment_link( $next_id ); 461 461 } else { 462 // or get the URL of the first image attachment.462 // ...or get the URL of the first image attachment. 463 463 $next_attachment_url = get_attachment_link( reset( $attachment_ids ) ); 464 464 }
Note: See TracChangeset
for help on using the changeset viewer.