Change 'event_id' parameter to 'event' for consistency
This commit is contained in:
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
|
||||
$defaults = array(
|
||||
'id' => null,
|
||||
'event_id' => null,
|
||||
'event' => null,
|
||||
'title' => false,
|
||||
'status' => 'default',
|
||||
'date' => 'default',
|
||||
@@ -59,8 +59,8 @@ if ( $date_future != 'default' )
|
||||
$calendar->future = $date_future;
|
||||
if ( $date_relative != 'default' )
|
||||
$calendar->relative = $date_relative;
|
||||
if ( $event_id )
|
||||
$calendar->event_id = $event_id;
|
||||
if ( $event )
|
||||
$calendar->event = $event;
|
||||
if ( $league )
|
||||
$calendar->league = $league;
|
||||
if ( $season )
|
||||
|
||||
Reference in New Issue
Block a user