Wordpress/wp-includes/js
Andrew Nacin 8c9bce5737 Do not specify background-image: none when a user removes a custom background
on a theme that has a default background image.

The onus is on the theme to omit the default background-image from style.css,
to allow the user to remove the default background image. Or, the theme can
specify a background-image for the body selector, as long as they then zero
it out for body.custom-background, like so:

{{{
body {
	background-image: url( ... );
}
body.custom-background {
	background-image: none;
}
}}}

This allows the theme to be compatible with the custom background feature
but also gracefully degrade if the background feature is disabled.

This is the same behavior as 3.3; setting a default image has simply been
made more prominent in 3.4. Reverts [21013], also parts of [21001].
see #20448 for change and discussion history.

see #20132, which will now be marked as invalid.

Also, per previous changes in #20448, the custom-background class should not
be shown when only a default color is in use.

fixes #20448.



git-svn-id: https://develop.svn.wordpress.org/trunk@21054 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 21:25:05 +00:00
..
crop
imgareaselect Compress scripts/styles: 3.4-beta3-20603. 2012-04-25 21:58:24 +00:00
jcrop Recompress some JS scripts that were done without YUI munging. 2011-01-13 08:04:58 +00:00
jquery Compress scripts/styles: 3.4-RC2-21036. 2012-06-09 15:58:24 +00:00
plupload Compress scripts/styles: 3.4-RC1-21015. 2012-06-06 21:51:13 +00:00
scriptaculous Update Prototype.js to 1.6.1 and remove the second copy of it from wp-includes/js/scriptaculous, update Scriptaculous.js to 1.8.3, props Simek, fixes #11041 2009-12-27 22:30:58 +00:00
swfupload Update swfobject 2012-04-18 13:36:32 +00:00
thickbox Rename the problematic "unload" event in Thickbox to "tb_unload", making it a true custom event, fixes #19189 2011-11-26 17:49:50 +00:00
tinymce Image captions: change query arg in the Edit Image iframe HTML to refresh browser cache, see #18311 2012-05-18 23:09:59 +00:00
admin-bar.dev.js Click empty toolbar to scroll to top, props ericmann, fixes #18758 2012-02-06 23:17:28 +00:00
admin-bar.js Compress scripts/styles: 3.4-alpha-19847. 2012-02-06 23:31:17 +00:00
autosave.dev.js Use one space, not two, after trailing punctuation. fixes #19537 2011-12-13 23:45:31 +00:00
autosave.js Prevent error in autosave for CPTs without title or editor, props sorich87, fixes #18227 2011-11-29 18:06:56 +00:00
colorpicker.dev.js
colorpicker.js
comment-reply.dev.js
comment-reply.js
customize-base.dev.js Theme Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects. fixes #20892. 2012-06-08 22:59:48 +00:00
customize-base.js Compress scripts/styles: 3.4-RC2-21034. 2012-06-08 23:02:40 +00:00
customize-loader.dev.js Customizer: fix stuck urls and preview white screens after repeated save and activates. Props koopersmith. fixes #20868 2012-06-08 18:52:44 +00:00
customize-loader.js Compress scripts/styles: 3.4-RC2-21030. 2012-06-08 18:58:24 +00:00
customize-preview.dev.js Do not specify background-image: none when a user removes a custom background 2012-06-11 21:25:05 +00:00
customize-preview.js Compress scripts/styles: 3.4-RC1-21015. 2012-06-06 21:51:13 +00:00
hoverIntent.dev.js hoverIntent r6. fixes #19311. 2011-12-20 20:54:54 +00:00
hoverIntent.js '3.4-alpha-19618' 2011-12-21 04:22:21 +00:00
json2.dev.js Update json2.js, props niallkennedy, fixes #16669 2011-04-21 22:21:27 +00:00
json2.js Update json2.js, props niallkennedy, fixes #16669 2011-04-21 22:21:27 +00:00
prototype.js Update Prototype.js to 1.6.1 and remove the second copy of it from wp-includes/js/scriptaculous, update Scriptaculous.js to 1.8.3, props Simek, fixes #11041 2009-12-27 22:30:58 +00:00
quicktags.dev.js Add RTL/LTR button to the html editor, props yoavf, fixes #13070 2012-04-12 17:52:54 +00:00
quicktags.js Compress scripts/styles: 3.4-beta2-20452. 2012-04-12 17:58:20 +00:00
swfobject.js Update swfobject 2012-04-17 23:09:29 +00:00
tw-sack.dev.js
tw-sack.js
wp-ajax-response.dev.js Fix removal of .form-invalid in IE, props aldenta, fixes #11181 2009-11-19 10:24:14 +00:00
wp-ajax-response.js Fix removal of .form-invalid in IE, props aldenta, fixes #11181 2009-11-19 10:24:14 +00:00
wp-list-revisions.dev.js Trailing whitespace cleanup 2010-01-15 22:11:12 +00:00
wp-list-revisions.js Improve the revision comparison user interface to hilight that we compare "old on left" to "new on right". Includes some js to hide the radio buttons to stop you selecting reverse comparisions. 2009-12-23 09:15:13 +00:00
wp-lists.dev.js Fix updating of custom fields, fixes #17483 2011-05-21 14:38:56 +00:00
wp-lists.js Fix updating of custom fields, fixes #17483 2011-05-21 14:38:56 +00:00
wp-pointer.dev.js Improve pointer collision handling. fixes #19021. 2012-01-08 22:53:05 +00:00
wp-pointer.js Compress scripts/styles: 3.4-alpha-19715. 2012-01-08 22:54:51 +00:00
wplink.dev.js Fix inserting links in the HTML editor in IE9, fixes #19528 2012-04-11 00:20:42 +00:00
wplink.js Compress scripts/styles: 3.4-beta1-20429. 2012-04-11 00:58:23 +00:00