From ddd8bacca87a0708e3470f00a1231978f972ec57 Mon Sep 17 00:00:00 2001 From: William Patton Date: Thu, 12 Jul 2018 20:07:38 +0100 Subject: [PATCH] Swap shorthand array `[]` to `array()` in pagination function definition --- inc/pagination.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/pagination.php b/inc/pagination.php index 6ed13e4..7508569 100644 --- a/inc/pagination.php +++ b/inc/pagination.php @@ -7,7 +7,7 @@ if ( ! function_exists ( 'understrap_pagination' ) ) { - function understrap_pagination($args = [], $class = 'pagination') { + function understrap_pagination( $args = array(), $class = 'pagination' ) { if ($GLOBALS['wp_query']->max_num_pages <= 1) return;