Commit Graph

178 Commits

Author SHA1 Message Date
Lance Willett 04ff214073 Twenty Fifteen: add ARIA attributes to menu toggle.
See #31527, props davidakennedy, lance.

Built from https://develop.svn.wordpress.org/trunk@31644


git-svn-id: http://core.svn.wordpress.org/trunk@31625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-06 17:34:26 +00:00
Dominik Schilling a748574c29 Revert [30790] and update POT file for Twenty Fifteen.
see #30972, #30603.
Built from https://develop.svn.wordpress.org/trunk@31500


git-svn-id: http://core.svn.wordpress.org/trunk@31481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-22 13:43:24 +00:00
Lance Willett dbfcd52c33 Bundled themes: remove URLs from reset credits. Closes #30764.
Built from https://develop.svn.wordpress.org/trunk@31454


git-svn-id: http://core.svn.wordpress.org/trunk@31435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-13 18:02:25 +00:00
Lance Willett cfba917080 Twenty Fifteen: move RSS icon style rule lower to prevent it from being overridden by other social icon rules.
Props iamtakashi, fixes #31129.

Built from https://develop.svn.wordpress.org/trunk@31283


git-svn-id: http://core.svn.wordpress.org/trunk@31264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-26 15:58:23 +00:00
Lance Willett f6fd49b357 Twenty Fifteen: keep sub-menus open when visiting sub-menu pages, to show context when navigating a site.
Props jartes, fixes #30722.
Built from https://develop.svn.wordpress.org/trunk@31214


git-svn-id: http://core.svn.wordpress.org/trunk@31195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-16 19:17:22 +00:00
Lance Willett 7be12f7d8d Twenty Fifteen: move `js` and `no-js` class name functionality out of header template and into a `wp_head` hook in functions.php file so that the JavaScript functionality isn't hard-coded into a template file.
Fixes #30770, props chipbennett, valendesigns, and peterwilsoncc.
Built from https://develop.svn.wordpress.org/trunk@31184


git-svn-id: http://core.svn.wordpress.org/trunk@31165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-15 23:10:22 +00:00
Lance Willett 4d00172987 Twenty Fifteen: remove unused CSS rules for `wp_page_menu` since are not used in the theme. And a bit of CSS cleanup.
Props iamtakashi, fixes #30957.
Built from https://develop.svn.wordpress.org/trunk@31183


git-svn-id: http://core.svn.wordpress.org/trunk@31164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-15 23:05:22 +00:00
Lance Willett 6960d5ce12 Twenty Fifteen: remove border on post navigation when post thumbnail is available.
Props jartes, fixes #30918.
Built from https://develop.svn.wordpress.org/trunk@31182


git-svn-id: http://core.svn.wordpress.org/trunk@31163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-15 23:03:26 +00:00
Sergey Biryukov b2b4233b7b Twenty Fifteen: Add print section to the table of contents in the stylesheet.
props iamtakashi.
fixes #30993.
Built from https://develop.svn.wordpress.org/trunk@31175


git-svn-id: http://core.svn.wordpress.org/trunk@31156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-13 07:21:21 +00:00
Lance Willett 9917758155 Twenty Fifteen: more styles for multi-site forms.
Props iamtakashi, closes #30776.
Built from https://develop.svn.wordpress.org/trunk@31001


git-svn-id: http://core.svn.wordpress.org/trunk@30983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-30 10:30:22 +00:00
Lance Willett 5ccb434f15 Twenty Fifteen: fix missing style for menu in small screens.
Props valendesigns, fixes #30857.
Built from https://develop.svn.wordpress.org/trunk@30997


git-svn-id: http://core.svn.wordpress.org/trunk@30979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-29 12:01:25 +00:00
Lance Willett dcb71eb1c9 Twenty Fifteen: pinking shears.
Built from https://develop.svn.wordpress.org/trunk@30996


git-svn-id: http://core.svn.wordpress.org/trunk@30978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-29 10:08:23 +00:00
Lance Willett e389e306ad Twenty Fifteen: add styles for multisite registration forms.
Props valendesigns, fixes #30776.
Built from https://develop.svn.wordpress.org/trunk@30995


git-svn-id: http://core.svn.wordpress.org/trunk@30977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-29 09:58:24 +00:00
Lance Willett b335af9e63 Twenty Fifteen: use better, universal sans-serif fonts for RTL, similar to Twenty Ten which also had serif fonts throughout.
Props iamtakashi, see #30752.
Built from https://develop.svn.wordpress.org/trunk@30961


git-svn-id: http://core.svn.wordpress.org/trunk@30949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 22:30:24 +00:00
Lance Willett 3bb98189d7 Twenty Fifteen: ensure RTL editor font style is consistent with front-end font style.
Props iamtakashi and alex-ye, see #30746.
Built from https://develop.svn.wordpress.org/trunk@30956


git-svn-id: http://core.svn.wordpress.org/trunk@30944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 17:22:25 +00:00
Lance Willett 8ccffecf03 Twenty Fifteen: ensure menu icon is properly centered for RTL views on small screens.
Props iamtakashi, fixes #30739.
Built from https://develop.svn.wordpress.org/trunk@30955


git-svn-id: http://core.svn.wordpress.org/trunk@30943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 16:39:46 +00:00
Lance Willett e5b753a48a Twenty Fifteen: fix styles for screen-reader-only search button in small screens.
Props iamtakashi, fixes #30744.
Built from https://develop.svn.wordpress.org/trunk@30953


git-svn-id: http://core.svn.wordpress.org/trunk@30941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-17 16:38:24 +00:00
Lance Willett 6b9d5a87e3 Twenty Fifteen: hide search input cancel button. See #30728.
Built from https://develop.svn.wordpress.org/trunk@30945


git-svn-id: http://core.svn.wordpress.org/trunk@30934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 22:43:22 +00:00
Dominik Schilling 6f937df4e5 Twenty Fifteen: Use dynamic default color value instead of hardcoded color.
props iamtakashi.
see #30733.
Built from https://develop.svn.wordpress.org/trunk@30932


git-svn-id: http://core.svn.wordpress.org/trunk@30921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 21:35:23 +00:00
Lance Willett 2a170d1f13 Twenty Fifteen: fallback hex color for no-comments text should come first.
Props iamtakashi, fixes #30730.
Built from https://develop.svn.wordpress.org/trunk@30910


git-svn-id: http://core.svn.wordpress.org/trunk@30900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 16:19:22 +00:00
Dominik Schilling e328484e66 Twenty Fifteen: Remove unnecessary `esc_html()` from `get_the_date()` and `get_the_modified_date()`.
see #30724.
Built from https://develop.svn.wordpress.org/trunk@30905


git-svn-id: http://core.svn.wordpress.org/trunk@30895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 14:19:22 +00:00
Dominik Schilling 0419c86b54 Twenty Fifteen: Remove `esc_html()` from `get_the_author()`.
The display name is sanitized through `sanitize_text_field`, `wp_filter_kses`, and `_wp_specialchars`.

see #30724.
Built from https://develop.svn.wordpress.org/trunk@30901


git-svn-id: http://core.svn.wordpress.org/trunk@30891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:40:22 +00:00
Dominik Schilling 52454ce5df Twenty Fifteen: Don't escape translated strings.
Replace every unnecessary instance of `esc_html_x()` with just `_x()`.

see #30724.
Built from https://develop.svn.wordpress.org/trunk@30899


git-svn-id: http://core.svn.wordpress.org/trunk@30889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:25:23 +00:00
Dominik Schilling 3749d51b72 Twenty Fifteen: Remove `esc_html()` from blog description.
The blog description gets esc_html()'d *into* the DB. It's also escaped because the filter for `get_bloginfo()` is set to 'display'.

see #30724.
Built from https://develop.svn.wordpress.org/trunk@30897


git-svn-id: http://core.svn.wordpress.org/trunk@30887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:20:23 +00:00
Dominik Schilling 289f29ac0b Twenty Fifteen: Don't escape translated strings.
Replace every unnecessary instance of `esc_html__()` and `esc_html_e()` with just `__()` and `_e()`.

see #30724.
Built from https://develop.svn.wordpress.org/trunk@30896


git-svn-id: http://core.svn.wordpress.org/trunk@30886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 13:00:22 +00:00
Dominik Schilling 7e98a6647e Twenty Fifteen: Don't save unfiltered CSS in a setting.
Introduce `twentyfifteen_get_color_scheme_css( $colors )` which will be used for Underscore/Backbone and the PHP side. Let `twentyfifteen_color_scheme_css()` handle the color calculation on PHP side.

see #30409.
Built from https://develop.svn.wordpress.org/trunk@30893


git-svn-id: http://core.svn.wordpress.org/trunk@30883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 12:27:26 +00:00
Lance Willett 62fc271e6a Twenty Fifteen: minor updates to readme.txt file for clarity and removing non-ASCII characters. Closes #30675.
Built from https://develop.svn.wordpress.org/trunk@30869


git-svn-id: http://core.svn.wordpress.org/trunk@30859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 19:09:22 +00:00
Lance Willett e5e99398ce Twenty Fifteen: remove license details for the image shown in the theme screenshot file as it is Creative Commons Zero, which doesn't require attribution.
Props iamtakashi, fixes #30156.
Built from https://develop.svn.wordpress.org/trunk@30867


git-svn-id: http://core.svn.wordpress.org/trunk@30857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:44:23 +00:00
Lance Willett 2457e9d7b6 Twenty Fifteen: remove Genericons as a dependency from loading the main stylesheet.
Props iamtakashi, fixes #30532.
Built from https://develop.svn.wordpress.org/trunk@30865


git-svn-id: http://core.svn.wordpress.org/trunk@30855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:38:26 +00:00
Dominik Schilling 9416431655 Twenty Fifteen: Update the .pot file for [30834].
fixes #30152.
Built from https://develop.svn.wordpress.org/trunk@30845


git-svn-id: http://core.svn.wordpress.org/trunk@30835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 12:34:22 +00:00
Lance Willett deb5337d7c Twenty Fifteen: update scroll functionality to make sure child menu items are always reachable.
Props iamtakashi, fixes #30674.
Built from https://develop.svn.wordpress.org/trunk@30838


git-svn-id: http://core.svn.wordpress.org/trunk@30828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 23:59:22 +00:00
Andrew Ozz 56d0d9c31e Twenty Fifteen, editor-style: remove margin-bottom from the gallery preview inside the editor. Fixes #30697.
Built from https://develop.svn.wordpress.org/trunk@30836


git-svn-id: http://core.svn.wordpress.org/trunk@30826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 21:45:22 +00:00
Lance Willett ac1b60c018 Twenty Fifteen: update archive pagination links to use `aria-hidden` for better accessibility.
Props SergeyBiryukov, fixes #30152.
Built from https://develop.svn.wordpress.org/trunk@30834


git-svn-id: http://core.svn.wordpress.org/trunk@30824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 18:37:22 +00:00
Lance Willett b9bc6cc2dd Twenty Fifteen: update readme.txt file, props iamtakashi. See #30675.
Built from https://develop.svn.wordpress.org/trunk@30833


git-svn-id: http://core.svn.wordpress.org/trunk@30823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 18:28:22 +00:00
Lance Willett c5825f02c0 Twenty Fifteen: remove fonts as a style dependency.
Props obenland, SergeyBiryukov. Fixes #30678.
Built from https://develop.svn.wordpress.org/trunk@30832


git-svn-id: http://core.svn.wordpress.org/trunk@30822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 18:26:24 +00:00
Sergey Biryukov ad3963c7e8 Twenty Fifteen: Reflect the change from "no" to "share" icon in [30810] in readme.txt.
props iamtakashi.
fixes #30148.
Built from https://develop.svn.wordpress.org/trunk@30828


git-svn-id: http://core.svn.wordpress.org/trunk@30818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 17:45:22 +00:00
John Blackbourn 904f70c8e1 Switch to `(get_)the_posts_pagination()` in Twenty Fifteen.
See #29808
Props obenland

Built from https://develop.svn.wordpress.org/trunk@30824


git-svn-id: http://core.svn.wordpress.org/trunk@30814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 10:24:21 +00:00
Ian Stewart c468ce8f15 Twenty Fifteen: updating the .pot to reflect changes in r30790.
Props iamtakashi, fixes #30603.


Built from https://develop.svn.wordpress.org/trunk@30811


git-svn-id: http://core.svn.wordpress.org/trunk@30801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:33:23 +00:00
Ian Stewart 82f6daf913 Twenty Fifteen: using an opaque share icon as the default instead of semi-opaque "no" icon that suggests a bug.
Props iamtakashi, fixes #30148.


Built from https://develop.svn.wordpress.org/trunk@30810


git-svn-id: http://core.svn.wordpress.org/trunk@30800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:14:23 +00:00
Ian Stewart a06651b4ce Twenty Fifteen: Removing the empty changelog.txt.
Fixes #30650.


Built from https://develop.svn.wordpress.org/trunk@30809


git-svn-id: http://core.svn.wordpress.org/trunk@30799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:06:22 +00:00
Ian Stewart d3adc02051 Twenty Fifteen: correcting odd scrolling and jumping in IE and no-scroll with window resize.
Props iamtakashi, ocean90, fixes #30632, #30645.



Built from https://develop.svn.wordpress.org/trunk@30808


git-svn-id: http://core.svn.wordpress.org/trunk@30798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 23:02:23 +00:00
Ian Stewart 65ed77974b Twenty Fifteen: minor file cleanup.
Props iamtakashi, fixes #30653.


Built from https://develop.svn.wordpress.org/trunk@30806


git-svn-id: http://core.svn.wordpress.org/trunk@30796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:39:24 +00:00
Ian Stewart 32e2d396bf Twenty Fifteen: correct escaping.
Props iamtakashi, fixes #30651.


Built from https://develop.svn.wordpress.org/trunk@30805


git-svn-id: http://core.svn.wordpress.org/trunk@30795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:34:22 +00:00
Ian Stewart 867aabca4a Twenty Fifteen: less than or equal to is incorrect here when the sidebar only appears at 955px -- it should be less than for removal of inline styles.
Props iamtakashi, fixes #30656


Built from https://develop.svn.wordpress.org/trunk@30804


git-svn-id: http://core.svn.wordpress.org/trunk@30794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:31:22 +00:00
Ian Stewart 9584678932 Twenty Fifteen: prevent jumping on hover in blog footer links with Safari
Props iamtakashi, fixes #30654.


Built from https://develop.svn.wordpress.org/trunk@30803


git-svn-id: http://core.svn.wordpress.org/trunk@30793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:24:21 +00:00
Ian Stewart 8feb6cfcf3 Twenty Fifteen: we should be checking for twentyfifteen_get_color_scheme_choices here not twentyfifteen_get_color_scheme_control_options
Props iamtakashi, fixes #30652


Built from https://develop.svn.wordpress.org/trunk@30802


git-svn-id: http://core.svn.wordpress.org/trunk@30792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:21:23 +00:00
Ian Stewart b2ca8af3bf Twenty Fifteen: admin-custom-header.css was emptied in r30567 so let's remove it entirely.
Props kwight, fixes #30648.


Built from https://develop.svn.wordpress.org/trunk@30801


git-svn-id: http://core.svn.wordpress.org/trunk@30791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 13:17:22 +00:00
Drew Jaynes d72fac0131 Twenty Fifteen: Replace encoded HTML entities in the file header DocBlock for header.php with 'head element'.
Props iamtakashi.
Fixes #30649.

Built from https://develop.svn.wordpress.org/trunk@30798


git-svn-id: http://core.svn.wordpress.org/trunk@30788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-10 03:02:23 +00:00
Ian Stewart aa9fa42f91 Twenty Fifteen: moving to a single line for tranlator comments to prevent them being missed in i18n tools.
Props netweb, DrewAPicture, fixes #30603.


Built from https://develop.svn.wordpress.org/trunk@30790


git-svn-id: http://core.svn.wordpress.org/trunk@30780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 18:25:22 +00:00
Ian Stewart 3ec55886cd Twenty Fifteen: layout correction for IE8 and IE7 after r30388 introduced a defect with the header there.
Props iamtakashi, fixes #30630.


Built from https://develop.svn.wordpress.org/trunk@30789


git-svn-id: http://core.svn.wordpress.org/trunk@30779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-08 17:46:23 +00:00