WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#48297 new defect (bug)

Added missing property in `WP_REST_Autosaves_Controller` class

Reported by: itowhid06 Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: REST API Keywords: needs-patch
Focuses: docs Cc:
PR Number:

Description

Added missing property $rest_namespace in WP_REST_Autosaves_Controller class

Attachments (1)

48297.diff (648 bytes) - added by itowhid06 2 months ago.

Download all attachments as: .zip

Change History (3)

@itowhid06
2 months ago

#1 @desrosj
2 months ago

  • Focuses docs added
  • Milestone changed from Awaiting Review to Future Release

#2 @TimothyBlynJacobs
2 months ago

  • Keywords needs-patch added; has-patch removed

The autosaves controller should be using $this->namespace which is defined by WP_REST_Controller as protected instead of its own property here.

Note: See TracTickets for help on using tickets.