Skip to content

Commit 6b3211f

Browse files
velvet-thunder-95himanshupathak95
authored andcommitted
Fix sanitize_title_with_dashes to handle uppercase multiplication sign encoding in 'save' context
1 parent c9c3db1 commit 6b3211f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/wp-includes/formatting.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,6 +2291,7 @@ function sanitize_title_with_dashes( $title, $raw_title = '', $context = 'displa
22912291
$times_replacements = array( '×', '×', '×' );
22922292
if ( 'save' === $context ) {
22932293
$times_replacements[] = '%c3%97';
2294+
$times_replacements[] = '%C3%97';
22942295
}
22952296
$title = str_replace( $times_replacements, 'x', $title );
22962297

0 commit comments

Comments
 (0)