Fix table league selector

This commit is contained in:
Takumi
2013-08-02 00:07:25 +10:00
parent e8f670c42f
commit bf0aab149b
3 changed files with 22 additions and 6 deletions

View File

@@ -115,6 +115,7 @@ function sp_save_post( $post_id ) {
break;
case ( 'sp_table' ):
update_post_meta( $post_id, 'sp_stats', $_POST['sp_stats'] );
wp_set_post_terms( $post_id, $_POST['sp_league'], 'sp_league' );
sp_update_post_meta_recursive( $post_id, 'sp_team', $_POST['sp_team'] );
break;
endswitch;