Commit Graph

61 Commits

Author SHA1 Message Date
Lance Willett
b15de66997 Twenty Fourteen: fix two usability issues with touch events on mobile devices with the Featured Content slider:
* Try to avoid the slight delay when swiping from one slide to the next.
 * Fix bug where second to last slide was animating like it was the last.

Fixes #26191.
Built from https://develop.svn.wordpress.org/trunk@26665


git-svn-id: http://core.svn.wordpress.org/trunk@26555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 08:21:10 +00:00
Lance Willett
1b78eb0bb2 Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427; see #24863.
Built from https://develop.svn.wordpress.org/trunk@26657


git-svn-id: http://core.svn.wordpress.org/trunk@26547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:16:10 +00:00
Lance Willett
84d9b4241b Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384.
Built from https://develop.svn.wordpress.org/trunk@26598


git-svn-id: http://core.svn.wordpress.org/trunk@26488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 03:24:19 +00:00
Sergey Biryukov
54cc0d8b9e Twenty Fourteen: Remove obsolete comment. props DrewAPicture. fixes #26380.
Built from https://develop.svn.wordpress.org/trunk@26581


git-svn-id: http://core.svn.wordpress.org/trunk@26471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 19:20:09 +00:00
Lance Willett
5b54845df7 Twenty Fourteen: reposition the window on jump-to-anchor to account for header height. Props obenland, fixes #26213.
Built from https://develop.svn.wordpress.org/trunk@26574


git-svn-id: http://core.svn.wordpress.org/trunk@26465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:35:10 +00:00
Lance Willett
addc2a8f38 Twenty Fourteen: fix stylesheet loading, broken in r26560.
Built from https://develop.svn.wordpress.org/trunk@26565


git-svn-id: http://core.svn.wordpress.org/trunk@26456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:41:09 +00:00
Lance Willett
ee67057ade Twenty Fourteen: code cleanup, props kovshenin. See #25946.
* Filtering `twentyfourteen_has_featured_posts()` false suggests the filter expects a boolean value, but we expect an array. Use an existing function instead.
 * In both style.css and ie.css use Genericons, so let's not forget to declare the dependancy.
 * Make sure Lato font is enqueued in `admin_print_scripts`.
Built from https://develop.svn.wordpress.org/trunk@26560


git-svn-id: http://core.svn.wordpress.org/trunk@26451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:28:10 +00:00
Lance Willett
e46662b6ae Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837.
Built from https://develop.svn.wordpress.org/trunk@26556


git-svn-id: http://core.svn.wordpress.org/trunk@26447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:06:11 +00:00
Lance Willett
7431d1b9ac Twenty Fourteen: fix typos and a correct @return value, props morganestes. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26325


git-svn-id: http://core.svn.wordpress.org/trunk@26228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 11:20:10 +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
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
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
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
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
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
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
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
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
Lance Willett
5420155231 Twenty Fourteen: move all controls for managing Featured Content to the Customizer. Also implement smart fallbacks to not using a custom tag with the "featured" tag and sticky posts. Props obenland and celloexpressions, see #25549.
Built from https://develop.svn.wordpress.org/trunk@26037


git-svn-id: http://core.svn.wordpress.org/trunk@25966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 20:25:09 +00:00
Lance Willett
35af8942ab Twenty Fourteen: add full-width featured images for layouts without a content sidebar, but use wp_is_mobile() to load smaller-sized images for mobile. Props iamtakashi, fixes #25758.
Built from https://develop.svn.wordpress.org/trunk@26026


git-svn-id: http://core.svn.wordpress.org/trunk@25956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 20:40:10 +00:00
Lance Willett
c1b0fa9039 Twenty Fourteen: add Audio post format support. Props celloexpressions, closes #25807.
Built from https://develop.svn.wordpress.org/trunk@26020


git-svn-id: http://core.svn.wordpress.org/trunk@25951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 21:52:09 +00:00
Lance Willett
50fbc698fd Twenty Fourteen: update bundled Genericons to the latest version, 3.0.2. Props iamtakashi, closes #25812.
Built from https://develop.svn.wordpress.org/trunk@26003


git-svn-id: http://core.svn.wordpress.org/trunk@25936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-04 18:08:10 +00:00
Lance Willett
e0e2ace724 Twenty Fourteen: revamp the RTL stylesheet and related cleanup. Props iamtakashi, see #25801.
Built from https://develop.svn.wordpress.org/trunk@25999


git-svn-id: http://core.svn.wordpress.org/trunk@25932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-02 04:36:12 +00:00
Andrew Nacin
d0cfa40983 Add jshintrc to qunit.
props jorbin.
see #25187.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 14:39:10 +00:00
Lance Willett
d8ba6cde31 Twenty Fourteen: further revise primary navigation functionality, simplify mobile navigation, and clean up the main JS file. Props obenland, iamtakashi. See #25554.
Built from https://develop.svn.wordpress.org/trunk@25864


git-svn-id: http://core.svn.wordpress.org/trunk@25864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:48 +00:00
Lance Willett
b761edc198 Twenty Fourteen: fix non-image attachment page layout, props iamtakashi. Fixes #25624.
Built from https://develop.svn.wordpress.org/trunk@25856


git-svn-id: http://core.svn.wordpress.org/trunk@25856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:57:34 +00:00
Andrew Nacin
8ae8e01b67 Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
see #27704.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Lance Willett
a9cab6f3fb Twenty Fourteen: further revise primary navigation functionality, simplify mobile navigation, and clean up the main JS file. Props obenland, iamtakashi. See #25554.
Built from https://develop.svn.wordpress.org/trunk@25864


git-svn-id: http://core.svn.wordpress.org/trunk@25776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 16:37:12 +00:00
Lance Willett
cde77ec4ea Twenty Fourteen: fix non-image attachment page layout, props iamtakashi. Fixes #25624.
Built from https://develop.svn.wordpress.org/trunk@25856


git-svn-id: http://core.svn.wordpress.org/trunk@25768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 16:35:09 +00:00
Lance Willett
38b333977e Twenty Fourteen: cleanup, props iamtakashi. Fixes #25613.
* With the ephemera widget in place, `content-recent-formatted-post.php` is unused, see #25028.
* We're no longe filtering formatted posts from the main query, see #25330.
 * Fix a typo.
Built from https://develop.svn.wordpress.org/trunk@25814


git-svn-id: http://core.svn.wordpress.org/trunk@25726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-16 18:29:09 +00:00
Lance Willett
34edaed317 Twenty Fourteen: first pass at implementing Featured Content settings, props obenland. See #25549.
Built from https://develop.svn.wordpress.org/trunk@25808


git-svn-id: http://core.svn.wordpress.org/trunk@25720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-16 04:22:09 +00:00
Lance Willett
83f5f48dea Twenty Fourteen: remove excerpts from featured posts, and display full titles instead. Props iamtakashi, closes #25581.
Built from https://develop.svn.wordpress.org/trunk@25804


git-svn-id: http://core.svn.wordpress.org/trunk@25716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-16 03:47:09 +00:00
Lance Willett
b4b6c09476 Twenty Fourteen: minor fixes to docs, props celloexpressions. See #25257
Built from https://develop.svn.wordpress.org/trunk@25792


git-svn-id: http://core.svn.wordpress.org/trunk@25704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-15 18:01:09 +00:00
Lance Willett
590b6831dc Twenty Fourteen: first pass at CSS revamp, props iamtakashi. See #25592.
Built from https://develop.svn.wordpress.org/trunk@25788


git-svn-id: http://core.svn.wordpress.org/trunk@25700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-15 16:46:09 +00:00
Lance Willett
eaf78d3f7c Twenty Fourteen: first pass for updating code comments to reflect WP inline docs standards, see #25257.
Built from https://develop.svn.wordpress.org/trunk@25769


git-svn-id: http://core.svn.wordpress.org/trunk@25682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 22:02:11 +00:00
Lance Willett
7d22195cbb Twenty Fourteen: merge Front Page Sidebar and Content Sidebar. Props iamtakashi, see #25565; closes #25565.
Built from https://develop.svn.wordpress.org/trunk@25762


git-svn-id: http://core.svn.wordpress.org/trunk@25675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 03:17:11 +00:00
Lance Willett
66be5edfb5 Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25743


git-svn-id: http://core.svn.wordpress.org/trunk@25656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 19:07:09 +00:00
Lance Willett
8816dd8108 Twenty Fourteen: fill browser height to 100% for views with short content. Accounts for footer widgets, in which case the height isn't set to 100% so that the widgets remain visible. Props wycks and taupecat, fixes #25389.
Built from https://develop.svn.wordpress.org/trunk@25736


git-svn-id: http://core.svn.wordpress.org/trunk@25649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 21:37:09 +00:00
Lance Willett
c78cbb19ce Twenty Fourteen: allow pages to have featured images, props iamtakashi. Fixes #25325.
Built from https://develop.svn.wordpress.org/trunk@25735


git-svn-id: http://core.svn.wordpress.org/trunk@25648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 21:22:10 +00:00
Lance Willett
881c87cc51 Twenty Fourteen: make the content sidebar optional and alter the layout to full-width if the sidebar is not active, but without adding wider featured image (for now). Props iamtakashi, closes #25031.
Built from https://develop.svn.wordpress.org/trunk@25624


git-svn-id: http://core.svn.wordpress.org/trunk@25541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:36:09 +00:00
Lance Willett
980b81f0b1 Twenty Fourteen: first pass at improving responsive patterns and allowing for a full-width layout when no secondary sidebar is present. Props iamtakashi, see #25332.
Built from https://develop.svn.wordpress.org/trunk@25519


git-svn-id: http://core.svn.wordpress.org/trunk@25439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 18:22:09 +00:00
Lance Willett
f1dfbc6e80 Twenty Fourteen: first pass at adding a Contributors page template to highlight authors. Props MikeHansenMe, iamtakashi, obenland, and Kuzmanov. See #24863.
Built from https://develop.svn.wordpress.org/trunk@25510


git-svn-id: http://core.svn.wordpress.org/trunk@25430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 21:33:09 +00:00
Lance Willett
be1ff0f752 Twenty Fourteen: more Genericons fixes, merging exact files with latest Genericons 3.0 files for consistency and future ease of merging. Props obenland and georgestephanis, fixes #25085.
Built from https://develop.svn.wordpress.org/trunk@25506


git-svn-id: http://core.svn.wordpress.org/trunk@25427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-19 18:05:12 +00:00
Lance Willett
b94a54be45 Twenty Fourteen: prefix Genericons enqueue handle so that the theme uses the its own version of the font CSS. Fixes a few display issues when plugins like Jetpack enqueue a different version of Genericons. See #25085.
Built from https://develop.svn.wordpress.org/trunk@25417


git-svn-id: http://core.svn.wordpress.org/trunk@25342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-12 21:45:08 +00:00