I think this is the real key here:<div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><b><span style>*Neither* the parent nor the child should be attempting to adjust the</span><br style><span style>background image in the style.css file at this point.</span></b></blockquote>
</div><div><br></div><div>The only real issue is: right now, Themes are *not* required to support custom backgrounds. Should custom-background support criticality be bumped up from *recommended* to *required*?</div><div><br>
</div><div>Chip<br><br><div class="gmail_quote">On Mon, Jun 11, 2012 at 1:49 PM, Otto <span dir="ltr">&lt;<a href="mailto:otto@ottodestruct.com" target="_blank">otto@ottodestruct.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think you&#39;ve got this backwards, man.<br>
<br>
Child theme&#39;s have their functions.php files executed first. So if<br>
they call add_theme_support(&#39;custom_background,$args); with the<br>
$args[&#39;default-image&#39;] set, then they can easily override the default<br>
image of the parent theme. Look at how add_theme_support handles<br>
multiple calls.<br>
<br>
In other words, if child has this:<br>
add_theme_support( &#39;custom_background, array( &#39;default-image&#39;=&gt;&#39;foo&#39; ) );<br>
<br>
and the parent has this:<br>
add_theme_support( &#39;custom_background, array( &#39;default-image&#39;=&gt;&#39;bar&#39; ) );<br>
<br>
Then the default image will be &quot;foo&quot;.<br>
<br>
*Neither* the parent nor the child should be attempting to adjust the<br>
background image in the style.css file at this point.<br>
Custom-backgrounds mean that the background is chosen by the user, not<br>
by the theme. The theme is defining defaults and letting the user<br>
choose. Attempting to change it in the style.css file directly isn&#39;t<br>
letting the user choose anymore.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Otto<br>
</font></span><div class="im HOEnZb"><br>
<br>
On Mon, Jun 11, 2012 at 1:33 PM, Philip M. Hofer (Frumph)<br>
&lt;<a href="mailto:philip@frumph.net">philip@frumph.net</a>&gt; wrote:<br>
</div><div class="HOEnZb"><div class="h5">&gt; Because of the coding of how appearance -&gt; background works in 3.4 there is<br>
&gt; going to be a problem with &#39;parent&#39; themes setting default images and colors<br>
&gt; to their theme. (probably just images from what I read)<br>
&gt;<br>
&gt; The problem:<br>
&gt;<br>
&gt; If a parent theme sets an image as a default in the $args,  it will forever<br>
&gt; then be required to use the appearance -&gt; background<br>
&gt;<br>
&gt; Why:<br>
&gt;<br>
&gt; Order of execution, even if you remove the background image and color from<br>
&gt; the background -&gt; appearance it still sets background-image: none;  even<br>
&gt; after cleared.<br>
&gt;<br>
&gt; What this does?<br>
&gt;<br>
&gt; This makes it so that any image set from the style.css either child theme or<br>
&gt; parent theme or even plugin will be ignored completely.<br>
&gt;<br>
&gt; -------<br>
&gt;<br>
&gt; What we need to look for.<br>
&gt;<br>
&gt; If the theme in question ever wants to have child themes associated with it,<br>
&gt; then the main theme must *not* set defaults in the $args in 3.4<br>
&gt;<br>
&gt; Since we want everyone to be child theme capable.   Then if any defaults are<br>
&gt; set in the parent theme they need to be removed or child themes simply will<br>
&gt; not work when setting a new image for that child theme.<br>
&gt;<br>
&gt;<br>
&gt; ---<br>
&gt;<br>
&gt; This might change if the logic changes before release, but this is how it is<br>
&gt; right now.  according to:<br>
&gt;<br>
&gt; <a href="http://core.trac.wordpress.org/ticket/20448" target="_blank">http://core.trac.wordpress.org/ticket/20448</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; theme-reviewers mailing list<br>
&gt; <a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
&gt; <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
_______________________________________________<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></div>