Commit Graph

98 Commits

Author SHA1 Message Date
Kirk Wight 603369e307 Corrected reference to location of _s_comment()
* _s_comment() is now located in inc/template-tags.php, rather than
functions.php as stated
2012-06-12 17:42:14 -04:00
Philip Arthur Moore 55ab0fa5d6 _s: In comments.php there's a line that reads "if comments are closed and no comments are...". Let's get rid of the "no" since comments must be present in order for the .nocomments text to be shown.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9560 d957f892-c61d-0410-b221-f235e6eecf30
2012-05-15 16:51:49 -05:00
Ian Stewart 175ef5d5e7 _s: Bumping the version number to 1.1 to reflect the last round of updates
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9497 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 14:38:15 -05:00
Michael Fields 966679f25b _s: Update Custom Header Code. fixes #1212
* Use WordPress 3.4's registration method providing backward compatibility for previous versions.
* Implement shiv for get_custom_header(). props @obenland
* Allow all custom header args to be filtered via child theme/plugin.
* Update example code in DocBlock to use get_custom_header().



git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9484 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 14:38:15 -05: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 2a0b4e7bf8 _s: Do not load $locale.php fixes #1213
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9482 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 14:38:15 -05:00
Michael Fields bd4719e73f _s: Better image filtering for self-hosted users. fixes #1216
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9481 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 14:38:15 -05:00
Michael Fields c82269d831 _s: Remove password-protected message from comments.php. fixes #1217
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9480 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 14:38:15 -05:00
Ian Stewart 1b0b0d1794 _s: Hiding a comments link while a post is password-protected cleans things up; Props michaelfields; Closes #1215
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9452 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 14:38:15 -05:00
Takashi Irie 754f07dc7f _s: Fixed a typo
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9347 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-24 14:38:15 -05:00
Ian Stewart df704f96af Merge branch 'master' of github.com:Automattic/_s 2012-04-24 13:54:57 -05:00
Ian Stewart 47a64fcca5 Add .unbind() before .click()
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9343 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-29 18:21:54 +00:00
Ian Stewart 2150be2d97 Merge pull request #15 from joshmcrty/master
The .click() event in small-menu.js that toggles the .menu element is re-bound each time the window is resized. This causes multiple .click() events to be bound to the .menu-toggle element, effectively cancelling out the .toggle() function every other time the window is resized.

By using .unbind( 'click' ) before .click(), this is no longer an issue.
2012-03-29 10:48:08 -07:00
Lance Willett fdde0031fc Merge branch 'master' of github.com:Automattic/_s 2012-03-29 09:37:04 -07:00
Ian Stewart 4984720412 Merge branch 'master' of github.com:Automattic/_s 2012-03-29 11:22:02 -05:00
Ian Stewart 43ea44cb44 _s: Simplifying search, index, and archive, with a common no posts found template part, no-results.php; Closes #1187
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9340 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-29 15:55:33 +00:00
Ian Stewart 7b04baa743 _s: Simplifying search, index, and archive, with a common no posts found template part, no-results.php; Closes #1187
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9340 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-29 15:55:33 +00:00
Josh McCarty 23d87b749a Add .unbind() before .click() 2012-03-27 22:17:50 -07:00
Takashi Irie 18df2c463c _s: Removed line-height from button/submit type input because it makes too tall on browsers except Firefox which has a bug with line-height for the type
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9282 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-20 19:50:05 +00:00
Takashi Irie 49f37d5920 _s: Removed line-height from button/submit type input because it makes too tall on browsers except Firefox which has a bug with line-height for the type
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9282 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-20 19:50:05 +00:00
Philip Arthur Moore 7d63a28723 _s: Enable support for Post Thumbnails
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9276 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-20 11:39:41 +00:00
Philip Arthur Moore f104cec482 _s: Enable support for Post Thumbnails
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9276 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-20 11:39:41 +00:00
Michael Fields c71f030c18 _s: Move post meta separators inside conditionals ensuring that separators will not be orphaned. Use consistent 'edit link' whitespace in image.php as well.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9087 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-06 14:40:49 +00:00
Michael Fields 34c55ff465 _s: Move post meta separators inside conditionals ensuring that separators will not be orphaned. Use consistent 'edit link' whitespace in image.php as well.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9087 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-06 14:40:49 +00:00
Michael Fields be34e27d04 _s: Script dependancies need to be given as an array. Remove unneeded jQuery enqueue.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9086 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-06 14:03:39 +00:00
Michael Fields 10314c8cb4 _s: Script dependancies need to be given as an array. Remove unneeded jQuery enqueue.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9086 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-06 14:03:39 +00:00
Lance Willett 9b183fcc16 Merge branch 'master' of github.com:Automattic/_s 2012-03-01 01:24:43 -07:00
Lance Willett 9fbba4ff7d _s: rework nav JS file a bit
* Remove top-level browser width variable, only needed in one internal function
 * Add timeout so that the resize action doesn't constantly trigger, instead give it a short delay to anticipate the user finishing the window size change
 * Better comments
 * Incorporate mattwiebe fix for calling jQuery objects incorrectly, see http://core.trac.wordpress.org/ticket/20131 


git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9026 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-29 18:53:02 +00:00
Lance Willett 8298c23e74 _s: rework nav JS file a bit
* Remove top-level browser width variable, only needed in one internal function
 * Add timeout so that the resize action doesn't constantly trigger, instead give it a short delay to anticipate the user finishing the window size change
 * Better comments
 * Incorporate mattwiebe fix for calling jQuery objects incorrectly, see http://core.trac.wordpress.org/ticket/20131 


git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9026 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-29 18:53:02 +00:00
Ian Stewart 94ac5caf18 Merge branch 'master' of github.com:Automattic/_s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9022 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-29 15:43:18 +00:00
Ian Stewart fc97fbd34d Merge branch 'master' of github.com:Automattic/_s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9022 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-29 15:43:18 +00:00
Ian Stewart fa078b1981 Merge branch 'master' of github.com:Automattic/_s 2012-02-29 09:39:15 -06:00
Ian Stewart fe4d870e38 Merge pull request #4 from gcapizzi/patch-1
Fix a comment in tweaks.php
2012-02-27 12:04:06 -08:00
Giuseppe Capizzi 1b8246a7ee Update inc/tweaks.php 2012-02-25 16:22:30 +01:00
86071d8c7d _s: Remove duplicate .entry-meta class.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9000 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-23 19:31:05 +00:00
Michelle Langston 792c8c3406 _s: Remove duplicate .entry-meta class.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9000 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-23 19:31:05 +00:00
Lance Willett 42fb1237cd _s: refix footer URL and extra spaces, originally fixed in r8766 but reverted in r8831
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8981 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-20 23:54:21 -07:00
Michael Fields 6817af282c _s: needs to be declared globally.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8964 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-20 23:54:21 -07:00
Lance Willett 93a334bc97 _s: refix footer URL and extra spaces, originally fixed in r8766 but reverted in r8831
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8981 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-21 06:28:24 +00:00
Michael Fields 1d680edf9c _s: needs to be declared globally.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8964 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-17 22:34:53 +00:00
Ian Stewart ebf6fe57ab _s: we need to use the stylesheet_uri here or the default child theme stylesheet overriding doesn't work.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8956 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-16 15:19:00 -06:00
Ian Stewart 3bc1fe9192 _s: we need to use the stylesheet_uri here or the default child theme stylesheet overriding doesn't work.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8956 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-16 20:59:28 +00:00
Ian Stewart 4c4c3e6d3b added 'search' ARIA role on searchform.php
http://www.w3.org/TR/wai-aria/roles#search
Signed-off-by: Brett Taylor <brett@webfroot.co.nz>

git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8954 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-16 17:19:39 +00:00
Ian Stewart 54fef29963 Merge pull request #2 from InstinctBrett/master
Add 'search' ARIA role to searchform.php
2012-02-16 09:06:46 -08:00
Brett Taylor 251dde5ade added 'search' ARIA role on searchform.php
http://www.w3.org/TR/wai-aria/roles#search
Signed-off-by: Brett Taylor <brett@webfroot.co.nz>
2012-02-15 14:28:32 +13: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 432b27a162 _s: updating the readme to reflect changes
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8939 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 17:10:06 +00:00
Ian Stewart 8de2e81018 _s: enqueue style.css for consistency and for more customization through child themes of themes built on _s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8938 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:55:40 +00:00
Ian Stewart 7aa2224a74 _s: we shouldn't need to check if this is the admin here if we know that is_singular is true
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8937 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:14:46 +00:00
Ian Stewart f3dc4c227d _s: move scripts into one function added to wp_enqueue_scripts
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8936 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:10:45 +00:00