From a2136cf0e0f03a3ee679072bafcd729220392b80 Mon Sep 17 00:00:00 2001 From: ThemeBoy Date: Wed, 4 Dec 2013 16:36:01 +1100 Subject: [PATCH] Fill in empty equations --- sportspress-defaults.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sportspress-defaults.php b/sportspress-defaults.php index 8dc06e1b..9849d43e 100644 --- a/sportspress-defaults.php +++ b/sportspress-defaults.php @@ -28,10 +28,10 @@ if ( !function_exists( 'sp_install_defaults' ) ) { // Metrics array( 'post_title' => 'Appearances', 'post_name' => 'appearances', 'post_status' => 'publish', 'post_type' => 'sp_metric', 'meta' => array( 'sp_equation' => '$eventsplayed' ) ), - array( 'post_title' => 'Goals', 'post_name' => 'goals', 'post_status' => 'publish', 'post_type' => 'sp_metric' ), - array( 'post_title' => 'Assists', 'post_name' => 'assists', 'post_status' => 'publish', 'post_type' => 'sp_metric' ), - array( 'post_title' => 'Yellow Cards', 'post_name' => 'yellowcards', 'post_status' => 'publish', 'post_type' => 'sp_metric' ), - array( 'post_title' => 'Red Cards', 'post_name' => 'redcards', 'post_status' => 'publish', 'post_type' => 'sp_metric' ) + array( 'post_title' => 'Goals', 'post_name' => 'goals', 'post_status' => 'publish', 'post_type' => 'sp_metric', 'meta' => array( 'sp_equation' => '' ) ), + array( 'post_title' => 'Assists', 'post_name' => 'assists', 'post_status' => 'publish', 'post_type' => 'sp_metric', 'meta' => array( 'sp_equation' => '' ) ), + array( 'post_title' => 'Yellow Cards', 'post_name' => 'yellowcards', 'post_status' => 'publish', 'post_type' => 'sp_metric', 'meta' => array( 'sp_equation' => '' ) ), + array( 'post_title' => 'Red Cards', 'post_name' => 'redcards', 'post_status' => 'publish', 'post_type' => 'sp_metric', 'meta' => array( 'sp_equation' => '' ) ) ); $i = 1;