Commit Graph

1210 Commits

Author SHA1 Message Date
Pascal Birchler 27225d5b69 Documentation for content-search.php inclusion 2014-05-13 08:37:56 +02:00
Thomas Guillot 8686937cc2 Merge pull request #473 from sdavis2702/master
_s: Logical approach to function parameters for markup
2014-05-07 09:14:18 +01:00
Konstantin Obenland b1dba82fa0 Merge pull request #479 from psoluch/patch-1
Prevent 'Page %s' from being added to page title on 404 error pages.
2014-05-04 15:36:42 +02:00
Piotr Soluch 54d58d548b fix for a page title error
The same error as https://core.trac.wordpress.org/ticket/16468
2014-05-04 15:34:50 +02:00
James 69930e3786 Update style.css
_s does not support IE6/7 so this is not necessary.
2014-05-02 15:25:46 -04:00
Sean Davis 8b30ee99f7 escape the permalink 2014-05-02 01:17:02 -05:00
Ulrich Pogson fc9910cf96 Split strings into variables 2014-05-01 23:27:08 +02:00
Sean Davis c89d030c6b logical approach to function parameters for markup 2014-05-01 10:30:54 -05:00
Philip Arthur Moore 0d45a9df7a Merge pull request #469 from gatespace/update_s_pot20140428
Update _s.pot : add "Primary Menu" in header.php(L31). And remove 'Menu'.
2014-04-28 11:08:20 +07:00
Kazue Igarashi b848b470c4 Update _s.pot : add "Primary Menu" in header.php(L31). 2014-04-28 10:38:52 +09:00
Philip Arthur Moore 53f62fa23a Merge pull request #459 from philiparthurmoore/menu-a11y
a11y improvements on primary navigation menu toggle
2014-04-27 11:48:11 +07:00
Konstantin Obenland aeaf200a58 _s: Simplify caption styles to work in HTML5 mode.
Since HTML5 captions removed the additional 10px that HTML4 versions
come with, the `max-width: 98%;` rule made images blurry. This slightly
simplifies caption styles while still providing support for both HTML4
and HTML5 versions.

See #443.
2014-04-25 11:25:48 -05:00
Konstantin Obenland 16a0d47af6 Merge pull request #443 from joshmcrty/master
Add support for HTML5 captions.
2014-04-25 11:04:47 -05:00
Konstantin Obenland e389dee561 Merge pull request #463 from gatespace/formating-source-code
Indent multiline PHP code.
2014-04-23 16:42:59 -05:00
Konstantin Obenland 8319773e51 _s: Add context for translations and styles.
The referenced items are decisions we made for `_s`, that a re likely to be brought up again in pull requests or issues. Since our stance on them is not likely to change any time soon, let's include them in the Contributing FAQs.

See #464.
2014-04-21 12:37:29 -07:00
Kazue Igarashi e3ff3dfb5d Add tab to indent 404.php(L43 to L45). 2014-04-18 22:15:42 +09:00
Philip Arthur Moore d3dd7fb3fe Remove style redundancy for menu toggle; cursor pointer is already defined for buttons. 2014-04-18 06:43:25 -05:00
Konstantin Obenland 3f1fe1c400 Merge pull request #461 from jefferyto/patch-2
Removed addEvent support.

See #456.
2014-04-15 12:24:49 -07:00
Konstantin Obenland 7cfc749d70 _s: First version of contributing guidelines.
This might change in the future, based on our experiences, but should
be a good first draft of helpful and friendly guidelines for
contributing.

Props @bungeshea.
Fixes #381.
2014-04-15 11:45:02 -07:00
Shea Bunge 11566d6998 Added contributing guidelines
https://github.com/blog/1184-contributing-guidelines
2014-04-15 11:24:33 -07:00
Jeffery To c6ad689d89 Removed addEvent support
As noted in #456, IE8 is no longer supported.

Also, undefined is falsey in JavaScript, so the typeof check was unnecessary.
2014-04-15 17:40:29 +08:00
Konstantin Obenland 2d2f66f9a1 Merge pull request #458 from Automattic/pr/429
Updated gallery styles to work for both HTML4 and HTML5 versions.

Fixes #425.
Closes #429.
2014-04-14 12:00:56 -07:00
Philip Arthur Moore 4b883e2aee a11y improvements on primary navigation menu toggle 2014-04-13 04:02:17 -05:00
Konstantin Obenland 4dd7a16f36 _s: Simplify gallery styles.
It consolidates the duplicate `.gallery` selectors, and removes image
styles that needlessly override their earlier defined styles.

Also switches to use inline-block over floats, and adds documentation
for caption styles, to be coherent with documentation for gallery
styles.
2014-04-11 13:24:38 -07:00
Konstantin Obenland 32350a8103 _s: Encourage the use of sidebar descriptions.
Sidebar descriptions provide an opportunity to provide context about
where the sidebar is located or when it is loaded. We should encourage
theme developers to use them, similar to how we hint default images for
custom headers and backgrounds.

The callback’s outdated documentation describes the function in an
early state of Toolbox (introduced in r3678-wpcom-themes), the earliest
public record would be
https://themes.trac.wordpress.org/browser/toolbox/0.3/functions.php#L99
This is as good an opportunity to update it as any.

Props @emiluzelac for initial patch.
Fixes #433.
2014-04-10 19:03:23 -07:00
Konstantin Obenland 796d8e8c7e _s: Update function return values.
Adds missing documentation for `_s_categorized_blog()` and removes void
statements, in accordance with WordPress documentation guidelines.

See
http://make.wordpress.org/core/handbook/inline-documentation-standards/p
hp-documentation-standards/#phpdoc-tags
2014-03-30 12:15:29 -07:00
Konstantin Obenland 74e9b10a7a Merge branch 'pr/437'
Conflicts:
	inc/template-tags.php
2014-03-30 12:02:05 -07:00
Konstantin Obenland 7d24be9c97 _s: Resolve merge conflicts from master branch.
This also retains `$all_the_cool_cats` for some flavor. It has been
around since the initial fork of Toolbox and makes people smile:
https://twitter.com/TheFrosty/status/449581069231071232
2014-03-30 12:00:47 -07:00
Konstantin Obenland bd665b9d82 _s: Update pot file.
Last update was a good three months ago and we had some string changes
since then.

Fixes #434.
2014-03-30 10:40:43 -07:00
Konstantin Obenland 9a6b539bba _s: Formatting adjustments.
Improves readability of argument array and brings new comment in line with all other comments in this function.
2014-03-24 10:17:59 -07:00
Konstantin Obenland 7dc0ed3410 Merge pull request #445 from Automattic/speedy-cool-cats
_s: Optimize `_s_categorized_blog()`.
2014-03-24 10:00:47 -07:00
Mohammad Jangda 39a256b183 cool-cats: Limit number of categories fetched
We only need to know if there is more than one category so only fetch a
maximum of two categories. The rest of the categories are all gravy.
2014-03-24 16:46:38 +00:00
Mohammad Jangda ad2a2cd9b9 cool-cats: only fetch the ids to limit footprint
We don't really care much about the returned; all we want is the count
so there's no point in fetching all the category data.
2014-03-24 16:43:56 +00:00
Josh McCarty d193c519b4 Add support for html5 caption 2014-03-23 21:46:35 -07:00
Ulrich Pogson 5e62b8dc9e Remove html from string 2014-03-24 00:08:21 +01:00
Konstantin Kovshenin 87ca7b66ad Prefix transient. 2014-03-18 18:43:00 +04:00
Scott Smith adb609bfde Cleaned up gallery styles, per PR review 2014-03-07 15:22:06 -06:00
Konstantin Obenland 43241a811d Merge pull request #430 from philiparthurmoore/ditch-redundant-package-declaration
_s: Remove Redundant @package DocBlock Within Custom Header File
2014-03-07 07:50:20 -06:00
Philip Arthur Moore 16e0ca504d Remove redundant package DocBlock within custom header file 2014-03-07 06:41:14 -06:00
Konstantin Obenland 34aa212143 _s: Restore class delimiter in closing comment.
Removed in e3714be581.
2014-03-06 16:45:34 -06:00
Konstantin Obenland e3714be581 Merge pull request #424 from matthewsimo/master
_s: Add entry-footer class to footer elements in entries. Fixes #420.
2014-03-06 16:44:03 -06:00
Scott Smith 98c0f823e1 Add Gallery Styles
Patch for #425
2014-03-05 23:41:15 -06:00
Konstantin Obenland 0f689b25f4 _s: Restore default styles for `<img>` elements.
Lost in 651b89e497.
2014-03-05 20:41:56 -06:00
Matthew Simo e32f0ded99 Remove the entry-meta class from footer element's in content templates. Keep entry-footer class for this purpose. 2014-03-03 17:38:27 -06:00
Matthew Simo 1a8d576e65 Add entry-footer class to footer elements in an entry. 2014-03-03 17:12:51 -06:00
Konstantin Obenland 5de96cdb72 Merge pull request #419 from kovshenin/master
_s: Add HTML5 support for WordPress galleries.
2014-02-27 11:48:23 -08:00
Konstantin Kovshenin 9b0ae42c56 Maintain backwards compatibility for non-HTML5 galleries. 2014-02-27 13:42:24 -06:00
Konstantin Kovshenin 85bce0cc74 Add HTML5 support for WordPress galleries. 2014-02-27 13:27:00 -06:00
Konstantin Obenland 18928f50d6 Merge pull request #418 from emiluzelac/patch-13
_s: Improved comment specificity.
2014-02-25 08:52:33 -08:00
Konstantin Obenland 2fed8e49bd Merge pull request #417 from emiluzelac/patch-12
_s: Make WordPress.org URL available for translation.

Brings `_s` a little close to what has been the standard in default themes for a while.
2014-02-25 08:46:15 -08:00