Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#51411 closed defect (bug) (duplicate)

Bug Undefined variable error in wp-admin folder

Reported by: vadatiertebat's profile vadatiertebat Owned by:
Milestone: Priority: normal
Severity: major Version: 5.5.1
Component: Administration Keywords:
Focuses: Cc:


please check theme-editor.php , in this file in wp-admin folder has a warning message.

Notice: Undefined variable: error in /wp-admin/theme-editor.php on line 159
Notice: Undefined variable: error in /wp-admin/theme-editor.php on line 277

solution: please add define $error variable before on line 154.
$error = false;

Attachments (1)

theme-editor.php (14.8 KB) - added by vadatiertebat 4 years ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
4 years ago

  • Component changed from General to Administration
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, this is already fixed in [48955] / #51219.

It's likely that there will be a WordPress 5.5.2 release before 5.6, but there is no timeline at the moment.

Note: See TracTickets for help on using tickets.