{"id":319924,"date":"2015-03-25T10:37:08","date_gmt":"2015-03-25T09:37:08","guid":{"rendered":"https:\/\/wp-rocket.me\/blog\/?p=378"},"modified":"2019-07-22T12:15:47","modified_gmt":"2019-07-22T10:15:47","slug":"backward-compatibility-isnt-good","status":"publish","type":"post","link":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/","title":{"rendered":"Backward Compatibility &#8211; Is It A Good Idea?"},"content":{"rendered":"<p>WP Rocket has been\u00a0backward compatible to WordPress 3.1 since version 1.0. We designed the plugin for almost everyone, even if you can&#8217;t update your website.<\/p>\n<p>Similarly,\u00a0WordPress itself is backward compatible to PHP 5.2.4.<\/p>\n<h2>What is Backward Compatibility?<\/h2>\n<p>In cases where one piece of software relies on another piece of software (or other component) in order to function &#8211; such as how WordPress relies on PHP &#8211; backward compatibility means that you can still use a piece of software even if the other required components are not updated to the latest version.<\/p>\n<p>So you can still run WordPress even if your version of PHP is not up-to-date. Likewise you can still run WP Rocket even if your version of WordPress is not the absolute latest.<\/p>\n<p>The goal, <strong>when you develop something with backward compatibility in mind, is that your product\/service can be used by more people<\/strong>, even if they&#8217;re not using the latest\u00a0components your product\u00a0may\u00a0require.<\/p>\n<h2>Sounds Reasonable, But Why is it\u00a0Not a Good Idea?<\/h2>\n<p>It sounds good &#8211; more people means more customers &#8211; all you have to do is to be sure that your code can be used in many previous versions and you have to find a fallback function or something to &#8220;patch&#8221; this lack.<\/p>\n<p>Why is this not so good? Because <strong>you\u00a0always have to check that what you&#8217;re\u00a0doing can be used with\u00a0older versions<\/strong>. So with every release it becomes more work to\u00a0maintain.<\/p>\n<p>Over time this creates a halting effect on the code that makes it nearly impossible to clean up and &#8220;make things better&#8221;.<\/p>\n<p>In regards to\u00a0WordPress, PHP 5.2.4 is not maintained and not recommended. So, even though\u00a0WordPress can actually work with 5.2.4, \u00a0I recommend you use PHP 5.4+.<\/p>\n<p>In the case of WP Rocket,\u00a0trying to make the <a title=\"Why Are we Disabling the Auto-Update Option?\" href=\"https:\/\/wp-rocket.me\/blog\/why-we-disable-the-autoupdate-option\/\">auto update feature backward compatible<\/a> was a bad idea, and I\u00a0didn&#8217;t want to include all the code from WordPress 3.7.<\/p>\n<h2>Forward Thinking, Forward Compatibility<\/h2>\n<p>I think that we&#8217;ll ease off about the backward compatibility and not worry about\u00a0trying to make everything work for a lower version of something else.<\/p>\n<p>Instead of thinking only about backward compatibility, we&#8217;ll try to think also about <em>forward compatibility<\/em>, much more clever than just backward.<\/p>\n<p><strong>Forward compatibility means that you&#8217;ll have in mind the future of the code, not just past and present<\/strong>. The goal is to avoid unnecessary\u00a0backward compatibility.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WP&nbsp;Rocket has been Backward Compatible to WordPress 3.1 since day 1. Let us explain our thoughts about this, and why we have all to think about Forward Compatibility too.<\/p>\n","protected":false},"author":2,"featured_media":410,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"kia_subtitle":"","footnotes":""},"categories":[62],"tags":[],"class_list":["post-319924","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-inside-wp-rocket"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Backward Compatibility - Is It A Good Idea?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Backward Compatibility - Is It A Good Idea?\" \/>\n<meta property=\"og:description\" content=\"WP&nbsp;Rocket has been Backward Compatible to WordPress 3.1 since day 1. Let us explain our thoughts about this, and why we have all to think about Forward Compatibility too.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Rocket\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-25T09:37:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-22T10:15:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Julio Potier\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:site\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julio Potier\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/\"},\"author\":{\"name\":\"Julio Potier\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/312ef40ed9eee343e2bc73b58f942e98\"},\"headline\":\"Backward Compatibility &#8211; Is It A Good Idea?\",\"datePublished\":\"2015-03-25T09:37:08+00:00\",\"dateModified\":\"2019-07-22T10:15:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/\"},\"wordCount\":403,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg\",\"articleSection\":[\"Inside WP Rocket\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/\",\"url\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/\",\"name\":\"Backward Compatibility - Is It A Good Idea?\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg\",\"datePublished\":\"2015-03-25T09:37:08+00:00\",\"dateModified\":\"2019-07-22T10:15:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg\",\"width\":800,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wp-rocket.me\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Inside WP Rocket\",\"item\":\"https:\/\/wp-rocket.me\/blog\/inside-wp-rocket\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Backward Compatibility &#8211; Is It A Good Idea?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wp-rocket.me\/#website\",\"url\":\"https:\/\/wp-rocket.me\/\",\"name\":\"WP Rocket\",\"description\":\"Plugin d&#039;optimisation de sites WordPress\",\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wp-rocket.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wp-rocket.me\/#organization\",\"name\":\"WP Rocket\",\"url\":\"https:\/\/wp-rocket.me\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"width\":150,\"height\":41,\"caption\":\"WP Rocket\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\",\"https:\/\/x.com\/wp_rocket\",\"https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/312ef40ed9eee343e2bc73b58f942e98\",\"name\":\"Julio Potier\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f24d579aedc56a2178591e8681ffedb1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f24d579aedc56a2178591e8681ffedb1?s=96&d=mm&r=g\",\"caption\":\"Julio Potier\"},\"description\":\"Creator of SecuPress, Julio is also co-organisator of WordCamp Paris. Compulsive speaker and WordPress expert, he's a specialist in security since 2002 and contribute to WordPress various ways.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Backward Compatibility - Is It A Good Idea?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/","og_locale":"en_US","og_type":"article","og_title":"Backward Compatibility - Is It A Good Idea?","og_description":"WP&nbsp;Rocket has been Backward Compatible to WordPress 3.1 since day 1. Let us explain our thoughts about this, and why we have all to think about Forward Compatibility too.","og_url":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/","og_site_name":"WP Rocket","article_publisher":"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","article_published_time":"2015-03-25T09:37:08+00:00","article_modified_time":"2019-07-22T10:15:47+00:00","og_image":[{"width":800,"height":300,"url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg","type":"image\/jpeg"}],"author":"Julio Potier","twitter_card":"summary_large_image","twitter_creator":"@wp_rocket","twitter_site":"@wp_rocket","twitter_misc":{"Written by":"Julio Potier","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#article","isPartOf":{"@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/"},"author":{"name":"Julio Potier","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/312ef40ed9eee343e2bc73b58f942e98"},"headline":"Backward Compatibility &#8211; Is It A Good Idea?","datePublished":"2015-03-25T09:37:08+00:00","dateModified":"2019-07-22T10:15:47+00:00","mainEntityOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/"},"wordCount":403,"commentCount":2,"publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg","articleSection":["Inside WP Rocket"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/","url":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/","name":"Backward Compatibility - Is It A Good Idea?","isPartOf":{"@id":"https:\/\/wp-rocket.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg","datePublished":"2015-03-25T09:37:08+00:00","dateModified":"2019-07-22T10:15:47+00:00","breadcrumb":{"@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#primaryimage","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2\/keyboard-old-technology-2318.jpg","width":800,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/wp-rocket.me\/blog\/backward-compatibility-isnt-good\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp-rocket.me"},{"@type":"ListItem","position":2,"name":"Inside WP Rocket","item":"https:\/\/wp-rocket.me\/blog\/inside-wp-rocket\/"},{"@type":"ListItem","position":3,"name":"Backward Compatibility &#8211; Is It A Good Idea?"}]},{"@type":"WebSite","@id":"https:\/\/wp-rocket.me\/#website","url":"https:\/\/wp-rocket.me\/","name":"WP Rocket","description":"Plugin d&#039;optimisation de sites WordPress","publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp-rocket.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wp-rocket.me\/#organization","name":"WP Rocket","url":"https:\/\/wp-rocket.me\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","width":150,"height":41,"caption":"WP Rocket"},"image":{"@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","https:\/\/x.com\/wp_rocket","https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q"]},{"@type":"Person","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/312ef40ed9eee343e2bc73b58f942e98","name":"Julio Potier","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f24d579aedc56a2178591e8681ffedb1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f24d579aedc56a2178591e8681ffedb1?s=96&d=mm&r=g","caption":"Julio Potier"},"description":"Creator of SecuPress, Julio is also co-organisator of WordCamp Paris. Compulsive speaker and WordPress expert, he's a specialist in security since 2002 and contribute to WordPress various ways."}]}},"_links":{"self":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/319924"}],"collection":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/comments?post=319924"}],"version-history":[{"count":0,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/319924\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media\/410"}],"wp:attachment":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media?parent=319924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/categories?post=319924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/tags?post=319924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}