Skip to content
Commit c05a0cd0 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Post Thumbnails: Make sure `get_post_thumbnail_id()` returns an integer, to...

Post Thumbnails: Make sure `get_post_thumbnail_id()` returns an integer, to match the documented return value.

This makes the function more consistent with `get_the_ID()` or `wp_get_post_parent_id()`, both returning an integer.

Props 0v3rth3d4wn.
Fixes #40096.
Built from https://develop.svn.wordpress.org/trunk@47160


git-svn-id: https://core.svn.wordpress.org/trunk@46960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent b831792c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment