Title: Problem media_send_to_editor
Last modified: August 20, 2016

---

# Problem media_send_to_editor

 *  [mathis@Tambour](https://wordpress.org/support/users/mathistambour/)
 * (@mathistambour)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/)
 * Hey guys !
    I actually got a problem with one of my plugins in 3.5 RC3 This one
   use the following code, but it don t works anymore: When i send it to editor,
   it dont change my class in “html mod” in post page.
 *     ```
       function highslide_integration_send_to_editor( $html, $send_id, $attachment ) {
   
          if( isset($_POST["highslide-$send_id"]) )
   
             return str_replace('<a', '<a class="highslide"', $html);
   
          else
   
             return $html;
       }
       add_filter( 'media_send_to_editor', 'highslide_integration_send_to_editor', 66, 3 );
       ```
   
 * Someone got an idea ?

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256423)
 * Does it work without `if( isset($_POST["highslide-$send_id"]) )`
 * To check out what $_POST returns you could serialize the array:
 *     ```
       return serialize ($_POST);
       ```
   
 *  Thread Starter [mathis@Tambour](https://wordpress.org/support/users/mathistambour/)
 * (@mathistambour)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256425)
 * Yes, it works without it.
    So there is a problem with `if( isset($_POST["highslide-
   $send_id"]) )` …
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256426)
 * Try it with WordPRess 3.5 rc6:
 * > [WordPress 3.5 RC6 is out Please if you…](https://make.wordpress.org/core/2012/12/10/wordpress-3-5-rc6-is-out-please-if-you/)
 *  Thread Starter [mathis@Tambour](https://wordpress.org/support/users/mathistambour/)
 * (@mathistambour)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256429)
 * Was a good idea, but not works again ! :s
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256436)
 * What is the plugin that uses this?
 *  Thread Starter [mathis@Tambour](https://wordpress.org/support/users/mathistambour/)
 * (@mathistambour)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256441)
 * That a Highslide plugin.
    But the owner is dead, so i have to update it by myself!
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256446)
 * Where can I download the plugin?
 * Have you tried just returning the serialized $_POST array to see if “highslide-
   $send_id” is in it.
 *  Thread Starter [mathis@Tambour](https://wordpress.org/support/users/mathistambour/)
 * (@mathistambour)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256448)
 * Will try it tomorrow. ( I am frensh, so not the same hour ^^ )
    [http://www.mirorii.com/fichier/32/671819/highslide-integration-rar.html](http://www.mirorii.com/fichier/32/671819/highslide-integration-rar.html)
 *  [Andrew Nacin](https://wordpress.org/support/users/nacin/)
 * (@nacin)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256466)
 * If this plugin is in the WordPress.org plugin directory and the plugin is abandoned,
   I am happy to reassign it to a new owner.
 * This plugin should probably work as-is with 3.5, but I have a feeling it is doing
   something weird that is tied to the old uploader, and that is no longer working.
   I need to see the code to be for certain.
 *  Thread Starter [mathis@Tambour](https://wordpress.org/support/users/mathistambour/)
 * (@mathistambour)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256467)
 * Thanks for your help.
    And yes, my websites use this plugins, so if i can, i 
   will appropriate this plugin !

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Problem media_send_to_editor’ is closed to new replies.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 10 replies
 * 3 participants
 * Last reply from: [mathis@Tambour](https://wordpress.org/support/users/mathistambour/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/problem-media_send_to_editor/#post-3256467)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
