[wp-trac] [WordPress Trac] #59542: Duplicate default statement in wp_get_attachment_image_src() documentation

WordPress Trac noreply at wordpress.org
Wed Oct 4 14:03:50 UTC 2023


#59542: Duplicate default statement in wp_get_attachment_image_src() documentation
--------------------------+-----------------------------
 Reporter:  crstauf       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 I suspect this is a result of the default value being added to the
 parameter's description. Removing from the parameter's description will
 allow the default value to be retrieved from the function argument's list
 without duplication.

 Documentation:
 https://developer.wordpress.org/reference/functions/wp_get_attachment_image_src/

 Reported by @vitzkrieg via User Contributed Notes.

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


More information about the wp-trac mailing list