Commit Graph

79 Commits

Author SHA1 Message Date
Michelle Langston dd8ca3eec6 _s: Adjust escaping for the title attribute.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9865 d957f892-c61d-0410-b221-f235e6eecf30
2012-06-15 00:04:50 +00: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
Ian Stewart 7484b4cf6b _s: add styling for HTML5 email inputs; See #1286
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9628 d957f892-c61d-0410-b221-f235e6eecf30
2012-05-24 18:53:07 +00:00
Philip Arthur Moore 2997c2c59e _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 01:08:33 +00:00
Ian Stewart 98a9f3905c _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 19:14:21 +00:00
Michael Fields f705f1c5f9 _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-23 22:52:48 +00: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
Michael Fields 30e64f4cbc _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-23 21:17:48 +00:00
Michael Fields 8f40beb65f _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-23 21:13:47 +00:00
Michael Fields edf08c67b5 _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-23 21:08:58 +00:00
Ian Stewart a5e58b8ac5 _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-19 19:26:13 +00:00
Takashi Irie 614dca2933 _s: Fixed a typo
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9347 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-30 10:47:41 +00:00
Ian Stewart ace4518144 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 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
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 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 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 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 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 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
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 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 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 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
Ian Stewart 0d87fcd173 _s: attaching sidebar registration to the correct hook
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8928 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-13 16:03:39 +00:00
Ian Stewart ea2b067539 _s: a generic and basic interpretation of the aside post format
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8919 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 20:49:23 +00:00
Ian Stewart dffc6549da _S: basic floated content styles
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8918 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 20:43:25 +00:00
Ian Stewart e932aaadc4 _s: provide a more helpful message to users with no posts on the home page or none at all; See #1112
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8917 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 20:36:53 +00:00
Ian Stewart 93fa346360 _s: a generic catch-all that should automatically prevent most future themes from having things float up into posts
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8915 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 19:19:48 +00:00
Ian Stewart 2c76c21749 _s: Cleaning up documentation
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8897 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-08 21:33:17 +00:00
Ian Stewart fa1d6f856c _s: Adding a blank screenshot
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8896 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-08 20:49:01 +00:00
Matías Ventura 926f6bd0e4 _s: fix double-defined class attributes
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8895 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-08 14:59:38 +00:00
Ian Stewart 699d298e54 _s: Using plainer typographical elements in readme for better readmeability
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8894 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-08 14:00:27 +00:00
Ian Stewart 22522ac0c4 _s: adding instructions on forking _s to the readme and cleaning up a php comment in comments.php that gets missed in the find and replace pattern
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8893 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-08 13:54:26 +00:00
Ian Stewart 60d8720ad6 _s: adding empty selectors required for theme check plugin test
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8889 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 21:15:27 +00:00
Ian Stewart 4fe4900503 _s: adding empty selectors required for theme check plugin test
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8888 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 21:14:42 +00:00
Ian Stewart 07a617f253 _s: Adding some useful information to readme for anyone new to using _s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8886 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 20:42:03 +00:00
Ian Stewart df7ce3d902 _s: removing temporary dev styles
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8879 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 03:22:23 +00:00
Ian Stewart 349e3f973e _s: Adding a class to the menu toggle for help in styling open-close states with just CSS
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8878 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 03:20:46 +00:00
Ian Stewart e4a5c76fd6 _s: simpler way of handling hiding authors on single author blogs without adding another class
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8877 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 02:57:41 +00:00
Ian Stewart 545b3514b3 _s: If the tweaks file is in use hide the author of posts everywhere except singular -- where it's useful to see the author if that's your entry point to a single author blog -- unless it's a group blog in which case just show the author name everywhere. Doing this all with just CSS so it's easily reversible with child themes of themes built from _s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8876 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 02:52:04 +00:00
Ian Stewart a14038728d _s: cache the masthead selector and use find to grab it's descendants to improve performance while removing the style attribute on the toggled menu to prevent it from seeming to disappear on resizing up when the menu is toggled off
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8875 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-06 21:44:43 +00:00
Ian Stewart 4f3d984c7c _s: Simple script for changing the classes of the main menu based on browser width let's you easily restyle a menu for small screens without changing the markup
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8868 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-06 16:40:54 +00:00