Commit Graph

1688 Commits

Author SHA1 Message Date
Lance Willett 75b70de286 Twenty Fourteen: minor style adjustments for navigation and a new lighter pattern-dark graphic which makes easier to change the background color of the featured image content. Props iamtakashi.
Also update stylesheet tags. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26272


git-svn-id: http://core.svn.wordpress.org/trunk@26177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 18:27:11 +00:00
Lance Willett 8321cdd567 Twenty Fourteen: avoid premature creation of tags when using the tag suggestion for Featured Content. Props obenland, fixes #26080.
Built from https://develop.svn.wordpress.org/trunk@26270


git-svn-id: http://core.svn.wordpress.org/trunk@26175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 15:27:11 +00:00
Andrew Nacin c43e93d935 Fix spaces/tabs in Twenty Fourteen JS, allowing JSHint to run clean for these files.
props dougwollison.
fixes #26031, #26032.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 03:49:09 +00:00
Lance Willett 9e201fadff Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093.
Built from https://develop.svn.wordpress.org/trunk@26260


git-svn-id: http://core.svn.wordpress.org/trunk@26166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:11:10 +00:00
Lance Willett 2291d479af Twenty Fourteen: simplify tags output in content templates, props nacin. See #26093.
Built from https://develop.svn.wordpress.org/trunk@26258


git-svn-id: http://core.svn.wordpress.org/trunk@26164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:48:10 +00:00
Sergey Biryukov a110ab596f Correctly capitalize WP_Query in Featured_Content::pre_get_posts() inline docs. see #26064.
Built from https://develop.svn.wordpress.org/trunk@26257


git-svn-id: http://core.svn.wordpress.org/trunk@26163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:24:11 +00:00
Lance Willett 9c93043286 Twenty Fourteen: correct `$query` usage in `Featured_Content::pre_get_posts()`, props SergeyBiryukov, fixes #26064.
Built from https://develop.svn.wordpress.org/trunk@26255


git-svn-id: http://core.svn.wordpress.org/trunk@26161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:04:09 +00:00
Lance Willett 881c608592 Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26249


git-svn-id: http://core.svn.wordpress.org/trunk@26155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:21:09 +00:00
Lance Willett 3c0f497fad Twenty Fourteen: general cleanup for spacing, inline comments. Props obenland, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26227


git-svn-id: http://core.svn.wordpress.org/trunk@26134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:20:09 +00:00
Lance Willett 433c648e1d Twenty Fourteen: fix an issue with keyboard navigation where you couldn't navigate to the previous image. Props obenland, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26226


git-svn-id: http://core.svn.wordpress.org/trunk@26133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:18:09 +00:00
Lance Willett a52f3ebb7b Twenty Fourteen: limit back compat to 3.6 and later versions. See #26055, props obenland.
Built from https://develop.svn.wordpress.org/trunk@26225


git-svn-id: http://core.svn.wordpress.org/trunk@26132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:15:10 +00:00
Lance Willett 330948ced3 Twenty Fourteen: remove a font weight of `900 italic` which isn't needed. Props iamtakashi. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26218


git-svn-id: http://core.svn.wordpress.org/trunk@26126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:03:10 +00:00
Lance Willett c3bd52a52f Twenty Fourteen: remove `main-content` element where not necessary, props iamtakashi. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26217


git-svn-id: http://core.svn.wordpress.org/trunk@26125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:01:09 +00:00
Lance Willett 667cbb9345 Twenty Fourteen: use HTML entity for arrow in Help text string, props dd32. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26211


git-svn-id: http://core.svn.wordpress.org/trunk@26119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 14:20:11 +00:00
Lance Willett 630619cf6c Twenty Fourteen: remove unneeded translator context from theme Help tab text, props domain. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26190


git-svn-id: http://core.svn.wordpress.org/trunk@26098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 02:43:10 +00:00
Scott Taylor 005fe51131 Don't call is_home() before the query is run in Featured Content's pre_get_posts hook callback.
Built from https://develop.svn.wordpress.org/trunk@26189


git-svn-id: http://core.svn.wordpress.org/trunk@26097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 02:37:10 +00:00
Lance Willett 2b1c6c8ba4 Twenty Fourteen: fix tabs to spaces in two files. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26154


git-svn-id: http://core.svn.wordpress.org/trunk@26065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:57:10 +00:00
Lance Willett 254bdd6bc9 Twenty Fourteen: first pass at adding help text to to "Help" tab for `edit.php` and `themes.php` screens. Props obenland for starter patch, see #25837.
Built from https://develop.svn.wordpress.org/trunk@26153


git-svn-id: http://core.svn.wordpress.org/trunk@26064 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:53:09 +00:00
Lance Willett c8cfe17a02 Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26152


git-svn-id: http://core.svn.wordpress.org/trunk@26063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:50:11 +00:00
Lance Willett 85dcc4aea8 Twenty Fourteen: remove unused class name, props obenland. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26151


git-svn-id: http://core.svn.wordpress.org/trunk@26062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:46:10 +00:00
Lance Willett da044fd00f Twenty Fourteen: make sure styles for featured content on a static page are limited to posts within the main content area. Props iamtakashi, fixes #25938.
Built from https://develop.svn.wordpress.org/trunk@26150


git-svn-id: http://core.svn.wordpress.org/trunk@26061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:20:11 +00:00
Lance Willett 5d32b45b79 Twenty Fourteen: use numbered placeholders for Customizer help text in case they get swapped during translation, props obenland. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26135


git-svn-id: http://core.svn.wordpress.org/trunk@26047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:02:09 +00:00
Lance Willett a5433f58a1 Twenty Fourteen: style multisite pages `wp-activate.php` and `wp-signup.php`, props obenland. Fixes #25479.
Built from https://develop.svn.wordpress.org/trunk@26133


git-svn-id: http://core.svn.wordpress.org/trunk@26045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 16:24:09 +00:00
Lance Willett fdc8f7dcff Twenty Fourteen: remove unnecessary `width` rule that broke responsiveness. Props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@26119


git-svn-id: http://core.svn.wordpress.org/trunk@26031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:21:10 +00:00
Lance Willett 7464f20e18 Twenty Fourteen: updated (and more PNG crushing) screenshot. Props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@26118


git-svn-id: http://core.svn.wordpress.org/trunk@26030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:08:09 +00:00
Lance Willett 7a70414640 Twenty Fourteen: enhanced styles for logged-out comment form "required" mark and comment moderation text. Props iamtakashi, fixes #25932.
Built from https://develop.svn.wordpress.org/trunk@26117


git-svn-id: http://core.svn.wordpress.org/trunk@26029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:51:09 +00:00
Lance Willett bcafda4eaa Twenty Fourteen: fix low-contrast input elements in Firefox by explicitly setting `opacity: 1` for the placeholder text. Also brighten the border styles a bit. Props iamtakashi, fixes #25930.
Built from https://develop.svn.wordpress.org/trunk@26116


git-svn-id: http://core.svn.wordpress.org/trunk@26028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:46:09 +00:00
Lance Willett 522f3168d2 Twenty Fourteen: remove extra newline from `footer.php` file.
Built from https://develop.svn.wordpress.org/trunk@26106


git-svn-id: http://core.svn.wordpress.org/trunk@26021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 20:15:10 +00:00
Lance Willett a68971ba3e Twenty Fourteen: move page templates into their own directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26105


git-svn-id: http://core.svn.wordpress.org/trunk@26020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 19:03:09 +00:00
Lance Willett 369044f9a5 Twenty Fourteen: move CSS files except for rtl.css and style.css into new `css` directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26104


git-svn-id: http://core.svn.wordpress.org/trunk@26019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:57:09 +00:00
Lance Willett d6fdcfc432 Twenty Fourteen: rename `fonts` to `genericons`. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26103


git-svn-id: http://core.svn.wordpress.org/trunk@26018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:38:10 +00:00
Lance Willett c428c41cd3 Twenty Fourteen: update two over-qualified selectors in main stylesheet.
Built from https://develop.svn.wordpress.org/trunk@26102


git-svn-id: http://core.svn.wordpress.org/trunk@26017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:19:11 +00:00
Lance Willett cdc03fe491 Twenty Fourteen: add in more contextual help for setting up Featured Content, links to "featured" tag posts and "sticky" posts from inside the Customizer. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26101


git-svn-id: http://core.svn.wordpress.org/trunk@26016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 17:13:09 +00:00
Lance Willett 0f8f8def47 Twenty Fourteen: adjust fixed header top margin now that MP6 is merged. See #25906 props celloexpressions.
Built from https://develop.svn.wordpress.org/trunk@26100


git-svn-id: http://core.svn.wordpress.org/trunk@26015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 17:11:09 +00:00
Lance Willett 9a5e81ec88 Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922.
Built from https://develop.svn.wordpress.org/trunk@26099


git-svn-id: http://core.svn.wordpress.org/trunk@26014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 16:48:09 +00:00
Lance Willett 68491fafb3 Twenty Fourteen: full-width page template should display a full-width featured image, except for mobile. Fixes #25925, props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@26098


git-svn-id: http://core.svn.wordpress.org/trunk@26013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 16:47:10 +00:00
Lance Willett 323b7c4627 Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036.
Built from https://develop.svn.wordpress.org/trunk@26097


git-svn-id: http://core.svn.wordpress.org/trunk@26012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 04:18:11 +00:00
Lance Willett 8612dc4ef6 Twenty Fourteen: update the theme description with more information about theme features such as Featured Content and how to set it up. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26092


git-svn-id: http://core.svn.wordpress.org/trunk@26009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 19:32:09 +00:00
Sergey Biryukov 3b66710dae Remove the code for increasing z-index for the tag suggestion script from Twenty Fourteen.
fixes #25867.
Built from https://develop.svn.wordpress.org/trunk@26086


git-svn-id: http://core.svn.wordpress.org/trunk@26006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:43:09 +00:00
Lance Willett a1036ac9f0 Twenty Fourteen: changes to JavaScript files to pass `jshint`, props jorbin. Fixes #25908 #25909 #25910.
* Add global variable flags to top of JS files.
 * Group variable declarations correctly.
Built from https://develop.svn.wordpress.org/trunk@26084


git-svn-id: http://core.svn.wordpress.org/trunk@26004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:27:11 +00:00
Sergey Biryukov 4517d7b729 Remove the code for setting ajaxurl from Twenty Fourteen.
props celloexpressions.
fixes #25866.
Built from https://develop.svn.wordpress.org/trunk@26083


git-svn-id: http://core.svn.wordpress.org/trunk@26003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 15:51:10 +00:00
Lance Willett dc80ae6691 Twenty Fourteen: improve Featured Content experience in the Customizer. Better preview and cache clearing, props obenland and rachelbaker. Fixes #25549.
Built from https://develop.svn.wordpress.org/trunk@26079


git-svn-id: http://core.svn.wordpress.org/trunk@25999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 23:38:10 +00:00
Lance Willett 8e0733a6c7 Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897.
Built from https://develop.svn.wordpress.org/trunk@26071


git-svn-id: http://core.svn.wordpress.org/trunk@25991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:28:09 +00:00
Lance Willett 5bb8d78e07 Bundled Themes: implement Microsoft-specific `@viewport` rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888.
Built from https://develop.svn.wordpress.org/trunk@26070


git-svn-id: http://core.svn.wordpress.org/trunk@25990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:20:09 +00:00
Lance Willett 944434824e Twenty Fourteen: implement UX features in spite of being non-standard CSS selectors that won't validate. `@viewport` for a better touch experience on Windows, and `::selection` for better text selection styles. See #25888 and #25898, props celloexpressions.
Built from https://develop.svn.wordpress.org/trunk@26069


git-svn-id: http://core.svn.wordpress.org/trunk@25989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:16:09 +00:00
Lance Willett d485bc61f3 Twenty Fourteen: remove non-standard `::selection` selectors. Closes #25898.
Built from https://develop.svn.wordpress.org/trunk@26062


git-svn-id: http://core.svn.wordpress.org/trunk@25985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 18:47:10 +00:00
Lance Willett dee70a91a6 Twenty Fourteen: when header is more than 48px tall (like two lines of menu items), unfix the header so it doesn't overlap the page content. Props iamtakashi, fixes #25554.
Built from https://develop.svn.wordpress.org/trunk@26059


git-svn-id: http://core.svn.wordpress.org/trunk@25982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 15:32:09 +00:00
Lance Willett 750258a7c6 Twenty Fourteen: fix gallery layout issue in IE, props jartes and iamtakashi. Fixes #25625.
Built from https://develop.svn.wordpress.org/trunk@26057


git-svn-id: http://core.svn.wordpress.org/trunk@25981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 00:18:09 +00:00
Lance Willett 0f8be808ff Twenty Fourteen: fix case of featured posts `has_tag()` check that was adding an empty `footer` element. See #25868, props iamtakashi.
Built from https://develop.svn.wordpress.org/trunk@26048


git-svn-id: http://core.svn.wordpress.org/trunk@25973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 05:54:10 +00:00
Lance Willett 1b98c32e7a Twenty Fourteen: performance win by reducing the number of post thumbnail sizes needed in the theme. Props iamtakashi, closes #25876.
Built from https://develop.svn.wordpress.org/trunk@26047


git-svn-id: http://core.svn.wordpress.org/trunk@25972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 05:31:09 +00:00