Update class-wp-json-server.php