Fix styles and functions to align with theme

This commit is contained in:
Brian Miyaji
2014-01-21 02:51:16 +11:00
parent f9a367ae6e
commit 08ce1eea27
11 changed files with 189 additions and 56 deletions

View File

@@ -5,7 +5,7 @@ function sportspress_sanitize_title( $title ) {
return $title;
elseif ( isset( $_POST ) && array_key_exists( 'post_type', $_POST ) && in_array( $_POST['post_type'], array( 'sp_result', 'sp_outcome', 'sp_column', 'sp_statistic' ) ) ):
elseif ( isset( $_POST ) && array_key_exists( 'post_type', $_POST ) && in_array( $_POST['post_type'], array( 'sp_result', 'sp_outcome', 'sp_column', 'sp_statistic', 'sp_metric' ) ) ):
$key = $_POST['sp_key'];