]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/custom-background.php
Wordpress 3.1.3-scripts
[autoinstalls/wordpress.git] / wp-admin / custom-background.php
index e3fc23eb44a68cf45b10a9a3fe8fa0cb55a1705b..530cb9e4a567ca13f70c4761c706b9ed89e36176 100644 (file)
@@ -337,7 +337,8 @@ if ( get_background_image() ) {
                        'post_title' => $filename,
                        'post_content' => $url,
                        'post_mime_type' => $type,
-                       'guid' => $url
+                       'guid' => $url,
+                       'context' => 'custom-background'
                );
 
                // Save the data