[wp-meta] [Making WordPress.org] #6893: Function reference docs parser or template show parameter twice

Making WordPress.org noreply at wordpress.org
Sun Mar 26 11:40:26 UTC 2023


#6893: Function reference docs parser or template show parameter twice
--------------------------+--------------------
 Reporter:  TobiasBg      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:
Component:  HelpHub       |   Keywords:
--------------------------+--------------------
 Originally reported by @mario98 at
 https://core.trac.wordpress.org/ticket/57936 :

 >
 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.

 The function definition in WP Core is fine, so this seems to be added by
 the docs parser or template.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6893>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list