[wp-trac] [WordPress Trac] #40931: Warning: Division by zero in wp-includes/theme-compat/embed-content.php on line 33

WordPress Trac noreply at wordpress.org
Wed Oct 18 15:09:00 UTC 2017


#40931: Warning: Division by zero in wp-includes/theme-compat/embed-content.php on
line 33
--------------------------------------+-----------------------------
 Reporter:  aegis123                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.9
Component:  Embeds                    |     Version:  4.7.5
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41902"]:
 {{{
 #!CommitTicketReference repository="" revision="41902"
 Embeds: Avoid "Division by zero" warning in `embed-content.php` template
 if a thumbnail has a zero height.

 Props stevenlinx, aegis123.
 Fixes #40931.
 }}}

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


More information about the wp-trac mailing list