Make WordPress Core

Opened 10 months ago

Last modified 10 months ago

#45658 new defect (bug)


Reported by: Tkama Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0.1
Component: Post Thumbnails Keywords:
Focuses: docs Cc:
PR Number:

Description (last modified by SergeyBiryukov)

I have some questions for function get_post_thumbnail_id():

  • why does it return a string instead of an integer?
  • why @return string|int in docs? It can't return an integer.

Change History (1)

#1 @SergeyBiryukov
10 months ago

  • Component changed from General to Post Thumbnails
  • Description modified (diff)
  • Focuses docs added
  • Type changed from feature request to defect (bug)
Note: See TracTickets for help on using tickets.