/wp-includes/post-template.php にある the_content を
function the_content($more_link_text = null, $stripteaser = false) {
$content = get_the_content($more_link_text, $stripteaser);
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo $content;
}
の中へ
function the_content($more_link_text = null, $stripteaser = false) {
$content = get_the_content($more_link_text, $stripteaser);
$content = apply_filters('the_content', $content);
echo $content;
}
wordpress コードに触れずにプラグインでこれを達成するにはどうすればよいですか(コードのアップグレードに互換性を持たせます)。特定の機能を置き換えることができることは知っていますが、これは?