Pages

Showing posts with label uh. Show all posts
Showing posts with label uh. Show all posts

Tuesday, November 6, 2012

wordpress media upload cheating ' uh issue

Its and issue with media_upload.php and comes with some plugins on updating Wordpress

The solution is simple

if using SMOF
 
add_action('init','optionframework_mlu_init');
'posttype'=>'options'

If not using SMOF

tb_show('','media_upload.php?post_id='+jquery('#post_ID').attr('name')+'....)

find this line and change  

'post_id=0'

that's it

I know it's changing the core but if plugin does not releases its update that's how we need to manage.