From 179754d6d0026205ef88c7dde98d7f0835a1048f Mon Sep 17 00:00:00 2001 From: Keith Solomon Date: Thu, 19 Feb 2026 14:10:59 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20Cleaned=20up=20phpcs=20er?= =?UTF-8?q?rors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- footer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/footer.php b/footer.php index 537c3b1..4ce59d1 100644 --- a/footer.php +++ b/footer.php @@ -15,10 +15,10 @@ $copyright_text = getFieldValue( 'footer.copyright_text' ) ? getFieldValue( 'foo $copyright = str_replace( '%Y', gmdate( 'Y' ), $copyright_text ); -$locations = get_nav_menu_locations(); +$locations = get_nav_menu_locations(); $footerNav = ! empty( $locations['footer_navigation'] ) - ? ( wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) ?: [] ) - : []; + ? ( wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) ? wp_get_nav_menu_items( (int) $locations['footer_navigation'] ) : array() ) + : array(); ?>