내 경우 변수에PHP 인코딩 문자열 내가 워드 프레스 코어에서 오는 아래에이 코드를 가지고
printf(
'<a class="row-title" href="%s" aria-label="%s">%s%s</a>',
get_edit_post_link($post->ID),
/* translators: %s: post title */
esc_attr(sprintf(__('“%s” (Edit)'), $title)),
$pad,
$title
);
을 /wp-admin/includes/class-wp-posts-list-table.php 파일 $ 제목 iconfont HTML을 포함 즉
<i class="fa fa-heart"></i>
PHP 코드는 오히려 난 것보다 웹 브라우저가 문자열로 HTML 문자를 표시하고있다 HTML로 표시하고 일을 렌더링하는 것입니다 그 후 e 폰트 굉장 아이콘.
필자는
htmlentities()
html_entity_decode()
htmlspecialchars()
에서 포장 $ 타이틀을 시도 할 수있는 몇 가지 일 도움말 고맙습니다
시도해 보셨습니까? '0x3, $ htmlentities ($ title, ENT_HTML5); ' –