Skip to content

Commit

Permalink
Update archived-post-status.php
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidnelson committed Jan 13, 2024
1 parent 83ef31e commit 70e75f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/archived-post-status.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
Expand Down

0 comments on commit 70e75f9

Please sign in to comment.