[wp-trac] [WordPress Trac] #45203: Document all optional parameters as optional in add_image_size()

WordPress Trac noreply at wordpress.org
Wed Dec 19 07:25:26 UTC 2018


#45203: Document all optional parameters as optional in add_image_size()
---------------------------------------------+-----------------------
 Reporter:  DrewAPicture                     |       Owner:  andrewza
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  5.1
Component:  Media                            |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:  docs
---------------------------------------------+-----------------------
Changes (by DrewAPicture):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"44329" 44329]:
 {{{
 #!CommitTicketReference repository="" revision="44329"
 Docs: Ensure the optional `$width` and `$height` parameters are documented
 as such with defaults in the `add_image_size()` DocBlock.

 Props andrewza.
 Fixes #45203.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45203#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list