Swap shorthand array `[]` to `array()` in pagination function definition

This commit is contained in:
William Patton 2018-07-12 20:07:38 +01:00
parent dee0292777
commit ddd8bacca8
1 changed files with 1 additions and 1 deletions

View File

@ -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;