I had a problem exactly as described in this thread:
Since the topic was closed, it will end up sinking to the bottom of the forum – so I wanted to point out the ONLY FIX I’m aware of so far, without waiting for the theme developers to make updates. Fix thanks to crazy.adeel:
open media-upload.php from admin folder.
goto line# 125
remove line#125 and replace it with below
if ( ! empty( $_REQUEST[‘post_id’] ) && current_user_can( ‘edit_post’ , $_REQUEST[‘post_id’] ) )
don’t change line#126 ..
That’s it. Basically, the change was removing “!” in front of current_user_can(‘edit_post’ … so that it doesn’t care whether or not you can edit a post.
Obviously this is less than ideal of a fix since it opens up a security hole – however, some of us don’t have the luxury of explaining to clients that they have to wait for a wordpress or a theme update.
Hope this helps someone else out there as much as it helped me! Note to mods – please don’t close threads on active issues. If you want to point the finger at theme developers, fine. But don’t squash the conversation. Please.
- The topic ‘Cheatin uh? (When trying to upload media via 3rd party theme)’ is closed to new replies.