[theme-reviewers] Best practice CSS options

Tammie Lister karmatosed at gmail.com
Sun May 8 18:17:27 UTC 2011


I've got an issue on a ticket that I can recreate however the theme owner can't. 

I would appreciate another reviewer casting their eyes over this ticket - thank you in advance:

http://themes.trac.wordpress.org/ticket/3803

Specifically this:

" Again I could not save projects:
Notice: Undefined variable: client_name in /Applications/MAMP/htdocs/themetestwp/wp-content/themes/showcase/functions.php on line 133 Notice: Undefined variable: post_mantle in /Applications/MAMP/htdocs/themetestwp/wp-content/themes/showcase/functions.php on line 139 Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/themetestwp/wp-content/themes/showcase/functions.php:133) in /Applications/MAMP/htdocs/themetestwp/wp-includes/pluggable.php on line 897" 
Problem was also on previous ticket: http://themes.trac.wordpress.org/ticket/3741

Regards,
Tammie Lister

On Saturday, 7 May 2011 at 18:24, Otto wrote: 
> On Sat, May 7, 2011 at 11:32 AM, Tony Crockford <tonyc at boldfish.co.uk> wrote:
> > Thus eliminating any database requests to find the css values, if you see what I mean.
> 
> If you use the theme mod system or the Settings API, then there are
> no extra database requests. The settings in the options are
> autoloaded at the start of the request and cached into memory. Pulling
> from those with a get_option or get_theme_mod call doesn't hit the
> database.
> 
> -Otto
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110508/b0f56d83/attachment.htm>


More information about the theme-reviewers mailing list