WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #49380


Ignore:
Timestamp:
04/08/2020 12:23:07 AM (19 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49380 – Description

    initial v2  
    1313}}}
    1414
    15 Determines if a post is viewable based on the outcome of `is_post_status_viewable()` and `is_post_status_viewable()`.
     15Determines if a post is viewable based on the outcome of `is_post_type_viewable()` and `is_post_status_viewable()`.
    1616
    1717Defaults to current post in loop, ie result of `get_post()`.