[wp-trac] [WordPress Trac] #40293: Comment template - warning

WordPress Trac noreply at wordpress.org
Wed Mar 29 08:31:20 UTC 2017


#40293: Comment template - warning
---------------------------+------------------------------
 Reporter:  victorfreitas  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Comments       |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------
Changes (by thamaraiselvam):

 * keywords:   => has-patch


Comment:

 Yes, It could lead to divide-by-zero condition in some scenario and
 @victorfreitas I have removed the variable
 {{{
 $offset
 }}}

 to reduce unnecessary memory usages because it's just one-time usage.

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


More information about the wp-trac mailing list