Make WordPress Core


Ignore:
Timestamp:
01/20/2021 04:58:20 AM (6 years ago)
Author:
peterwilsoncc
Message:

Media: Ensure get_post_status() does not contain half a comment.

Removes a misplaced comment, follow up to [49985].

Props SergeyBiryukov.
Fixes #52326.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r49985 r49986  
    908908                'inherit' === $post_status
    909909        ) {
    910                 // Attachment permitted statuses: 'inherit', , see wp_insert_post().
    911 
    912910                if (
    913911                        0 === $post->post_parent ||
Note: See TracChangeset for help on using the changeset viewer.