This plugin basically just consists of one function, that extends the functionality of WordPress own wpautop function..
This plugin deactivates the standard wpautop function and replaces it with version of that plugin.
Upon activation of this plugin you'll have access to the filter, which gives you the ability to extend, modify and enhance the array of standard elements.
With that plugin you could place this function into the theme functions php, Images and Iframes will no longer be wrapped in paragraphs...
Upload the plugin to the wp-content plugins directory.
Activate the plugin through 'Plugins WordPress.
But always consider the risk of overwriting newer, better and updated version of wpautop.
If you do adopt this function, be sure to check the original wpautop function upon every WordPress release and keep the function up to date...
But I've seen enough occasions of this functionality being necessity, that's why I'm lobbying to implement it into WP Core.
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more