Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r46165 r47122  
    193193                add_theme_support( 'customize-selective-refresh-widgets' );
    194194        }
    195 endif; // twentyfourteen_setup
     195endif; // twentyfourteen_setup()
    196196add_action( 'after_setup_theme', 'twentyfourteen_setup' );
    197197
     
    456456                        }
    457457
    458                         // get the URL of the next image attachment...
    459458                        if ( $next_id ) {
     459                                // ...get the URL of the next image attachment.
    460460                                $next_attachment_url = get_attachment_link( $next_id );
    461461                        } else {
    462                                 // or get the URL of the first image attachment.
     462                                // ...or get the URL of the first image attachment.
    463463                                $next_attachment_url = get_attachment_link( reset( $attachment_ids ) );
    464464                        }
Note: See TracChangeset for help on using the changeset viewer.