Move add post helper into its own function

This commit is contained in:
Takumi
2013-07-28 22:21:27 +10:00
parent 687a936ca2
commit 0a67204b35
4 changed files with 24 additions and 15 deletions

View File

@@ -26,7 +26,8 @@ function sp_player_meta_init() {
}
function sp_player_team_meta( $post ) {
sp_post_checklist( $post->ID, 'sp_team', true );
sp_post_checklist( $post->ID, 'sp_team' );
sp_post_adder( 'sp_team' );
sp_nonce();
}