Make WordPress Core

#57936 closed defect (bug) (reported-upstream)

Тwice written default value of the parameter $size of the get_the_post_thumbnail() function

Reported by: mario98's profile mario98 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Post Thumbnails Keywords:
Focuses: docs Cc:


the default value of the parameter $size has been written twice. The one declaration should be deleted.

Change History (4)

#1 @costdev
16 months ago

  • Component changed from General to Post Thumbnails
  • Version trunk deleted

#2 follow-up: @TobiasBg
16 months ago

Thanks for spotting this, @mario98!

In the code, this is only appearing once, from what I can see, so this might be an issue in the parser that is used on
This might therefore be more suitable for the meta trac.

This ticket was mentioned in Slack in #docs by tobiasbg. View the logs.

16 months ago

#4 in reply to: ↑ 2 @TobiasBg
16 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

I have now opened a ticket on the Meta Trac, as this is an issue with the systems and not actual WordPress code:

Note: See TracTickets for help on using tickets.