Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (4 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/twentythirteen/functions.php

    r46165 r47122  
    495495        }
    496496
    497         // Post author
     497        // Post author.
    498498        if ( 'post' == get_post_type() ) {
    499499            printf(
     
    593593            }
    594594
    595             // get the URL of the next image attachment...
    596595            if ( $next_id ) {
     596                // ...get the URL of the next image attachment.
    597597                $next_attachment_url = get_attachment_link( $next_id );
    598598            } else {
    599                 // or get the URL of the first image attachment.
     599                // ...or get the URL of the first image attachment.
    600600                $next_attachment_url = get_attachment_link( reset( $attachment_ids ) );
    601601            }
     
    813813     * Fire the wp_body_open action.
    814814     *
    815      * Added for backwards compatibility to support pre 5.2.0 WordPress versions.
     815     * Added for backward compatibility to support pre-5.2.0 WordPress versions.
    816816     *
    817817     * @since Twenty Thirteen 2.8
Note: See TracChangeset for help on using the changeset viewer.