WordPress.org

Ready to get started?Download WordPress

Forums

insert into post button missing (media-upload.php) when adding post_thumbnail (7 posts)

  1. lewismcarey
    Member
    Posted 2 years ago #

    When I 'add featured image' through the post-thumbnails facility if I upload a new image to the media library, the 'insert into post' button is unavailable for that image, in all instances when the media-upload.php is loaded. If I upload the image through the media library this does not happen.
    Any clues why this should behave any differently.

  2. lewismcarey
    Member
    Posted 2 years ago #

    I have trawled back through the media-upload and it appears that the media item - when uploaded through 'add featured image' has $send set to false so does not show the insert into post button.
    Can anyone help - is this a bug?

  3. lewismcarey
    Member
    Posted 2 years ago #

    Featured image appears to explicitly relate that uploaded image to the registered post type of which it has been uploaded.
    If that registered post type does not have an editor (support = > editor) then the media item will not display the 'insert into post' button when browsing for that same media item in post types that do have an editor.

    Is this where I submit this as a bug?

  4. Featured image appears to explicitly relate that uploaded image to the registered post type of which it has been uploaded.

    If you mean to say 'You can only make an image a 'featured' image if it's attached to the post.' then yes. Not a bug.

    You WOULD submit bugs at http://core.trac.wordpress.org/ but I'm not really sure this is one.

  5. gomiza
    Member
    Posted 2 years ago #

    if there ist any other upload button in the new post screen, like me I have add to group file icon from file manager plugin, removed file manager and the upload media button came back

  6. Kruncher
    Member
    Posted 2 years ago #

    Removal of line 1311 (from version 3.2.1) on /wp-admin/includes/media.php appears to solve the problem for me. I don't know what the consequences of this are (yet), perhaps somebody could elaborate?

    1311: if ( $send )

  7. mangus
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic