Same. I am so annoyed because now a bunch of my websites that were using the pipe as the separator and they have all been automatically changed to using the default dash.
I am currently remedying this with this code snippet (placed in your theme’s functions.php file), as it puts the “|” back into the list of options to choose from courtesy of Yoast SEO’s documentation. It’s still annoying because I have a bunch of websites that use this and now I have to manually update all of them.
/**
* Return Pipe to Yoast SEO Title Separators
*
* Adds the Pipe (|) character to the List of title separators in
* Yoast SEO that was removed in version 17.1.
*
* @param array $separator_options Yoast's list of separators
* @return array Modified list of separators
*/
function tw_wpseo_separator_options( $separator_options ) {
$custom_options = array('|');
if( is_array($separator_options) ) { $separator_options = array_merge( $separator_options, $custom_options ); }
else { $separator_options = $custom_options; }
return $separator_options;
}
add_filter( 'wpseo_separator_options', 'tw_wpseo_separator_options', 10, 1 );