--- On Fri, 9/7/12, Deanna Riddlespur <dridd...@students.chattahoocheetech.edu> wrote:
Hey Deanna, My prob was that IK could not get my affilikate links on the site, and I had a lot, so... I had to get a website where I could try and keep up with the product links coming in. That was my concern being an affiliate marketer. If you can help me with the blog site- realijun.me, then write me with a solution. Thanks, Capn Richard From: Deanna Riddlespur <dridd...@students.chattahoocheetech.edu> Subject: Re: [wp-testers] Error in Twenty Twelve Theme with add_custom_background To: "wp-testers@lists.automattic.com" <wp-testers@lists.automattic.com> Date: Friday, September 7, 2012, 11:11 AM Did you get it worked out? ________________________________________ From: wp-testers-boun...@lists.automattic.com [wp-testers-boun...@lists.automattic.com] on behalf of Aero Maxx [aero.max...@gmail.com] Sent: Tuesday, March 20, 2012 8:57 PM To: wp-testers@lists.automattic.com Subject: [wp-testers] Error in Twenty Twelve Theme with add_custom_background Hi Everyone, Unsure if this is the correct place, but I just downloaded the latest.zip file from the wordpress site, and there seems to be an issue with the twenty twelve that was in it. It complains about the deprecated use of add_custom_background and to use add_theme_support ( 'custom-background' ); instead. I have editted the functions.php file to use add_theme_support ( 'custom-background' ); instead, but now I get a new error. Warning: Cannot unset offset in a non-array variable in /home/daniel/public_html/development-sites/wordpress-stable.dev/web/public/wordpress/wp-includes/theme.php on line 1370 Warning: Cannot use a scalar value as an array in /home/daniel/public_html/development-sites/wordpress-stable.dev/web/public/wordpress/wp-includes/theme.php on line 1390 I'm not sure how to fix that I have looked in the wordpress code and seen where its doing the unset. > case 'custom-background' : > $defaults = array( > 'default-image' => '', > 'default-color' => '', > 'callback' => '', > 'admin-header-callback' => '', > 'admin-image-div-callback' => '', > ); > > $jit = isset( $args[0]['__jit'] ); > unset( $args[0]['__jit'] ); Thanks Daniel. _______________________________________________ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers _______________________________________________ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers _______________________________________________ wp-testers mailing list wp-testers@lists.automattic.com http://lists.automattic.com/mailman/listinfo/wp-testers