Meh ... not enough coffee this morning (*grin*)<br><br>Here is a link to my GitHub repository for Desk Mess Mirrored: <a href="https://github.com/Cais/desk-mess-mirrored/blob/master/functions.php#L218">https://github.com/Cais/desk-mess-mirrored/blob/master/functions.php#L218</a><br>

<br>The `dmm_theme_version` function uses `get_theme_data` pre-3.4-alpha and `wp_get_theme` afterward.<br>Although it did allow for a bit of simplification that I should have already wrote, it really does not take much to &quot;convert&quot; the get_theme_data usage to wp_get_theme.<br>

<br>It does get a bit more convoluted when dealing with multiple themes, but not too much more ... although I haven&#39;t had a use-case to work with yet.<br><br><br clear="all">Cais.<br>
<br><br><div class="gmail_quote">On Tue, Apr 17, 2012 at 8:04 AM, David Law <span dir="ltr">&lt;<a href="mailto:wp-hackers@google-adsense-templates.co.uk">wp-hackers@google-adsense-templates.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, 16 Apr 2012 21:19:02 -0500, you wrote:<br>
<br>
&gt;Anyone ready to write something about Notice: get_theme_data is deprecated since version 3.4! as well? That one is over my head :)<br>
&gt;Emil<br>
<br>
</div>I&#39;m using<br>
<br>
global $wp_version;<br>
<div class="im">if ($wp_version &gt;= &#39;3.4&#39;) {<br>
</div>$themes = wp_get_themes();<br>
}else{<br>
$themes = get_themes();<br>
}<br>
<br>
<br>
Depending on where this is added you might not need global<br>
$wp_version;<br>
<div class="im HOEnZb"><br>
David<br>
--<br>
<a href="http://www.stallion-theme.com/" target="_blank">http://www.stallion-theme.com/</a> Stallion WordPress SEO Theme<br>
<a href="http://www.stallion-theme.com/stallion-wordpress-seo-plugin" target="_blank">http://www.stallion-theme.com/stallion-wordpress-seo-plugin</a> Stallion<br>
WordPress SEO Plugin<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div></div></blockquote></div><br>