{"id":6726,"date":"2009-09-28T23:04:11","date_gmt":"2009-09-28T23:04:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/xhtml5-support\/"},"modified":"2010-02-12T21:07:03","modified_gmt":"2010-02-12T21:07:03","slug":"xhtml5-support","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/xhtml5-support\/","author":186678,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.4","stable_tag":"trunk","tested":"2.9.2","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"XHTML5 Support","header_author":"Weston Ruter","header_description":"","assets_banners_color":"","last_updated":"2010-02-12 21:07:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/xhtml5-support\/","header_author_uri":"http:\/\/weston.ruter.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1570,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[203,72860,1652],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-6726","plugin","type-plugin","status-publish","hentry","plugin_tags-html5","plugin_tags-shim","plugin_tags-xhtml","plugin_committers-westonruter"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/xhtml5-support.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><em>This plugin is developed at <a href=\"http:\/\/www.shepherd-interactive.com\/\" title=\"Shepherd Interactive specializes in web design and development in Portland, Oregon\">Shepherd Interactive<\/a>\nfor the benefit of the community. No support is available. Please post any questions to the <a href=\"http:\/\/wordpress.org\/tags\/xhtml5-support?forum_id=10\">support forum<\/a>.<\/em><\/p>\n <p>Allows templates to serve XHTML5 markup by adding the necessary JavaScript shim for IE7+, and for IE6 by converting all new elements to <code>div<\/code>s and <code>span<\/code>s with class names that contain the original HTML5 element name prefixed by \"<code>html5-<\/code>\", for example: <code>&lt;article&gt;<\/code> becomes <code>&lt;div class=\"html5-article\"&gt;<\/code>\nand <code>&lt;time&gt;<\/code> becomes <code>&lt;span class=\"html5-time\"&gt;<\/code><\/p>\n <p>If the browser supports XHTML, the content is served with the <code>application\/xhtml+xml<\/code>\nMIME type. This can be disabled by placing <code>remove_filter('option_html_type', 'xhtml5support_filter_html_type')<\/code>\nin <code>functions.php<\/code>.<\/p>\n <p>Note that print stylesheets do not get applied to IE7+ even with the shim, so if you are relying on the ability for IE users to print properly-styled pages, you must force the IE6 renaming behavior for all versions of IE by doing <code>update_option('xhtml_support_add_msie_shims', false);<\/code><\/p>\n\n<!--section=changelog-->\n<h4>2010-02-12: 0.2.4<\/h4>\n <ul>\n<li>Removed <code>pre<\/code> from the list of new HTML5 block elements<\/li>\n<\/ul>\n <h4>2010-01-22: 0.2.3<\/h4>\n <ul>\n<li>Preventing behavior when at a \"\/wp-*\" url<\/li>\n<li>Preventing <code>xhtml5support_filter_html_type<\/code> if <code>empty($_SERVER['HTTP_ACCEPT'])<\/code><\/li>\n<\/ul>\n <h4>2009-09-28: 0.2.2<\/h4>\n <ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Allows templates to serve XHTML5 markup by adding the necessary JavaScript shim for IE7+ and by converting all new elements to divs and spans with app &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6726","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=6726"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/westonruter"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6726"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6726"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6726"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6726"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6726"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}