Commit Graph

10 Commits

Author SHA1 Message Date
Lance Willett 098bacfe24 Merge pull request #26 from SimpliZine/patch-1
Add missing attribute assignment equals sign, props SimpliZine.
2012-08-06 16:19:17 -07:00
Lance Willett 587d0c2da1 Merge pull request #22 from jasongottschalk/incorrect-value-select-options-array
Fixed incorrect value in select options array. Props jasongottschalk.
2012-08-06 16:12:08 -07:00
SimpliZine d56ae9234d Line #172: Added missing '=' in '<label for="sample-checkbox">'. 2012-07-02 17:38:46 +02:00
Jason Gottschalk 5f44856a45 Fixed incorrect value in select options array. 2012-06-06 14:01:50 -03:00
Michael Fields 6a0c5d2d78 _s: WordPress coding standards. Cleanup whitespace. props @corvannoorloos
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9648 d957f892-c61d-0410-b221-f235e6eecf30
2012-05-26 23:43:53 +00:00
Michael Fields c4a02323c6 _s: Remove notice in Theme Options screen in WordPress 3.4. props @corvannoorloos
* Replace deprecated get_current_theme() with wp_get_theme()
 * Providing back-compat with prior versions of WordPress.


git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9647 d957f892-c61d-0410-b221-f235e6eecf30
2012-05-26 23:39:53 +00:00
Michael Fields 2cd6317a4e _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-24 14:38:15 -05:00
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
Ian Stewart 32cdefb9ac _s: removing reference to a help doc that isn't there and an unneeded variable check
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8941 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 17:39:26 +00:00
Ian Stewart 803ddfe86c _s: incorporating a revamped version of our sample theme options 2012-01-13 04:02:59 +00:00