Replace global options with individual option check

This commit is contained in:
Brian Miyaji
2014-03-28 21:07:39 +11:00
parent 31ab02b3c1
commit cdab219f41
11 changed files with 8 additions and 31 deletions

View File

@@ -1,6 +1,5 @@
<?php
global $sportspress_options;
$primary_result = sp_array_value( $sportspress_options, 'sportspress_primary_result', null );
$primary_result = get_option( 'sportspress_primary_result', null );
$defaults = array(
'number' => -1,