WordPress.org

Make WordPress Core

Opened 3 months ago

#46637 new defect (bug)

Corrupted functions.php file after editing in built-in theme editor

Reported by: SergeyBiryukov Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: Cc:

Description

Got at least two reports of the following scenario.

When editing the functions.php file of a theme, WordPress says: "Unable to communicate back with site to check for fatal errors, so the PHP change was reverted." However, the reverted file has 0 bytes length, and has to be recovered from a backup copy.

From what I can see, this can only happen in two cases:

Don't have any more details at this point, created the ticket as a reference for investigation.

Change History (0)

Note: See TracTickets for help on using tickets.