Supporting older WordPress versions in a Plugin/Theme? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more

How to remove the WordPress version from some .css/.js files

I know that I can use the following function to remove the version from all .css and .js files: add_filter( ‘style_loader_src’, ‘sdt_remove_ver_css_js’, 9999 ); add_filter( ‘script_loader_src’, ‘sdt_remove_ver_css_js’, 9999 ); function sdt_remove_ver_css_js( $src ) { if ( strpos( $src, ‘ver=” ) ) $src = remove_query_arg( “ver’, $src ); return $src; } But I have some files, … Read more

What is the importance of writing a < WP 3.x compatible plugin nowadays?

I am currently writing a simple-ish plugin with custom posts and a couple functions, using post metadata and adding a couple of variables to the “options” table in the database. During my research, I saw some references in the WP Codex about making the plugin backwards compatible with versions before WP 3.x and I was … Read more