Make WordPress Core


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

    r45932 r47122  
    5454        }
    5555
    56         // Don't allow revision restore when post is locked
     56        // Don't allow revision restore when post is locked.
    5757        if ( wp_check_post_lock( $post->ID ) ) {
    5858            break;
     
    8787        }
    8888
    89         // Revisions disabled and we're not looking at an autosave
     89        // Revisions disabled and we're not looking at an autosave.
    9090        if ( ! wp_revisions_enabled( $post ) && ! wp_is_post_autosave( $revision ) ) {
    9191            $redirect = 'edit.php?post_type=' . $post->post_type;
Note: See TracChangeset for help on using the changeset viewer.