[wp-trac] [WordPress Trac] #50862: Site Health not compatible with session-less PHP

WordPress Trac noreply at wordpress.org
Wed Aug 5 23:45:30 UTC 2020


#50862: Site Health not compatible with session-less PHP
--------------------------+-----------------------------
 Reporter:  bgermann      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:  trunk
 Severity:  critical      |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 #47320 introduced a check for PHP sessions in Site Health.
 If PHP is built without the session extension the `session_status` call in
 class-wp-site-health.php throws a fatal error.

 Please check for the function's existence before calling it so that
 WordPress 5.5 stays compatible with session-less PHP builds.

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


More information about the wp-trac mailing list