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-admin/includes/revision.php

    r46823 r47122  
    5656        }
    5757
    58         // Add default title if title field is empty
     58        // Add default title if title field is empty.
    5959        if ( $compare_from && empty( $compare_from->post_title ) ) {
    6060                $compare_from->post_title = __( '(no title)' );
     
    341341                'diffData'       => $diffs,
    342342                'baseUrl'        => parse_url( admin_url( 'revision.php' ), PHP_URL_PATH ),
    343                 'compareTwoMode' => absint( $compare_two_mode ), // Apparently booleans are not allowed
     343                'compareTwoMode' => absint( $compare_two_mode ), // Apparently booleans are not allowed.
    344344                'revisionIds'    => array_keys( $revisions ),
    345345        );
Note: See TracChangeset for help on using the changeset viewer.