[theme-reviewers] Updating Custom Backgrounds and Custom Headers for WordPress 3.4

David Law wp-hackers at google-adsense-templates.co.uk
Tue Apr 17 12:04:43 UTC 2012


On Mon, 16 Apr 2012 21:19:02 -0500, you wrote:

>Anyone ready to write something about Notice: get_theme_data is deprecated since version 3.4! as well? That one is over my head :)
>Emil

I'm using

global $wp_version;
if ($wp_version >= '3.4') {
$themes = wp_get_themes();
}else{
$themes = get_themes();
}


Depending on where this is added you might not need global
$wp_version;

David
-- 
http://www.stallion-theme.com/ Stallion WordPress SEO Theme
http://www.stallion-theme.com/stallion-wordpress-seo-plugin Stallion
WordPress SEO Plugin


More information about the theme-reviewers mailing list