Created
December 8, 2012 02:16
-
-
Save norcross/4238211 to your computer and use it in GitHub Desktop.
WP version check
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// do a version check | |
$version = get_bloginfo('version'); | |
if ($version < 3.5) { | |
//do whatever you were doing before | |
} else { | |
// do something new for the swanky 3.5 UI | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment