Commit Graph

109 Commits

Author SHA1 Message Date
Sergey Biryukov
b7c94cee0b Twenty Fourteen: Remove unused variable after [27120].
props michalzuber.
fixes #28928.
Built from https://develop.svn.wordpress.org/trunk@29210


git-svn-id: http://core.svn.wordpress.org/trunk@28994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 19:09:14 +00:00
Lance Willett
f5fcb58404 Twenty Fourteen: optimize featured content lookup to reduce the number of queries for featured posts. Props Chouby and obenland, closes #26744.
Built from https://develop.svn.wordpress.org/trunk@29174


git-svn-id: http://core.svn.wordpress.org/trunk@28958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-15 06:44:15 +00:00
Lance Willett
e90f45e031 Twenty Fourteen: pinking shears.
Built from https://develop.svn.wordpress.org/trunk@29169


git-svn-id: http://core.svn.wordpress.org/trunk@28953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-14 17:49:15 +00:00
Lance Willett
65c6477bc3 Twenty Fourteen: RTL display adjustment for Custom Header, props yoavf. Fixes #28670.
Built from https://develop.svn.wordpress.org/trunk@29167


git-svn-id: http://core.svn.wordpress.org/trunk@28951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-14 17:41:15 +00:00
Lance Willett
c2f0505bcf Twenty Fourteen: change hardcoded pagination base to use the WordPress Rewrite object's pagination_base value instead. Document global variable usage properly.
Props SergeyBiryukov, fixes #28405.
Built from https://develop.svn.wordpress.org/trunk@28645


git-svn-id: http://core.svn.wordpress.org/trunk@28463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-31 18:51:19 +00:00
Sergey Biryukov
7de1eac464 Twenty Fourteen: Bail early from Featured_Content::hide_featured_term() if term objects are unavailable.
fixes #28072.
Built from https://develop.svn.wordpress.org/trunk@28536


git-svn-id: http://core.svn.wordpress.org/trunk@28362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-22 09:25:15 +00:00
Sergey Biryukov
9998560152 Twenty Fourteen: Avoid a PHP notice in Ephemera widget.
props jartes.
fixes #28055.
Built from https://develop.svn.wordpress.org/trunk@28248


git-svn-id: http://core.svn.wordpress.org/trunk@28076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-02 18:46:17 +00:00
Sergey Biryukov
a1c478586b Twenty Fourteen: Fix typo in contextual help.
props vanillalounge.
fixes #27493.
Built from https://develop.svn.wordpress.org/trunk@27661


git-svn-id: http://core.svn.wordpress.org/trunk@27504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-23 12:42:14 +00:00
Lance Willett
a46e7ca3dc Twenty Fourteen: remove doc block comments for @return void. See #27098, props philiparthurmoore.
Built from https://develop.svn.wordpress.org/trunk@27595


git-svn-id: http://core.svn.wordpress.org/trunk@27438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:44:14 +00:00
Lance Willett
589709bc3a Twenty Fourteen: improve i18n in Ephemera widget for better translation of plurals for post format archives. Fixes #27069, props Chouby, SergeyBiryukov, lancewillett.
Built from https://develop.svn.wordpress.org/trunk@27589


git-svn-id: http://core.svn.wordpress.org/trunk@27432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 18:50:13 +00:00
Lance Willett
b6233e15a3 Twenty Fourteen: merge two similar strings in Customizer featured content help text. Props celloexpressions, fixes #26647.
Built from https://develop.svn.wordpress.org/trunk@27573


git-svn-id: http://core.svn.wordpress.org/trunk@27416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 22:07:14 +00:00
John Blackbourn
79d274f2f6 Add context and a missing period to widget descriptions. Fixes #26668. Props pavelevap, Hanni
Built from https://develop.svn.wordpress.org/trunk@27412


git-svn-id: http://core.svn.wordpress.org/trunk@27259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 17:26:17 +00:00
Scott Taylor
6df629fb02 in TwentyFourteen: don't add the has-post-thumbnail class or print the featured image when viewing an attachment.
See #27243.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:57:13 +00:00
Lance Willett
27097dea2c Twenty Fourteen: fix Ephemera Widget to avoid showing full post content when displayed in single post or page. Restore the global $more to its original value after the widget output to avoid any issues caused by changing a global variable.
Props obenland, mor10, Frank Klein. See #26961.
Built from https://develop.svn.wordpress.org/trunk@27124


git-svn-id: http://core.svn.wordpress.org/trunk@26991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 18:03:13 +00:00
Lance Willett
c2f46ac811 Twenty Fourteen: translate featured tag slug used to link to specific tags in Posts editor. See #26526.
Built from https://develop.svn.wordpress.org/trunk@27122


git-svn-id: http://core.svn.wordpress.org/trunk@26989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:47:11 +00:00
Lance Willett
88a2fe2986 Twenty Fourteen: delete the featured_content_ids transient on theme switch to make sure child themes can override the Featured Content quantity value. Also remove quantity parameter so child themes can change the amount of featured posts with $max_posts.
Props obenland, see #26660.
Built from https://develop.svn.wordpress.org/trunk@27120


git-svn-id: http://core.svn.wordpress.org/trunk@26987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:39:13 +00:00
Lance Willett
31e9d97412 Twenty Fourteen: make sure featured tag is hidden on front-end views as expected. Add a check for the tag name in case we're using default values and the default ID of 0 does not match the term id of the featured tag.
Props obenland, fixes #26732.
Built from https://develop.svn.wordpress.org/trunk@27118


git-svn-id: http://core.svn.wordpress.org/trunk@26985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-07 17:17:13 +00:00
Lance Willett
21b5149477 Twenty Fourteen: remove extra space before a word, props ocean90. See #26437.
Built from https://develop.svn.wordpress.org/trunk@26842


git-svn-id: http://core.svn.wordpress.org/trunk@26729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 20:29:10 +00:00
Lance Willett
3e24cf1636 Twenty Fourteen: remove redundant parentheses and translation wrapper, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26698


git-svn-id: http://core.svn.wordpress.org/trunk@26588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:47:10 +00:00
Lance Willett
63c82dd11d Twenty Fourteen: remove invalid rel attributes from post thumbnail output, and fix a CSS typo. See #25946 and #25325.
Built from https://develop.svn.wordpress.org/trunk@26694


git-svn-id: http://core.svn.wordpress.org/trunk@26584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:09:10 +00:00
Lance Willett
8e352c8187 Twenty Fourteen: remove unneeded !important declarations, and comment the ones we absolutely need to keep around. Fixes #26444.
Built from https://develop.svn.wordpress.org/trunk@26689


git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:03:11 +00:00
Lance Willett
dd6d39ba9d Twenty Fourteen: remove trailing slashes on void elements such as meta and link, and remove type attribute from script element. See #24499.
Built from https://develop.svn.wordpress.org/trunk@26672


git-svn-id: http://core.svn.wordpress.org/trunk@26562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:54:09 +00:00
Lance Willett
ecf5c3ae21 Twenty Fourteen: bump JS version for customizer.js, see #26338.
Built from https://develop.svn.wordpress.org/trunk@26669


git-svn-id: http://core.svn.wordpress.org/trunk@26559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:33:10 +00:00
Lance Willett
25ee6100bd Twenty Fourteen: better logic for hide/show title and description, and Customizer handling of the same. Add ID attributes to style blocks. Fixes #26338.
Built from https://develop.svn.wordpress.org/trunk@26668


git-svn-id: http://core.svn.wordpress.org/trunk@26558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:30:11 +00:00
Lance Willett
5f73635e58 Twenty Fourteen: fix typo, props DrewAPicture. See #26414.
Built from https://develop.svn.wordpress.org/trunk@26646


git-svn-id: http://core.svn.wordpress.org/trunk@26536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:52:10 +00:00
Lance Willett
05200ae863 Twenty Fourteen: minor code cleanup in Customizer file, props obenland. Fixes #26414.
Built from https://develop.svn.wordpress.org/trunk@26643


git-svn-id: http://core.svn.wordpress.org/trunk@26533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:09:11 +00:00
Lance Willett
9464a4aa1a Twenty Fourteen: sanitize the values of Featured Content layout option, props kwight. Fixes #26408.
Built from https://develop.svn.wordpress.org/trunk@26636


git-svn-id: http://core.svn.wordpress.org/trunk@26526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:33:11 +00:00
Lance Willett
f0f5a12288 Twenty Fourteen: add link to Codex documentation in Help text, and minor cleanup based on siobhan feedback. See #25837.
Built from https://develop.svn.wordpress.org/trunk@26630


git-svn-id: http://core.svn.wordpress.org/trunk@26520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:53:18 +00:00
Lance Willett
0f3b7b7978 Twenty Fourteen: fix site title color preview in Customizer, props kwight. Closes #26404.
Built from https://develop.svn.wordpress.org/trunk@26619


git-svn-id: http://core.svn.wordpress.org/trunk@26509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:42:09 +00:00
Lance Willett
7e7666d514 Twenty Fourteen: remove wp_is_mobile() call from post thumbnail size logic as it's not intended for front-end use. Props kwight, fixes #26221.
Built from https://develop.svn.wordpress.org/trunk@26599


git-svn-id: http://core.svn.wordpress.org/trunk@26489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 03:29:10 +00:00
Lance Willett
8858b43027 Twenty Fourteen: remove more widget cache code, props obenland. See #26210.
Built from https://develop.svn.wordpress.org/trunk@26580


git-svn-id: http://core.svn.wordpress.org/trunk@26470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:54:09 +00:00
Lance Willett
c2bf2c73c6 Twenty Fourteen: remove transient usage in Ephemera widget to fix caching issues. Props obenland, closes #26210 and #26335.
Built from https://develop.svn.wordpress.org/trunk@26577


git-svn-id: http://core.svn.wordpress.org/trunk@26468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:47:09 +00:00
Lance Willett
4d6ec7fa96 Twenty Fourteen: re-add the Header Text Customization Option. Props iamtakashi, fixes #26338; see #25540.
Built from https://develop.svn.wordpress.org/trunk@26573


git-svn-id: http://core.svn.wordpress.org/trunk@26464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:27:10 +00:00
Lance Willett
abfec528c3 Twenty Fourteen: rename transient all_the_cool_cats and make sure count is an integer before checking it. Props SergeyBiryukov for initial patch, fixes #26319.
Built from https://develop.svn.wordpress.org/trunk@26572


git-svn-id: http://core.svn.wordpress.org/trunk@26463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:24:10 +00:00
Lance Willett
16544ed331 Twenty Fourteen: remove Accent Color feature. Props celloexpressions, fixes #26220.
Built from https://develop.svn.wordpress.org/trunk@26567


git-svn-id: http://core.svn.wordpress.org/trunk@26458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:05: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
b5dbd754d8 Twenty Fourteen: limit Help tab text to only "post" post type edit screen. Props obenland, see #25837.
Built from https://develop.svn.wordpress.org/trunk@26555


git-svn-id: http://core.svn.wordpress.org/trunk@26446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:01:10 +00:00
Sergey Biryukov
b5ce3e6c96 Twenty Fourteen: use a more specific selector for tag links.
props iamtakashi.
fixes #26358.
Built from https://develop.svn.wordpress.org/trunk@26545


git-svn-id: http://core.svn.wordpress.org/trunk@26437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 23:15:10 +00:00
Lance Willett
1d0bce8013 Twenty Fourteen: update Customizer inline help text. Props siobhan, see #25837.
Built from https://develop.svn.wordpress.org/trunk@26361


git-svn-id: http://core.svn.wordpress.org/trunk@26262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 16:57:10 +00:00
Lance Willett
b385a108ed Twenty Fourteen: remove redundant gettext call, props defries. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26355


git-svn-id: http://core.svn.wordpress.org/trunk@26256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 15:19: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
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
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
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
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