[wp-trac] [WordPress Trac] #57936: Тwice written default value of the parameter $size of the get_the_post_thumbnail() function

WordPress Trac noreply at wordpress.org
Thu Mar 16 13:01:55 UTC 2023


#57936: Тwice written default value of the parameter $size of the
get_the_post_thumbnail() function
--------------------------+-----------------------------
 Reporter:  mario98       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57936>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list