Special characters must be escaped?
-
Hello,
I am trying to add the following code to the header, but I’m getting the message “special characters must be escaped”. Please could you kindly advise how to get around the issue? Thank you very much in advance.
<?php
$schema = get_post_meta(get_the_ID(), ‘schema’, true);
if(!empty($schema)) {
echo $schema;
}
?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Special characters must be escaped?’ is closed to new replies.