From 70e75f98bc9fa252d5c2df414b6448b5ba9f9db9 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Fri, 12 Jan 2024 21:37:29 -0800 Subject: [PATCH] Update archived-post-status.php --- src/archived-post-status.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/archived-post-status.php b/src/archived-post-status.php index 5c838e3..1cdd6f3 100644 --- a/src/archived-post-status.php +++ b/src/archived-post-status.php @@ -198,7 +198,7 @@ function aps_the_title( $title, $post_id = null ) { if ( ! empty( $label ) ) { // Sanitize the strings. - $safe_strings = array_filter( [ $label, $sep ], 'esc_attr' ); + $safe_strings = array_filter( array( $label, $sep ), 'esc_attr' ); // Add the strings to the title. $title = $before ? implode( '', $safe_strings ) . $title : $title . implode( '', array_reverse( $safe_strings ) );