Opened 23 months ago
Closed 23 months ago
#57936 closed defect (bug) (reported-upstream)
Тwice written default value of the parameter $size of the get_the_post_thumbnail() function
Reported by: | mario98 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Post Thumbnails | Keywords: | |
Focuses: | docs | Cc: |
Description
https://developer.wordpress.org/reference/functions/get_the_post_thumbnail/#parameters
the default value of the parameter $size has been written twice. The one declaration should be deleted.
Change History (4)
This ticket was mentioned in Slack in #docs by tobiasbg. View the logs.
23 months ago
#4
in reply to:
↑ 2
@
23 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 wordpress.org systems and not actual WordPress code: https://meta.trac.wordpress.org/ticket/6893
Note: See
TracTickets for help on using
tickets.
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 developer.wordpress.org.
This might therefore be more suitable for the meta trac.