Add nonce and team select functions

This commit is contained in:
Takumi
2013-07-25 14:52:58 +10:00
parent 39d0c1aac6
commit 3f82e5c72c
6 changed files with 71 additions and 51 deletions

View File

@@ -180,7 +180,7 @@ function sp_event_team_meta( $post, $metabox ) {
<?php
*/
endfor;
echo '<input type="hidden" name="sp_event_team_nonce" id="sp_event_team_nonce" value="' . wp_create_nonce( plugin_basename( __FILE__ ) ) . '" />';
sp_nonce();
}
function sp_event_article_meta( $post, $metabox ) {