WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#42430 closed defect (bug) (duplicate)

Incorrect variable used in class-wp-ajax-upgrader-skin.php

Reported by: yrpwayne Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8.3
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

In the file: /wp-admin/includes/class-wp-ajax-upgrader.php

on line: 102

$errors_count = count( $errors->get_error_codes() );

Should be using $this->errors->get_error_codes()

$errors_count = count( $this->errors->get_error_codes() );

Change History (2)

#1 @obenland
2 years ago

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

Hi @yrpwayne, you reported this error previously in #41449, where it has been fixed since :)

#2 @yrpwayne
2 years ago

I thought I had but I didn't find it when searching... Also it wasn't apart of 4.8.3
Looking at the old report I see it's set for 4.9

Sorry for duplicating.

Note: See TracTickets for help on using tickets.