admin管理员组文章数量:1291037
I have the following code which I use on my WordPress site:
function ced_get_featured_image_caption()
{
$get_description = get_post(get_post_thumbnail_id())->post_excerpt;
if (!empty($get_description)) { //If description is not empty show the div
echo '<div class="featured\\\_caption">' . $get_description . '</div>';
}
}
Upon updating, however, I can no longer save functions.php
where I must insert this after each update as I now get a "scrape nonce check failed. please try again." error. I have tried to disable all plugins as they were indicated in my google searching for causing this error, but it persists even with everything disabled. I am not a programmer, and thus am struggling to understand what broke.
Any assistance is greatly appreciated. Thank you.
本文标签: Image Caption Shortcode Broken upon update
版权声明:本文标题:Image Caption Shortcode Broken upon update 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741501785a2382090.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论