WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use wp_enqueue_script to load media.js from frond end. I use Win Grep searching through the whole WP dir, couldn't find which handle this media.js was registered. in this media.js , there's a function findpost.open , that's what I need. Could anybody tell the handle?

share|improve this question
up vote 1 down vote accepted

The handle is media. View in source, line 403.

share|improve this answer
I believe for most of the javascript files, the filename is the same as the handle. – Stephen Harris May 20 '12 at 16:08
Got it, thanks! However, it can't be loaded, firebug says forbidden. so, I have to copy it into my plugin dir to load it. – Jenny May 20 '12 at 22:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.