Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#51411 closed defect (bug) (duplicate)

Bug Undefined variable error in wp-admin folder

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

Description

Hi
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 6 years ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
6 years ago

  • Component GeneralAdministration
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

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.