Opened 12 years ago
Closed 11 years ago
#23409 closed defect (bug) (duplicate)
Featured Images Not Working when From Media Library
Reported by: | saracup | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.5.1 |
Component: | Media | Keywords: | |
Focuses: | Cc: |
Description
I am in 3.5.1, Multisite, all plugins disabled, using Twenty-Twelve theme. While editing a post, when clicking on "Set Featured Image" in the meta box, I get the popup and select the image. I then click "Save Featured Image." The box closes. The meta box displays nothing -- just the original "Set Featured Image" link. So, I Update the post. Still, no featured image.
Going through the above steps, I decide instead to upload an image from my computer. When I do, and select it as my featured image, it works.
It seems to choke only on files that are already in the media library.
Change History (5)
#2
follow-ups:
↓ 4
↓ 5
@
12 years ago
I get the same issue as saracup, except I find that if I select an image from the media library that is not in the post already it will set it as the featured image. This never happened before updating to 3.5.1. If this is by design it is rather inconvenient as I would have to upload a second copy of the image I want but with a different file name.
BUT ALSO My experience with this has been that when imagename2011.jpg is in the saved post, and I just happened to have a second copy of it named imagename20111.jpg wp would NOT let me set it as featured image. I had to upload a new copy of the one I wanted used but named it image_name_2011.jpg and I was able to set it as featured image.
Also, in previous versions of WP I was able to set the featured image at the same time i was selecting an image to insert, using a link at the bottom of the dialog. This was very convenient and I would love to have that functionality restored to WP. A great time saver. Please?
#4
in reply to:
↑ 2
@
11 years ago
Replying to Eric J T:
Also, in previous versions of WP I was able to set the featured image at the same time i was selecting an image to insert, using a link at the bottom of the dialog. This was very convenient and I would love to have that functionality restored to WP. A great time saver. Please?
#5
in reply to:
↑ 2
@
11 years ago
- Keywords needs-testing needs-patch removed
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
Replying to Eric J T:
I get the same issue as saracup, except I find that if I select an image from the media library that is not in the post already it will set it as the featured image. This never happened before updating to 3.5.1. If this is by design it is rather inconvenient as I would have to upload a second copy of the image I want but with a different file name.
No, this is not by design. However your issue appears to be different from what is described in comment:1.
Feel free to create a new ticket with the steps to reproduce on a clean install if there's still a problem. Going to close this one as a duplicate of #22312 and #23154.
I am in 3.5.1, Multisite, all plugins disabled, using Twenty-Twelve theme. While editing a post, when clicking on "Set Featured Image" in the meta box, I get the popup and select the image. I then click "Save Featured Image." The box closes. The meta box displays nothing -- just the original "Set Featured Image" link. So, I Update the post. Still, no featured image.
Going through the above steps, I decide instead to upload an image from my computer. When I do, and select it as my featured image, it works.
It seems to choke only on files that are already in the media library.
Using the backtrace-error.php file, I go to the media library. My thumbnails are blank, and there is an error on every image. The error refers to "wp-includes/capabilities.php." and is worded, for each image, as follows:
Backtrace from warning 'Trying to get property of non-object' at /[my server filepath]/wp-includes/capabilities.php 1075: