Title: Hack particular default editor
Last modified: August 19, 2016

---

# Hack particular default editor

 *  [yan73](https://wordpress.org/support/users/yan73/)
 * (@yan73)
 * [16 years ago](https://wordpress.org/support/topic/hack-particular-default-editor/)
 * Hi! first excuse if my english is terrible! i’m Italian, we are the people of
   english negation, we have a education system famous in the world… 🙂
    A greeting
   and thanks for those who want to help me, I am not a naive webmasters, chew good
   xhtml / css! and php enough (it is not enough … apparently)
 * Location:
    – All plugins have been disabled (never use them unless necessary,
   I prefer the solutions code) – I set a standard theme, to see if the theme was
   developed (though I started from scratch on white template, I did it for the 
   sake) – Virtual server linux – site/blog Still testing locally
 * my problem:
 * using the html editor defoult by pasting this code in the form of the article:
 * <object id=”myId” classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width=”
   600″ height=”260″>
    <param name=”movie” value=”[http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221](http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221);/
   > <!–[if !IE]>–> <object type=”application/x-shockwave-flash” data=”[http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221](http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221);
   width=”600″ height=”260″> <!–<![endif]–> Alternative content <!–[if !IE]>–> </
   object> <!–<![endif]–> </object>
 * and using the header:
    //disable wptexturize <?php remove_filter(‘the_content’,‘
   wptexturize’); ?> to avoid trouble of replacing characters
 * html output is:
 * <p>
    <object id=”myId” classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ width
   =”600″ height=”260″> <param name=”movie” value=”[http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221](http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221);/
   > <!–[if !IE]>–> </object> <object type=”application/x-shockwave-flash” data=”
   [http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221](http://localhost/wordpress/wp-content/uploads/2010/05/dear_john.swf&#8221);
   width=”600″ height=”260″> <!–<![endif]–> Alternative content <!–[if !IE]>–> </
   object> <!–<![endif]–> </p>
 * as you can see the end tag “</ object>” was made shortly after this “<!–[ if!
   IE ]>–>” while what I needed was that the object were nested one inside the ‘
   another, to use the validation system with SWFObject 2.0 static system
    which
   serves to validate the flash. someone tell me why the editor automatically closes
   the object? before the opening of the second <object> that should be inside? 
   because the html is not as expected? All formatting tags like </ p> I do not 
   bother, I know how to avoid those, but the object tag so do not know why, do 
   research on international sites for a week and am a little disheartened, there
   seems a big problem, something is bound to the editor that closes a tag I do 
   not know why. I have already tested other editors, the behavior does not change
   compared to defoult, so if you have any idea that does not prove one or the other
   plugins, unless you know something I do not know and I owe you because life hehe
   I do not know where to turn, and reading skills of many people in this forum 
   hoping for help, well thanks to all. I will not break if not answer, not the 
   type, I just hope someone has an idea and I can help. see you soon and thanks

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

 *  [protop](https://wordpress.org/support/users/protop/)
 * (@protop)
 * [16 years ago](https://wordpress.org/support/topic/hack-particular-default-editor/#post-1497060)
 * do you have mod_security enabled on your server? you might need to add a few 
   exceptions to your modsec rules so that code doesn’t get filtered.
 *  Thread Starter [yan73](https://wordpress.org/support/users/yan73/)
 * (@yan73)
 * [16 years ago](https://wordpress.org/support/topic/hack-particular-default-editor/#post-1497135)
 * thank for the idea 😉 but…. Sorry the server is not the problem, I have tested
   now a file .php with the echo of the post (with incriminated and problematic 
   tag <object>) without wordpress editor, and the code is ok, the problem is the
   filter code that modify the content of post!

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

The topic ‘Hack particular default editor’ is closed to new replies.

 * 2 replies
 * 2 participants
 * Last reply from: [yan73](https://wordpress.org/support/users/yan73/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/hack-particular-default-editor/#post-1497135)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
