{"id":28842,"date":"2014-04-15T02:17:07","date_gmt":"2014-04-15T02:17:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/removekses\/"},"modified":"2014-04-15T04:49:32","modified_gmt":"2014-04-15T04:49:32","slug":"removekses","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/removekses\/","author":13770652,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"3.7.41","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Remove Kses","header_author":"AUSWEB, drewsymo","header_description":"","assets_banners_color":"8f7b73","last_updated":"2014-04-15 04:49:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/ausweb.com.au","header_author_uri":"http:\/\/ausweb.com.au","rating":4,"author_block_rating":0,"active_installs":10,"downloads":1367,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":"1","4":0,"5":"1"},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"893368","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[6565,53444,2255],"plugin_category":[],"plugin_contributors":[92851,92852],"plugin_business_model":[],"class_list":["post-28842","plugin","type-plugin","status-closed","hentry","plugin_tags-kses","plugin_tags-unfiltered_html","plugin_tags-wpmu","plugin_contributors-auswebhosting","plugin_contributors-drewsymorris","plugin_committers-auswebhosting","plugin_committers-drewsymorris"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/removekses_8f7b73.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin will disable WordPress KSES filtering for the WordPress editor role. It is fully compatible with MU.<\/p>\n\n<p>You can customise this plugin to disable KSES for any WordPress role. Please refer to the plugin <a href=\"http:\/\/wordpress.org\/plugins\/removekses\/faq\/\">FAQ<\/a> for more information.<\/p>\n\n<p><strong>Note:<\/strong> Disabling KSES for the <em>editor<\/em> role is unnecessary in regular WordPress and is only intended for MU installations (where it is enabled).<\/p>\n\n<p><a href=\"http:\/\/ausweb.com.au\/\">Company Website<\/a><\/p>\n\n<!--section=installation-->\n<p>RemoveKses is trivial to install:<\/p>\n\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I add more roles?<\/dt>\n<dd><p>This plugin can be easily customised to remove KSES for more than just the <code>editor<\/code> role.\nSimply open the <code>removekses.php<\/code> file and uncomment the relevant lines:<\/p>\n\n<pre><code>$editor       = new RemoveKses(get_role(\"editor\")); \/\/ Remove KSES for Editor roles\n$author       = new RemoveKses(get_role(\"author\")); \/\/ Remove KSES for Author roles\n$contributor  = new RemoveKses(get_role(\"contributor\")); \/\/ Remove KSES for contributor roles\n$subscriber   = new RemoveKses(get_role(\"subscriber\")); \/\/ Remove KSES for subscriber roles\n<\/code><\/pre><\/dd>\n<dt>How does it work?<\/dt>\n<dd><ul>\n<li>Fetches the role to be modified via the constructor <code>$myrole = new RemoveKses(get_role(\"editor\"));<\/code>.<\/li>\n<li>Adds the <code>unfiltered_html<\/code> capability to the role, if it doesn't already have it.<\/li>\n<li>Hooks <code>content_filtered_save_pre<\/code> and runs <code>kses_remove_filters()<\/code> before content is sent to the database.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Commit<\/li>\n<\/ul>","raw_excerpt":"Disables KSES for the WordPress Editor Role. Compatible with MU.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28842"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/auswebhosting"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28842"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28842"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28842"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28842"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28842"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}