Support » Plugins and Hacks » Image Credit » [Plugin: Image Credit] Credit Info Not Saving

  • On my local test install, the credit information doesn’t seem to be saving on an existing image both when saved in the media library and entered directly on the insert image dialogue.

    Additionally, when editing the image in the media library, it seems the plugin added an “Insert into Post” button even though that doesn’t work.

    Are others experiencing this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • same problem

    If I add

    add_filter('attachment_fields_to_save', 'wp_image_credit_save_credit', 10, 2);
    function wp_image_credit_save_credit($post, $attachment) {
      update_post_meta($post['ID'], WP_IMAGE_CREDIT_META_NAME, $attachment['credit']);
      update_post_meta($post['ID'], WP_IMAGE_CREDIT_META_NAME_LINK, $attachment['credit_url']);
      return $post;

    it seems to work (though I cannot get the credit link to work).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Image Credit] Credit Info Not Saving’ is closed to new replies.