いまさら、ハイフン2つを修正する。| wordpress
– が変なコードに勝手に変換されるので
wp-includes/formatting.php
この辺の
–を-に修正。
$static_characters = array_merge(array(‘—‘, ‘ — ‘, ‘–‘, ‘ – ‘, ‘xn–’, ‘…’, ‘“’, ‘\’s’, ‘\’\”, ‘ ™’), $cockney);
$static_replacements = array_merge(array(‘---’, ‘ -- ‘, ‘--’, ‘ - ‘, ‘xn--‘, ‘…’, $opening_quote, ‘’s’, $closing_quote, ‘ ™’), $cockneyreplace);
$static_replacements = array_merge(array(‘---’, ‘ -- ‘, ‘--’, ‘ - ‘, ‘xn--‘, ‘…’, $opening_quote, ‘’s’, $closing_quote, ‘ ™’), $cockneyreplace);