Make WordPress Core

Opened 9 years ago

Last modified 9 years ago

#32135 closed defect (bug)

wp_tempnam() recursive broken code — at Version 2

Reported by: cloudware's profile cloudware Owned by:
Milestone: 4.2.2 Priority: normal
Severity: major Version: 4.2
Component: Upgrade/Install Keywords:
Focuses: Cc:

Description (last modified by SergeyBiryukov)

ref. https://wordpress.org/support/topic/unable-to-update-plugins-after-upgrade-to-42?replies=11#post-6871167

see [31936]

"If the folder is falsey, use it's (sic) parent directory name instead"

this self-calling function is broken when wordpress requires maintenance mode to be set... calling wp_tempnam("/.maintenance",""); recurses until PHP fatally runs out of memory.

Change History (3)

#1 @cloudware
9 years ago

  • Severity changed from normal to major

#2 @SergeyBiryukov
9 years ago

  • Component changed from General to Upgrade/Install
  • Description modified (diff)
  • Milestone changed from Awaiting Review to 4.2.2
Note: See TracTickets for help on using tickets.