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