Commit Graph

1317 Commits

Author SHA1 Message Date
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
Michael Fields f0c910f5e2 Merge branch 'master', remote-tracking branch 'origin' 2012-12-31 14:20:32 -08:00
Philip Arthur Moore a2c7a2e18f Merge pull request #129 from philiparthurmoore/bugs/insta-post-format-docblock
_s: Correct DocBlock above theme support for Post Formats. See #126.
2012-12-31 02:07:38 -08:00
Philip Arthur Moore a99a494c39 _s: Correct DocBlock above theme support for Post Formats. See #126. 2012-12-31 17:05:17 +07:00
Michael Fields 1db4236e4c Better indentation of the images query in image.php. props @ashfame see #45 2012-12-28 17:48:34 -08:00
Michael Fields 0d20442227 Remove invalid pubdate value from time elements in image.php 2012-12-28 17:27:07 -08:00
Michael Fields 3774c2cbfd Merge branch 'master', remote-tracking branch 'origin' 2012-12-28 17:24:51 -08:00
Michael Fields 10c87aeefc Merge pull request #93 from kwight/patch-2
Remove invalid pubdate value from time elements in template-tags.php. See #93
2012-12-28 17:24:21 -08:00
Michael Fields a1b722345c Use a more specific selector to target images in captions. This will avoid setting smilies to block. Fixes #116 2012-12-28 17:12:10 -08:00
Michael Fields c8f0f72d2e Always give .wpcaption bottom margin. Fixes #121 2012-12-28 17:03:31 -08:00
Michael Fields 1d87f246da Merge branch 'master', remote-tracking branch 'origin' 2012-12-28 16:57:26 -08:00
Michael Fields 11802b99c2 Merge pull request #124 from ashfame/readme_fix
show space using &nbsp; instead of actual space, as Github trims it... See #123
2012-12-28 16:40:31 -08:00
Michael Fields 3427f7f574 Merge pull request #126 from philiparthurmoore/enhancements/add-insta-post-formats
_s: Add additional Post Formats into functions.php
2012-12-28 16:36:33 -08:00
obenland 7b7489df5d _s: Bump the version number to 1.2 to reflect the last round of updates
47 commits with 586 deletions and 356 additions by 19 contributors.
2012-12-28 09:19:23 -08:00
Konstantin Obenland de29437d5f Merge pull request #115 from obenland/master
Remove generic Theme Options page in favor of the Customizer.

Having a set of sample options encourages their use — we shouldn’t do this, it’s simple enough to code options up whenever we need them.

Customizer support is activated by default and comes with a working sample implementation. For more information about the Customizer and how to leverage it's API please see http://ottopress.com/tag/customizer/
2012-12-28 09:10:49 -08:00
Konstantin Obenland faf979bb4d Add a space to let it shine. 2012-12-28 08:38:18 -08:00
Philip Arthur Moore b6a72553aa _s: Add additional Post Formats into functions.php, to be in line with WordPress.com's Instapost posting experience. 2012-12-25 22:27:36 +07:00
Michael Fields b1c1073f91 get_the_author() should not be escaped when used as text. Escaping should only occur when used in an attribute. 2012-12-19 17:31:04 -08:00
Ashfame 3b792a1317 use code tags in markdown instead of backticks to be able to use &nbsp; 2012-12-14 16:08:53 +05:30
Ashfame 0fdebbeae6 add &nbsp; in replacement text too 2012-12-14 15:48:11 +05:30
Ashfame 77449084cf show space using &nbsp; instead of actual space, as Github trims it in markdown rendering
Deals with Issue #123
2012-12-14 15:39:49 +05:30
obenland 5bfc37093b Follow through with 'customizer' naming convention. 2012-11-30 09:26:37 -08:00
obenland c7d3e37fc6 s/theme-customizer/customizer 2012-11-30 09:13:05 -08:00
obenland 181c363800 Theme Customizer > Theme Options
* Removes sample theme options
* Adds Theme Customizer enhancement (actually working!)

Goal: Emphasize the use of the Customizer versus out of style Theme
Options.
2012-11-28 14:51:38 -08:00
Michael Fields b6b88b4201 Merge pull request #113 from sixhours/patch-3
Escape home_url() in #site-title link. props @sixhours
2012-11-28 10:19:42 -08:00
Konstantin Obenland ba4af1262a Merge pull request #79 from kovshenin/patch-11
* Introduces a filter for wp_title instead of hard-coding things in header.php
* Renames inc/tweaks.php to inc/extras.php
* Includes inc/extras.php by default in functions.php

See #12, #13, #33
2012-11-28 09:24:23 -08:00
sixhours c2c282e983 Escape home_url() in #site-title link
We escape the URL when displaying custom-header.php and searchform.php, which leads me to believe it should also be escaped here.
2012-11-20 10:37:37 -05:00
lukecarbis 2f0cd22d5b Password Inputs
Adds password input types to styles for text and email inputs.
2012-11-14 08:20:52 +10:00
Philip Arthur Moore a395e1f7a3 Merge pull request #110 from naokomc/tag-list-separator-branch-patch
Fix tag list separator i18n in content-single.php
2012-11-12 22:12:01 -08:00
Naoko McCracken ea03ecdca3 Fix tag list separator i18n in content-single.php 2012-11-13 15:08:42 +09:00
Michael Fields eb7fad1c77 Merge pull request #101 from bryanstedman/master
Remove extra word "for" in README.md. props @bryanstedman
2012-11-03 15:21:59 -07:00
Michael Fields 706f688b14 Merge pull request #102 from corvannoorloos/master
Add a space before colons. props @corvannoorloos
2012-11-03 15:20:16 -07:00
Cor van Noorloos 064daacda6 Space before colon
Minor formatting
2012-11-03 23:02:36 +01:00
Bryan Stedman de1dab1509 Fixed small typo in README 2012-11-03 08:50:24 -07:00
Takashi Irie 09a21f2e59 Added max-width to select elements in widgets to prevent it overflowing. This intends to fix a common issue - the dropdown in the category widget overflows when a blog has a long category name 2012-11-01 11:49:23 +09:00
Ian Stewart 152ae262eb Merge pull request #94 from sixhours/patch-1
Change .tag-links to .tags-links so it doesn't cause an edge-case conflict with posts tagged as "links".
2012-10-24 07:28:37 -07:00
sixhours c7f0e441b2 Change .tag-links to .tags-links
Using the class .tag-links may cause a rare formatting bug. To reproduce:

1. Publish a new post and tag it "links"
2. post_class() assigns the class .tag-links to the post
3. Any formatting applied to .tag-links in the theme's stylesheet will also apply to this post -- not good!

Changing the class name to something that won't conflict, like .tags-links, should solve this problem.
2012-10-24 11:06:42 -03:00
Kirk Wight ca76e89d0e Removed dangling pubdate attributes
The <time> attribute "pubdate" appears to no longer be part of the HTML5 spec, so remove them (they weren't being used anyways)
2012-10-11 18:02:14 -03:00
Philip Arthur Moore b242ebe349 Merge pull request #92 from iamtakashi/fix-typos-in-readme
Fixed typos in README.MD
2012-10-08 08:59:42 -07:00
Takashi Irie 999866c87a Fixed typos in README.MD 2012-10-08 16:34:22 +01:00
Michael Fields 21d3bb0c23 Merge pull request #90 from hugobaeta/patch-1
Update README.md
2012-10-06 16:30:50 -07:00
Michael Fields 6eb6c34820 Remove current_user_can() check from index.php. A similar conditional now exists in no-results.php. 2012-10-06 16:27:56 -07:00
Michael Fields b235c5a3e8 Merge branch 'master' of https://github.com/mjangda/_s into mjangda-master 2012-10-06 15:59:23 -07:00
Michael Fields 4d63631ecd Merge pull request #83 from kovshenin/patch-12
Rename translations to languages, see #73 and #50
2012-10-06 15:54:03 -07:00
Hugo Baeta a90489351a Update README.md
Edited some typos and improved some phrases.
2012-10-05 17:44:52 -07:00