If plugin is active and I try to choose a featured Image for a post, the selection is not executed after clicking Update Featured Image and thickbox still remains. No Featured Image will be set.
plugin: 0.7.1
WP 3.5-RC2-22958
If plugin is active and I try to choose a featured Image for a post, the selection is not executed after clicking Update Featured Image and thickbox still remains. No Featured Image will be set.
plugin: 0.7.1
WP 3.5-RC2-22958
Hi Yogi,
yes i thought this is the standard behaviour in the WP 3.5 (you have to push "update" or "save" explicit) - i will test it once more. If this is the standard behaviour i will not change it. Else i will try to fix it.
Hi Yogi,
i tested without my plugin and it has the same behaviour. So i will not change that. I was woundering about that myself when i code for wp 3.5, but i think it's the new functionality of the media-window (they not longer using an iframe in a thinkbox). You have to save or update the entry to update the featured image.
But the other problem you marked seems to be a real bug (by the way, thanks for not posting two bugs in one thread - that helps a lot to keep all organized).
Hi Volkmar,
I tested again with the following behaviours
Without plugin:
Edit a post
-> Choose Featured Image
-> Media selection opens and select (All media items | Uploaded to this post) on top
-> Choose a image
-> Click the Update Fetured Image
-> Media selection disapears
-> Updated Featured Image is visible in the Featured Image section
with plugin 0.7.1:
Edit a post
-> Choose Featured Image
-> Media selection opens / select on top is not visible
-> Choose a image
-> Click the Update Fetured Image
-> Media selection do not disapear -> have to use X on top to close
-> Updated Featured Image is not visible in the Featured Image section
-> Update post
-> Featured Image is visible in the Featured Image section
with your new featured-image-media-box.php
Edit a post
-> Choose Featured Image
-> Media selection opens / select on top is not visible
-> Choose a image
-> Click the Select on bottom
-> Media selection disapear
-> Updated Featured Image is not visible in the Featured Image section
-> Update post
-> Featured Image is not visible in the Featured Image section and not saved
Sorry for mixing the two threads here at the moment.
Hi Yogi,
the problem is, we both test on nightlies and apperently the wp developers are not done with writing code on the new media-features.
When i posted the code i was on WP 3.5-RC2-22928 now i am on 3.5-RC2-22961 and there some changes in the JS-Code - on how to open the media-library frame.
You may test the following (updated) code
http://cxg.de/_f498bc.htm
on the file
wp-content/plugins/crop-thumbnails/functions/featured-image-meta-box.php
(same file like in the other support ticket).
Does it work as aspected?
This problem strengthens me to handle the featured image box like i do in wp 3.4.x - with the use of javascript (instead of override the hole output of the featured image-box) - but as they changed the way they included the JS-Code it's not that easy anymore. We will see, a few days left till release of wp 3.5
Again thanks for testing
oh, even the actual version dont work. Seems i had some work the next days.
should be working now - with version 0.7.2
You must log in to post.