[wp-trac] [WordPress Trac] #32476: fix to tempnam() function breaks maintenance mode?

WordPress Trac noreply at wordpress.org
Sun May 24 09:45:32 UTC 2015


#32476: fix to tempnam() function breaks maintenance mode?
-----------------------------+-----------------------------
 Reporter:  cloudware        |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  4.2.2
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 This is a follow-up to #32135. Ref. Comment 4

 The fix to the above bug appears to use the time() function to generate a
 temporary name rather than keep the name "/.maintenance"...

 This surely will prevent WordPress from actually reporting to the users
 that the site is under maintenance, as it will be looking for a
 .maintenance file?

 In some situations (DB upgrades etc) on busy sites the user interaction
 could have the potential for database corruption if the user is not
 prevented from access with the 'Under maintenance' page.

 Keith

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


More information about the wp-trac mailing list