mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 19:39:51 +01:00
This makes the function more consistent with `get_the_ID()` or `wp_get_post_parent_id()`, both returning an integer. Props 0v3rth3d4wn. Fixes #40096. git-svn-id: https://develop.svn.wordpress.org/trunk@47160 602fd350-edb4-49c9-b593-d223f7449a82