Removing cursed line for the third time...
This line was added as tests infab4bb7b22
and1c7f428a84
. But removed in3978ebd500
. We dont understand how it came back. Is in master and tag 0.8. But is not in the build release of 0.8 we did...
This commit is contained in:
parent
7c6bb73524
commit
f5e985f30c
|
@ -9,7 +9,6 @@ class REST_Controller extends \WP_REST_Controller {
|
||||||
* REST_Controller constructor.
|
* REST_Controller constructor.
|
||||||
*/
|
*/
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
session_write_close();
|
|
||||||
$this->namespace = TAINACAN_REST_NAMESPACE;
|
$this->namespace = TAINACAN_REST_NAMESPACE;
|
||||||
add_action('rest_api_init', array($this, 'register_routes'));
|
add_action('rest_api_init', array($this, 'register_routes'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue