Commit aeaf61dd authored by John James Jacoby's avatar John James Jacoby
Browse files

Format variable similar to other usages.

parent e8acec9e
...@@ -203,7 +203,7 @@ class WP_Event_Calendar_Month_Table extends WP_Event_Calendar_List_Table { ...@@ -203,7 +203,7 @@ class WP_Event_Calendar_Month_Table extends WP_Event_Calendar_List_Table {
protected function pagination( $args = array() ) { protected function pagination( $args = array() ) {
// Parse args // Parse args
$args = wp_parse_args( $args, array( $r = wp_parse_args( $args, array(
'small' => '1 month', 'small' => '1 month',
'large' => '1 year', 'large' => '1 year',
'labels' => array( 'labels' => array(
...@@ -215,6 +215,6 @@ class WP_Event_Calendar_Month_Table extends WP_Event_Calendar_List_Table { ...@@ -215,6 +215,6 @@ class WP_Event_Calendar_Month_Table extends WP_Event_Calendar_List_Table {
) ); ) );
// Return pagination // Return pagination
return parent::pagination( $args ); return parent::pagination( $r );
} }
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment