I'm new to wordpress and like it a lot. Thanks to those who maintain it.
I have read the problems with the image uploader. For me, the uploader works, but when I try to use the Add Media buttons to add an image from a URL, it stalls. I've read the sticky and done everything that applies to my browser. I've tried various browsers. They all stall the same way.
I've checked it out as thoroughly as I can and I think that I've isolated what looks like a problem.
I tried to figure out how that js file should get loaded and I discovered wp-includes/script-loader.php with this code:
$this->add( 'media-upload', '/wp-admin/js/media-upload.js', false, '20080109' );
Without having gotten into the intricacies of script-loader.php, I wondered if I was onto something here, but I'm getting more into it than I want.
I also noticed that the code after the above line was:
$this->localize( 'upload', 'uploadL10n', array( 'browseTitle' => attribute_escape(__('Browse your files')), 'back' => __('« Back'), 'directTitle' => attribute_escape(__('Direct link to file')), 'edit' => __('Edit'), 'thumb' => __('Thumbnail'), 'full' => __('Full size'), 'icon' => __('Icon'), 'title' => __('Title'), 'show' => __('Show:'), 'link' => __('Link to:'), 'file' => __('File'), 'page' => __('Page'), 'none' => __('None'), 'editorText' => attribute_escape(__('Send to editor »')), 'insert' => __('Insert'), 'urlText' => __('URL'), 'desc' => __('Description'), 'deleteText' => attribute_escape(__('Delete File')), 'saveText' => attribute_escape(__('Save »')), 'confirmText' => __("Are you sure you want to delete the file '%title%'?\nClick ok to delete or cancel to go back.") ) );
If I look at other combinations of the add and localize methods there, should this be:
$this->localize( 'media-upload', 'uploadL10n', array(
I tried changing it and it doesn't fix my problem, so these are just clues. I'd like to be able to add a video this way, but it just isn't working.