[wp-trac] [WordPress Trac] #37346: wp-mail.php file there are "dmonths" array variable which is not used

WordPress Trac noreply at wordpress.org
Tue Jul 12 19:34:16 UTC 2016


#37346: wp-mail.php file there are "dmonths" array variable which is not used
----------------------------+-----------------------------
 Reporter:  vishalkakadiya  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 In `wp-mail.php` there are unused `$dmonths = array('Jan', 'Feb', 'Mar',
 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');` array
 variable which define in loop which is never used in that file or any
 other wordpress core files.

 I think this should be removed.

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


More information about the wp-trac mailing list