[wp-trac] [WordPress Trac] #34523: Embeds: Make function parameters more clear

WordPress Trac noreply at wordpress.org
Sat Oct 31 15:50:25 UTC 2015


#34523: Embeds: Make function parameters more clear
--------------------------------------+-----------------------------
 Reporter:  swissspidy                |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.4
Component:  Embeds                    |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"35472"]:
 {{{
 #!CommitTicketReference repository="" revision="35472"
 Embeds: In `get_post_embed_html()`, move the optional `$post` argument
 after the required `$width` and `$height`.

 Props swissspidy.
 Fixes #34523.
 }}}

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


More information about the wp-trac mailing list