[wp-trac] [WordPress Trac] #27811: SERVER_NAME is not defined when running wp-cron from real cron/shell

WordPress Trac noreply at wordpress.org
Tue Apr 15 08:27:14 UTC 2014


#27811: SERVER_NAME is not defined when running wp-cron from real cron/shell
--------------------------+-----------------------------
 Reporter:  szepe.viktor  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Mail          |    Version:  3.8.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Automatic updater sends an email but SERVER_NAME is not defined when wp-
 cron starts as a real Linux cron job.

 Please uset get_option('site_url') to determine the hostname.

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


More information about the wp-trac mailing list