From 1dc8617de7c93e1bca596bb8f253865a5adcfab8 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 11 Apr 2016 19:47:09 +1000 Subject: [PATCH] Enable player list data updating via rest api --- modules/sportspress-player-lists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sportspress-player-lists.php b/modules/sportspress-player-lists.php index 26eb9b4a..2bc10eb1 100644 --- a/modules/sportspress-player-lists.php +++ b/modules/sportspress-player-lists.php @@ -154,7 +154,7 @@ class SportsPress_Player_Lists { 'data', array( 'get_callback' => 'SP_REST_API::get_post_data', - 'update_callback' => 'SP_REST_API::update_post_meta', + 'update_callback' => 'SP_REST_API::update_post_meta_arrays', 'schema' => array( 'description' => __( 'Player List', 'sportspress' ), 'type' => 'array',