[wp-trac] [WordPress Trac] #48297: Added missing property in `WP_REST_Autosaves_Controller` class

WordPress Trac noreply at wordpress.org
Sat Oct 12 21:11:58 UTC 2019


#48297: Added missing property in `WP_REST_Autosaves_Controller` class
--------------------------+-----------------------------
 Reporter:  itowhid06     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  REST API      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  docs
--------------------------+-----------------------------
Changes (by TimothyBlynJacobs):

 * keywords:  has-patch => needs-patch


Comment:

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

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48297#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list