This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
_s/inc
Michael Fields c30057cd92 _s: Only set theme options if necessary. fixes #1151
* Remove call to add_option() during admin_init.
* Rework _s_get_theme_options() so that it merges default values into the stored settings.
* Rework _s_theme_options_validate() to only return recognized values if they are present in the $_POST request - only store what is absolutely necessary.
* Updated the docs in a few places.
* Note: _s now requires PHP5. see L161 array_intersect_key().


git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9483 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-23 21:35:30 +00:00
..
theme-options _s: Only set theme options if necessary. fixes #1151 2012-04-23 21:35:30 +00:00
custom-header.php _s: adding a sample custom header, commented out 2012-01-31 20:18:40 +00:00
template-tags.php _s: Adding ARIA navigation roles to the all the nav elements 2012-02-03 14:22:08 +00:00
tweaks.php Merge branch 'master' of github.com:Automattic/_s 2012-02-29 15:43:18 +00:00
wpcom.php _s: needs to be declared globally. 2012-02-17 22:34:53 +00:00