Fix Plugin-Check warnings

This commit is contained in:
Brian Miyaji
2014-01-22 04:40:30 +11:00
parent 9cde21de71
commit 76bfb6e5ee
24 changed files with 61 additions and 318 deletions

View File

@@ -15,10 +15,10 @@ if ( !function_exists( 'sportspress_event_details' ) ) {
$data = array( __( 'Date', 'sportspress' ) => $date, __( 'Time', 'sportspress' ) => $time );
if ( $leagues )
$data[ __( 'League', 'sportspress' ) ] = sportspress_array_value( $leagues, 0, '' )->name;
$data[ __( 'League', 'sportspress' ) ] = sportspress_array_value( $leagues, 0, '—' )->name;
if ( $seasons )
$data[ __( 'Season', 'sportspress' ) ] = sportspress_array_value( $seasons, 0, '' )->name;
$data[ __( 'Season', 'sportspress' ) ] = sportspress_array_value( $seasons, 0, '—' )->name;
$output = '<h3>' . __( 'Details', 'sportspress' ) . '</h3>';