Ticket #38429: 38429.patch
| File 38429.patch, 714 bytes (added by , 9 years ago) |
|---|
-
src/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php
6 6 7 7 class WP_REST_Settings_Controller extends WP_REST_Controller { 8 8 9 protected $rest_base = 'settings'; 10 protected $namespace = 'wp/v2'; 9 /** 10 * Constructor. 11 * 12 * @since 4.7.0 13 */ 14 public function __construct() { 15 $this->namespace = 'wp/v2'; 16 $this->rest_base = 'settings'; 17 } 11 18 12 19 /** 13 20 * Register the routes for the objects of the controller.