Commit Graph

711 Commits

Author SHA1 Message Date
Philip Arthur Moore c8c60b3904 Let us try this one more time. Revert all changes made to _s up until commit debefa merge until #131 has had a proper code review. 2013-02-28 01:04:34 -06:00
Michael Fields debefa8b98 Merge pull request #139 from aaronjorbin/master
make "Skip to content" link work in browsers that are doing_it_wrong, but without jQuery. props @aaronjorbin
2013-02-27 15:15:49 -08:00
Michael Fields e04732c5a3 Remove _s_content_nav( 'nav-above' ); from the top of all templates. Fixes #148 2013-02-27 15:08:26 -08:00
obenland ad57a4af29 _s: Move role declaration to the end of the element for consistency. 2013-02-27 14:51:13 -08:00
obenland fa3d86936a _s: Simplify and unify navigation classes throughout Underscores.
For more information about the philosophy behind the new approach,
see http://24ways.org/2012/a-harder-working-class/
2013-02-27 14:47:03 -08:00
obenland 469e1f97c4 Merge branch 'master' of https://github.com/Automattic/_s.git 2013-02-27 14:05:14 -08:00
obenland d99f4c8115 _s: Adhere to WordPress CSS class naming conventions. See
http://make.wordpress.org/core/handbook/coding-standards/css/#selectors
for details.
2013-02-27 14:03:03 -08:00
Lance Willett 7ed3c58e23 Search form improvements:
- Add "searchform" class to form element, easier styling
- Better gettext for label, placeholder, and submit text, easier for translators
- Remove "name" attribute from submit button, not needed and it adds cruft to URL

See also http://core.trac.wordpress.org/ticket/15081
2013-02-27 14:49:26 -07:00
obenland a1b163e8ea Merge branch 'master' of https://github.com/Automattic/_s.git 2013-02-27 13:36:08 -08:00
obenland ebe5c56c42 _s: Update layouts to use classes when appropriate. Fixes #55. 2013-02-27 13:35:28 -08:00
sixhours 620b8e5e53 Merge pull request #66 from kovshenin/patch-8
Replace small-menu.js with navigation.js inspired by Twenty Twelve.
2013-02-27 13:28:31 -08:00
Philip Arthur Moore 6917268595 Merge pull request #166 from iamtakashi/input-type-search
Change the search form text input to search type along with basic styling for search type inputs.
2013-02-27 12:51:51 -08:00
Takashi Irie ed6a89fa20 Change the search form text input to search type and add the basic style for it 2013-02-27 20:26:16 +00:00
Philip Arthur Moore dc730a3bc5 Reduce default padding on buttons and reset/submit inputs. Fixes #161. 2013-02-27 11:32:42 -06:00
Philip Arthur Moore 50cee30497 Remove colon from @package DocBlock 2013-02-25 01:15:14 -06:00
Philip Arthur Moore fbb50c4e90 Fix incorrect rem value. See #160. Props @dollseb. 2013-02-22 18:04:12 -06:00
Konstantin Obenland d7fd5eac21 Merge pull request #145 from sriniguna/patch-1
Move 'Edit' link in entry footer to be consistent with content.php and content-single.php
2013-02-20 12:03:49 -08:00
Philip Arthur Moore e652d9f130 Change apos back to the correct rsquo. See #84. 2013-02-12 16:48:51 -06:00
Konstantin Obenland 3236571996 Merge pull request #156 from inspectorfegter/patch-1
Updated 'comments callback' location comment
2013-02-12 08:44:00 -08:00
Brian Fegter ec4c855158 Updated 'comments callback' location comment
The function has been moved outside of 'functions.php' and into 'inc/template-tags.php'. This directs developers to the proper location for the callback.
2013-02-12 10:40:31 -06:00
Michael Fields 79a6a23da2 Use .text() instead of .html() for site title and tagline when modified via the customizer. Neither setting supports html. 2013-02-07 10:50:34 -08:00
Michael Fields 9f58e3f6e2 Escape the return value of get_author_posts_url() with esc_url(). 2013-02-06 20:48:04 -08:00
Michael Fields c0f3582777 Escape the return value of admin_url() with esc_url() 2013-02-06 20:43:42 -08:00
Michael Fields ce069e6d94 Merge branch 'master', remote-tracking branch 'origin' 2013-02-06 20:42:02 -08:00
Philip Arthur Moore 494533fd4c Merge pull request #112 from lukecarbis/patch-1
Add password input types to styles for text and email inputs.
2013-02-03 00:02:04 -08:00
Michael Fields 8ece982a5b Merge branch 'master', remote-tracking branch 'origin' 2013-02-02 21:16:32 -10:00
Philip Arthur Moore f1e9b44c0a Bump version number. 2013-02-03 02:15:01 -05:00
Philip Arthur Moore c06b9fe571 _s: Minor adjustments to Infinite Scroll's implementation. 2013-02-03 02:12:42 -05:00
Philip Arthur Moore 16906d44c5 _s: Add basic Infinite Scroll support. Fixes #107. Fixes #105. Props @ethitter. 2013-02-03 02:03:40 -05:00
Michael Fields c2dca5db27 Add basic support for core custom background feature providing fallbacks for WordPress 3.3. Fixes #29 2013-02-02 20:11:57 -10:00
Michael Fields 0ab04e6d02 Merge branch 'master', remote-tracking branch 'origin' 2013-02-02 20:09:02 -10:00
Philip Arthur Moore 14ad334be6 _s: Add word breaking to anchors within comment content. Fixes #96. 2013-02-02 19:49:21 -10:00
Michael Fields bb769ce556 Merge branch 'master', remote-tracking branch 'origin' 2013-02-02 19:38:49 -10:00
Philip Arthur Moore 9957c274e0 Merge pull request #84 from pixolin/patch-1
_s: Correct two minor typos in 404.php.
2013-02-02 21:16:07 -08:00
Michael Fields 9ae94a1cf9 Merge pull request #144 from devinsays/master
Remove reference to theme options in the readme. props @devinsays
2013-02-02 07:16:09 -08:00
Michael Fields b7563b8a99 Escape dynamic value $nav_id when used as an attribute and html comment. Fixes #146 props @ounziw 2013-02-02 05:03:08 -10:00
Michael Fields f9e8b9cf42 Merge branch 'master', remote-tracking branch 'origin' 2013-02-02 04:39:12 -10:00
sriniguna d521f744ea Taking 'Edit' link outside .entry-content
Taking 'Edit' link outside .entry-content and putting it inside footer.entry-meta so that styling is consistent with single posts.
2013-01-30 13:37:52 +05:30
Devin Price 69855ebf10 Remove reference to theme options include in readme.md. 2013-01-27 22:25:31 -06:00
Michael Fields fff4b81508 Merge pull request #141 from jkudish/master
Update Theme URL to point to underscores.me. props @jkudish
2013-01-23 08:25:01 -08:00
Joachim Kudish a1d6fd95fe Update Theme URL
The Theme URL was previously pointing to an old Automattic svn repository that no longer exists. This change points the URL to underscores.me which is the site that promotes the theme.
2013-01-23 18:23:32 +02:00
Joachim Kudish 4bebf54cf0 Update Theme URL to github
The Theme URL was previously pointing to an old Automattic svn repository that no longer exists. 
This change points the URL back to the main `_s` GitHub repository where it is now being developed on. 
Alternatively it could point to underscores.me
2013-01-23 18:18:13 +02:00
Aaron Jorbin 6ee6126089 On hashchange, make sure we set focus for elements that need it. Essentially the same as 136, but without jquery 2013-01-21 19:01:53 -05:00
obenland 3e717fa9c2 _s: Make sure images with height attributes in comments are scaled
correctly.
2013-01-21 15:18:26 -08:00
Konstantin Obenland 84cc7f78cc Merge pull request #135 from obenland/number-context
_s: Provide a context for the comments title strings.

There are languages that have more than one plural form. Sometimes these
languages need to add the %1$s placeholder in the original singular
version to help differentiate between these plural forms.

In case the original singular version ('One thought on
“%2$s”' in this case) is used elsewhere, the translation
with the faulty %1$s will be used, possibly ending up with the
placeholder not being replaced.

The context will prevent that from happening by seperating the strings.
2013-01-15 10:04:29 -08:00
obenland 6793718e8a _s: Provide a context for the comments title strings.
There are languages that have more than one plural form. Sometimes these
languages need to add the %1$s placeholder in the original singular
version to help differentiate between these plural forms.

In case the original singular version ('One thought on
“%2$s”' in this case) is used elsewhere, the translation
with the faulty %1$s will be used, possibly ending up with the
placeholder not being replaced.

The context will prevent that from happening by seperating the strings.
2013-01-14 16:38:39 -08:00
Michael Fields 80d803aff5 Merge pull request #99 from iamtakashi/max-width-for-select
Add max-width to select elements in widgets to prevent it overflowing from widget areas. props @iamtakash
2013-01-05 09:58:17 -08:00
David Ensinger cfb7f7fcdf Load comments template only when comments are open or there's at least one comment
To be consistent with single.php and to ensure that an empty div (<div
id="comments" class="comments-area">) isn't outputted when both
comments are closed and there aren't any comments.
2013-01-04 16:09:37 -05:00
Michael Fields 56023b2194 Remove debugging code from image.php 2012-12-31 16:59:42 -08:00
Michael Fields d64b796669 Escape the value of get_the_title() when printed in an attribute. 2012-12-31 16:57:14 -08:00