List Tables: Replace the hyphen separator for titles and post/media states with a `—`.
Props McGuive7. Fixes #23230. git-svn-id: https://develop.svn.wordpress.org/trunk@35326 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a28e35e462
commit
9a1b5f93cd
|
@ -1694,7 +1694,7 @@ function _post_states($post) {
|
|||
if ( ! empty($post_states) ) {
|
||||
$state_count = count($post_states);
|
||||
$i = 0;
|
||||
echo ' - ';
|
||||
echo ' — ';
|
||||
foreach ( $post_states as $state ) {
|
||||
++$i;
|
||||
( $i == $state_count ) ? $sep = '' : $sep = ', ';
|
||||
|
@ -1741,7 +1741,7 @@ function _media_states( $post ) {
|
|||
if ( ! empty( $media_states ) ) {
|
||||
$state_count = count( $media_states );
|
||||
$i = 0;
|
||||
echo ' - ';
|
||||
echo ' — ';
|
||||
foreach ( $media_states as $state ) {
|
||||
++$i;
|
||||
( $i == $state_count ) ? $sep = '' : $sep = ', ';
|
||||
|
|
Loading…
Reference in New Issue