WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40096, comment 3


Ignore:
Timestamp:
01/07/2020 01:06:13 AM (6 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40096, comment 3

    initial v1  
    1 When changing the return type, we have to be careful not to introduce back compat issue like in #22324.
     1When changing the return type, we have to be careful not to introduce back compat issues like in #22324.
    22
    33That said, I think it makes sense to clean this up while still early in the cycle. It would make the function more consistent with `get_the_ID()` or `wp_get_post_parent_id()`, both returning an integer.