WordPress.org

Make WordPress Core

Ticket #9162: mail_gmt_offset.patch

File mail_gmt_offset.patch, 431 bytes (added by Hirvine, 9 years ago)

Removes absint

  • wp-mail.php

     
    1313/** Get the POP3 class with which to access the mailbox. */
    1414require_once( ABSPATH . WPINC . '/class-pop3.php' );
    1515
    16 $time_difference = absint(get_option('gmt_offset')) * 3600;
     16$time_difference = get_option('gmt_offset') * 3600;
    1717
    1818$phone_delim = '::';
    1919