Commit Graph

1167 Commits

Author SHA1 Message Date
jrfnl 91d536d49c Only get the jshint file when needed. 2015-12-26 05:00:11 +01:00
Caroline Moore d40faf1e45 Merge pull request #887 from mrwweb/html5-inputs
List all HTML5 input types. Props @mrwweb
2015-12-21 10:07:53 -05:00
jrfnl 4a3cd975ec Let's not forget to clear the js cache as they have changed. 2015-12-15 10:38:37 +01:00
jrfnl e1f4b0add4 Updated based on feedback.
* Include skip-link-focus-fix.js in the js hint/lint tests & fix up the file.
* Pull in .jshintrc from WP SVN.
* Add PHPCompatibility Sniffs.
* Sync the ignore statements to always exclude .min.js files.
* Slim down the tested against PHP versions even more.
2015-12-15 10:09:54 +01:00
Konstantin Obenland cdd101e16c Remove comments not ending in a period.
Helps avoid Travis CI errors for wrongly formatted comments. Most of
these end of function comments (if not all) are useless anyway.

Props @WPAddiction for reporting.
Fixes #891.
2015-12-14 18:05:14 -08:00
jrfnl b8d776c59c Slim down the travis script, add js checks and fix js errors thrown up.
What it will now do:
- Lint the php files against relevant PHP versions.
- Lint the js files once - the result won't change across PHP versions.
- Check against WPCS once - the result won't change across PHP versions.

What I have changed:
- Added linting against PHP 7 and HHVM, with HHVM being allowed to fail.
- Added js linting and style check per example from Twenty Sixteen.
- Moved to the faster container based environment for running travis.
- Script will no longer pull in PHPCS, WPCS and the JS linters in every build. Now they will only be pulled in when needed.
- Limited the clone depth for quicker cloning of external repositories.
- Removed the pulling in of WP and running builds against different WP versions as this wasn't used at all in the actual test scripts.
2015-12-13 15:03:43 +01:00
mrwweb 9ccc1faa9e use sass var for select border color 2015-12-09 07:54:16 -08:00
Konstantin Obenland 8183b95b95 Merge pull request #886 from mrwweb/contrib_html5
Remove note on HTML5 and H1s following #776.
2015-12-08 10:06:50 -08:00
mrwweb 309037e2ad list all html5 input types. fixes #885 2015-12-08 08:28:48 -08:00
mrwweb d461fd4400 remove note on HTML5 and H1s following #776 2015-12-08 07:31:58 -08:00
byjml 944803c5d4 Use consistent syntax for control structures
Changed the opening brace to ':' (or colon) and the closing brace to `endif;`
2015-12-06 15:24:01 +03:00
jrfnl 9638b7e3c6 Only generate pingback url header tag when relevant.
Rationale:
1. The principle of pingbacks is based on articles. Pingbacks are a special kind of comments and the article being 'pinged-back' has to be identifiable (which they're not on archive pages and the like).
2. WP only registers a ping if it can identify the article which is supposed to have been 'pung'. See: https://developer.wordpress.org/reference/classes/wp_xmlrpc_server/pingback_ping/
3. Pingbacks, like comments, can be disabled on a per article basis.

Therefore, having the pingback url auto-discovery header in place, only makes sense on singular pages where pings are open.
2015-12-04 16:44:38 +01:00
sarah ✈ semark e57d8c38b4 Merge pull request #676 from grappler/content-single-post-format
Add support for post format templates in single post content.
2015-12-04 15:08:44 +00:00
Ulrich Pogson 60f7311f19 Add support for post formats in single post 2015-12-04 15:51:58 +01:00
alaczek 5e507c269e Merge pull request #879 from Automattic/remove-custom-header-admin-callbacks
Remove custom header admin callbacks.
2015-12-04 10:12:53 +01:00
sarah ead318fd20 Remove custom header admin callbacks.
These haven't been needed since 4.1, when the Header page under
Appearance was deprecated and linked to the Customizer instead.
2015-12-03 20:29:32 +00:00
sarah ✈ semark 193d073b84 Merge pull request #859 from jrfnl/feature/854-no-unncessary-php-tags
Avoid going in and out of PHP unnecessarily.
2015-12-03 20:13:49 +00:00
sarah ✈ semark ffc3dbdf3b Merge pull request #874 from limestreet/master
Update documentation references to present-best URLs.
2015-12-01 22:30:43 +00:00
patryk 4433c1f0b7 Last 3 non-https WordPress URLs updated and custom header link updated too - issue #734 2015-12-01 21:06:47 +01:00
patryk be085c6d0c Last 3 non-https WordPress URLs updated - issue #734 2015-12-01 19:34:53 +01:00
sarah ✈ semark 181dda8f01 Merge pull request #867 from WPAddiction/change-aside
Use a single aside for sidebar element, with sections for each widget.
2015-11-30 18:11:36 +00:00
alaczek eb1040d530 Merge pull request #872 from Automattic/simplify-primary-location-name
Update 'primary menu' location to 'primary' to simplify for users.
2015-11-30 14:53:44 +01:00
sarah f3fe297585 Update 'primary menu' location to 'primary' to simplify for users. 2015-11-30 12:59:37 +00:00
sarah ✈ semark 855b5eb7f2 Merge pull request #871 from emiluzelac/patch-44
Bumping (Tested up to:) version number
2015-11-30 09:40:39 +00:00
Emil Uzelac e5627d01f7 Bumping (Tested up to:) version number
Minor version update, that's all.
2015-11-28 16:18:26 -06:00
Mark Batchelder 77e3087c2e Changed widget wrapper from div to section
Per https://github.com/WordPress/twentysixteen/issues/355
2015-11-24 00:06:27 -08:00
Mark Batchelder 15cef7e795 Move aside from the widgets to the entire sidebar.
It appears that the entire sidebar should be one large aside instead of
making each widget it's own aside. At least that's how I understand it
when reading w3. It would make sense to make each widget it's own aside
if not all of the widgets were asides, but otherwise the entire sidebar
should be considered one aside.

Plus I think this would make more sense for accessibility and with the
widgets titles being h2 because if the entire sidebar had a title that
would be the h1.

https://www.w3.org/wiki/HTML/Elements/aside
2015-11-20 23:14:31 -08:00
Takashi Irie 53e6f845ad Merge pull request #865 from noskov/master
Remove redundant empty new lines at the end of some files
2015-11-18 14:00:38 +00:00
Serge Noskov 5865825670 Remove redundant empty new lines at the end of some files 2015-11-18 08:22:05 +02:00
David A. Kennedy 666dbada97 Merge pull request #785 from carl-alberto/fixCustomizerHeaderTextColor
Fix Customizer header text color, applying the color change to the `a`, not the parent element.
2015-11-12 18:56:33 -05:00
carl alberto f2722f9b3f Fix for open issue #768 (Site title color in the Customizer)
This fixes the header text color link (blogname) to also update the same way as the blogdescription

Fix for open issue #768 (Site title color in the Customizer)

Fixed the missing Blog title text when "Display Header Text "option in the Customizer is toggled on/off

Updated the code to adjust the css color of .site-title a

Fix for the header color issue #816
2015-11-12 16:07:15 +08:00
David A. Kennedy 3fe3b95822 Merge pull request #861 from davidakennedy/master
Fix failing Travis build because of extra whitespace
2015-11-11 17:53:30 -05:00
David A. Kennedy 22b035ad55 Fix failing Travis build because of extra whitespace 2015-11-11 17:51:13 -05:00
jrfnl 8470f55f92 Avoid going in and out of PHP unnecessarily.
Closes #854

Includes minor alignment changes for easier readability/detection of start/end of conditions.
2015-11-11 22:59:40 +01:00
Tammie Lister 6f6de25568 Merge pull request #680 from iandunn/clearfix-max-width
Set a fixed table-layout in the clearfix to avoid max-width conflict
2015-11-11 20:55:35 +00:00
Tammie Lister 2eb3836006 Merge pull request #848 from ernilambar/master
respect content-search.php for search result in Jetpack Infinite Scroll
Merging as comments and second opinion given in ticket.
2015-11-11 20:33:37 +00:00
Tammie Lister 7c2d3ce6eb Merge pull request #820 from sixhours/master
Remove hfeed from header.php, add to body_class filter. See #740
2015-11-11 20:27:21 +00:00
Tammie Lister cd883e9176 Merge pull request #857 from davidakennedy/skiplinkcss
Do not show the outline on the skip link target container
2015-11-11 20:01:49 +00:00
David A. Kennedy 1a7cedc7dd Do not show the outline on the skip link target container
* Putting it in style.css solves the issue for our specific skip link, but leaves the outline working on other anchors in case developers need that.
* For discussion, see: https://github.com/Automattic/_s/pull/814
* Related: https://github.com/Automattic/_s/pull/755 and https://github.com/Automattic/_s/pull/604

Fixes #543
2015-11-11 14:54:08 -05:00
Tammie Lister e1fe1fc0d2 Merge pull request #851 from iamdmitrymayorov/removeSearchSubmit
Removed widget search submit styles.
2015-11-11 19:09:51 +00:00
Dmitry Mayorov 2c6e9173b7 Removed widget search submit styles. 2015-11-11 23:09:25 +05:00
Tammie Lister 7ac5946dec Merge pull request #856 from jrfnl/feature/835-apply-to-style.css
Apply the fix from #835 to style.css.
2015-11-11 16:20:23 +00:00
jrfnl 5929e81b8d Apply the fix from #835 to style.css. 2015-11-11 17:12:57 +01:00
Tammie Lister 19eef30279 Merge pull request #850 from iamdmitrymayorov/hideSearchSubmit
Not hiding submit button on search widget.
2015-11-11 15:34:44 +00:00
David A. Kennedy ee444389b3 Merge pull request #855 from jrfnl/feature/fix-travis-build
Fix failing Travis build because of new way of echoing site `$description`
2015-11-11 10:26:01 -05:00
jrfnl 6ba9dbcf6b Ignore WPCS output escape warning for description as it *is* already correctly escaped.
Fixes failing travis build.
2015-11-11 15:34:03 +01:00
Dmitry Mayorov fee93610b7 Not hiding submit button on search widget. 2015-11-11 11:06:09 +05:00
Tammie Lister 13f57054c1 Merge pull request #826 from tywayne/issues/825
Only output tagline markup when tagline exists or is_customize_preview
2015-11-10 22:09:49 +00:00
Tammie Lister 495587d8f6 Merge pull request #840 from limestreet/master
Update _widgets.scss. I think this is a good option as we can show like Twenty Sixteen and just remove if the theme requires it.
2015-11-10 22:02:28 +00:00
ernilambar a64e3a8092 respect content-search.php for search result in Jetpack Infinite Scroll 2015-11-10 11:22:39 +05:45