[wp-trac] [WordPress Trac] #32135: wp_tempnam() recursive broken code

WordPress Trac noreply at wordpress.org
Tue Apr 28 08:21:21 UTC 2015


#32135: wp_tempnam() recursive broken code
-----------------------------+--------------------
 Reporter:  cloudware        |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.2.2
Component:  Upgrade/Install  |     Version:  4.2
 Severity:  major            |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+--------------------

Comment (by cloudware):

 I have a concern with this patch - if the purpose of using a temporary
 name of '/.maintenance' is so WordPress can prevent access to a site under
 maintenance, then use of a continuously variable number instead surely
 isn't good.

 Purely as an observation and admittedly not knowing of the inner workings,
 I don't know why a tempname function need to be so complex?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32135#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list