Commit Graph

316 Commits

Author SHA1 Message Date
Lance Willett dfca21472c Twenty Thirteen: enqueue Genericons CSS from its own file, to allow for easier updates and maintenance, and to allow for better plugin overrides. Props obenland, closes #24595.
git-svn-id: http://core.svn.wordpress.org/trunk@24516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 22:03:42 +00:00
Lance Willett bf9a690953 Twenty Thirteen: update Genericons font files to latest version, 2.09. See #24595.
git-svn-id: http://core.svn.wordpress.org/trunk@24515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:58:13 +00:00
Lance Willett a0d63de4f8 Twenty Thirteen: JS fix, after r24511 changes -- add missing semicolon to end variable definition. See #24643.
git-svn-id: http://core.svn.wordpress.org/trunk@24514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:30:43 +00:00
Lance Willett a0172203fc Twenty Thirteen: remove `box-sizing` styles from site wrapper element to avoid horizontal scrollbars in large viewports. Fixes #24599, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@24513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:13:52 +00:00
Lance Willett 0edc3b8ad2 Twenty Thirteen: add editor styles for post formats back in. Props celloexpressions, closes #24308.
git-svn-id: http://core.svn.wordpress.org/trunk@24512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:10:37 +00:00
Lance Willett 0c7a17d735 Twenty Thirteen: functions.js optimizations, props obenland. Fixes #24643.
git-svn-id: http://core.svn.wordpress.org/trunk@24511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 21:09:00 +00:00
Lance Willett 42056fdae6 Twenty Thirteen: fix minor RTL and mobile visual display bugs, props obenland. Fixes #24524.
git-svn-id: http://core.svn.wordpress.org/trunk@24428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-07 17:01:22 +00:00
Bot (Translations) b2fc7d1b8b POT, generated from r24423
git-svn-id: http://core.svn.wordpress.org/trunk@24424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 19:14:10 +00:00
Lance Willett 693d4e0984 Twenty Thirteen: remove `html5` arguments now that `add_theme_support` call is in place. Props obenland, see r24421 and #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24423 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 18:29:32 +00:00
Bot (Translations) b73e4d4e50 POT, generated from r24421
git-svn-id: http://core.svn.wordpress.org/trunk@24422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 18:14:04 +00:00
Lance Willett 7bb95a77ef Twenty Thirteen: Remove `twentythirteen_search_form_format()` filter in favor of `add_theme_support()` call for search form, comment form, and comment list markup. Props SergeyBiryukov, fixes #24269; see #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 17:20:40 +00:00
Bot (Translations) a98047f084 POT, generated from r24412
git-svn-id: http://core.svn.wordpress.org/trunk@24413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 01:14:28 +00:00
Lance Willett 16d40fde2a Twenty Thirteen markup cleanup:
* Remove trailing slashes on void elements such as `meta` and `link`
 * Remove `type` attribute from `script` element

Props retlehs, fixes #24499.

git-svn-id: http://core.svn.wordpress.org/trunk@24412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 00:29:07 +00:00
Lance Willett 38c19a5fde Twenty Thirteen: improve backward compatibility escape hatch for pre-3.6 versions:
* Switch to the built-in method of providing a back link in `wp_die()` for the Customizer
 * Use WP_DEFAULT_THEME for both arguments during theme switching to simplify the logic
 * Prevent the 3.3 and earlier theme preview action gracefully

Props obenland for patches, fixes #24441.

git-svn-id: http://core.svn.wordpress.org/trunk@24411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 00:22:09 +00:00
Lance Willett c0340f8188 Twenty Thirteen: correct PHPDoc for using `get_content_url()` to grab first link in post content. See #24469.
git-svn-id: http://core.svn.wordpress.org/trunk@24405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 22:20:43 +00:00
Lance Willett d778fdf863 Twenty Thirteen: clean up RTL styles per changes in r24391, see #24469.
git-svn-id: http://core.svn.wordpress.org/trunk@24404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 22:17:09 +00:00
Bot (Translations) 123eaff2bc POT, generated from r24402
git-svn-id: http://core.svn.wordpress.org/trunk@24403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 22:14:13 +00:00
Lance Willett e5b9b98c46 Twenty Thirteen: Clean up image attachment template and move logic to `twentythirteen_the_attached_image()` function. Props obenland, fixes #24479.
git-svn-id: http://core.svn.wordpress.org/trunk@24402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 21:44:25 +00:00
Lance Willett 90ce925c46 Twenty Thirteen: remove mention of `twentythirteen_comment()` in PHPDoc, props zeo. Closes #24482.
git-svn-id: http://core.svn.wordpress.org/trunk@24401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-03 21:35:26 +00:00
Lance Willett 28ab169d37 Twenty Thirteen: use lowercase color hex value in RTL CSS file, props zeo. Fixes #24474.
git-svn-id: http://core.svn.wordpress.org/trunk@24394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 22:11:57 +00:00
Lance Willett 8f72f9e9e3 Twenty Thirteen: better styles for blockquote italic and bold text. Fixes #24471.
git-svn-id: http://core.svn.wordpress.org/trunk@24393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 18:48:22 +00:00
Bot (Translations) 45dfe23d61 POT, generated from r24391
git-svn-id: http://core.svn.wordpress.org/trunk@24392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 18:14:37 +00:00
Lance Willett ff9e60e3e6 Twenty Thirteen: remove all `post_format_*()` and `the_remaining_content()` function calls, reverting to `the_content()`. Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes #24469 and #24407. See #24452.
git-svn-id: http://core.svn.wordpress.org/trunk@24391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 17:45:00 +00:00
Lance Willett 222b25db4f Twenty Thirteen: remove unused `custom-font` body class value. See #24445.
git-svn-id: http://core.svn.wordpress.org/trunk@24390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 05:23:48 +00:00
Lance Willett 48cfef3ad9 Twenty Thirteen: revert hyphenation and `word-break` changes from r24332, and add better fix for long comment author names. Props SergeyBiryukov, fixes #24329 and #24451.
git-svn-id: http://core.svn.wordpress.org/trunk@24389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-31 05:20:03 +00:00
Lance Willett 786690fd4b Twenty Thirteen: PHPDoc cleanup/completion, props DrewAPicture. Fixes #24413.
git-svn-id: http://core.svn.wordpress.org/trunk@24351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 21:24:08 +00:00
Lance Willett 0e3b4160bd Twenty Thirteen: remove CSS hack added in r24286 for pixel shift in Chrome with gallery thumbs. Not needed now that we're loading medium size (and not large), see r24338.
git-svn-id: http://core.svn.wordpress.org/trunk@24350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 21:22:58 +00:00
Lance Willett 58f2a1d4ec Twenty Thirteen: polish up RTL for editor styles, fixing blockquote and status entries. Fixes #24298.
git-svn-id: http://core.svn.wordpress.org/trunk@24347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-24 18:58:21 +00:00
Lance Willett 10977c290c Twenty Thirteen: fix up Quote styles for the visual editor, see #24308.
git-svn-id: http://core.svn.wordpress.org/trunk@24343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 23:48:56 +00:00
Lance Willett 59177c4806 Twenty Thirteen: fix comment cruft left from r24338.
git-svn-id: http://core.svn.wordpress.org/trunk@24342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 23:48:02 +00:00
Lance Willett 568a52c53b Twenty Thirteen: properly center the navbar, props DrewAPicture. Fixes #24406.
git-svn-id: http://core.svn.wordpress.org/trunk@24340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 22:35:41 +00:00
Bot (Translations) 077c7cef55 POT, generated from r24338
git-svn-id: http://core.svn.wordpress.org/trunk@24339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 21:14:28 +00:00
Lance Willett 1fa2b84ae9 Twenty Thirteen: revert adding new image size for galleries., Using existing medium size instead, and thumbnail for mobile views. See #24307.
git-svn-id: http://core.svn.wordpress.org/trunk@24338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 20:39:51 +00:00
Bot (Translations) d8db743e35 POT, generated from r24334
git-svn-id: http://core.svn.wordpress.org/trunk@24335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 18:14:16 +00:00
Lance Willett 81b18ddade Twenty Thirteen: create new image size for galleries, at 300 x 300 so that "large" image size doesn't load for a resulting thumbnail on index views. See #24307.
git-svn-id: http://core.svn.wordpress.org/trunk@24333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 17:32:40 +00:00
Lance Willett 1657a226a1 Twenty Thirteen: move `word-wrap` rules to parent container of hyphenated text, and hyphenate long comment author names. Props SergeyBiryukov for first patches, fixes #24329.
git-svn-id: http://core.svn.wordpress.org/trunk@24332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 17:20:37 +00:00
Lance Willett 302e0912a3 Twenty Thirteen: handle case for gallery post formats if there is no gallery shortcode in the post. Props obenland, fixes #24391.
git-svn-id: http://core.svn.wordpress.org/trunk@24331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-23 17:05:26 +00:00
Bot (Translations) 08361a230c POT, generated from r24322
git-svn-id: http://core.svn.wordpress.org/trunk@24326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 21:14:09 +00:00
Andrew Nacin c4f26d06b6 Remove /extend/ from Theme URI headers in default themes. props JustinSainton, fixes #24389.
git-svn-id: http://core.svn.wordpress.org/trunk@24321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 21:06:08 +00:00
Lance Willett d1ba0654c9 Twenty Thirteen: first pass to add RTL for editor styles, see #24298. Props obenland for starter patch. Adds table of contents to this file and fixes spelling in style.css ToC.
git-svn-id: http://core.svn.wordpress.org/trunk@24309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 22:35:08 +00:00
Lance Willett 908a7b5368 Twenty Thirteen: first pass to add post format visual styles to visual editor. Props celloexpressions and obenland, see #24308 and #24298.
git-svn-id: http://core.svn.wordpress.org/trunk@24308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 22:18:09 +00:00
Lance Willett f35f74f092 Twenty Thirteen: PHPDoc improvements for back-compat file, props DrewAPicture. Fixes #24363.
git-svn-id: http://core.svn.wordpress.org/trunk@24307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-20 22:16:20 +00:00
Lance Willett 8471b20a11 Twenty Thirteen: revert unintended space change from r24239.
git-svn-id: http://core.svn.wordpress.org/trunk@24287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 19:25:50 +00:00
Lance Willett 30c4fb57ba Twenty Thirteen: fix pixel shift that can occur on gallery non-single views in latest Chrome. Props jeremyfelt, fixes #24310.
git-svn-id: http://core.svn.wordpress.org/trunk@24286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 19:24:53 +00:00
Lance Willett 3ac84ecc76 Twenty Thirteen: ensure galleries are displayed correctly (centered) on both single and indexed views, props obenland. See #24307.
git-svn-id: http://core.svn.wordpress.org/trunk@24285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-17 19:22:39 +00:00
Lance Willett 4b6fbf29fc Twenty Thirteen: fixes to remove invalid CSS rules, including unneeded IE-specific filters and `calc()` values.
git-svn-id: http://core.svn.wordpress.org/trunk@24281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 19:52:53 +00:00
Lance Willett cf161f5c1f Twenty Thirteen: update Quote styles so that fancy display only affects the actual quote content. Fixes #24332.
git-svn-id: http://core.svn.wordpress.org/trunk@24279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 16:48:55 +00:00
Lance Willett a8ed7caf27 Twenty Thirteen: updated screenshot, smaller (82 to 55 KB) and a bit less cow.
git-svn-id: http://core.svn.wordpress.org/trunk@24278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-16 16:47:42 +00:00
Lance Willett a251b69906 Twenty Thirteen: minor CSS fixes for comment spacing and property ordering.
git-svn-id: http://core.svn.wordpress.org/trunk@24239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 21:38:48 +00:00
Lance Willett 73b3aa1535 Twenty Thirteen: update Genericons font files to version 2.05, props Joen.
git-svn-id: http://core.svn.wordpress.org/trunk@24234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-10 16:16:48 +00:00
Lance Willett 142f90c51b Twenty Thirteen: smarter margins for comment block-level elements that need to be centered. Use margin just for left and right; don't change top and bottom.
git-svn-id: http://core.svn.wordpress.org/trunk@24224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 20:22:32 +00:00
Lance Willett 0e09ca8a7b Twenty Thirteen: clean up RTL and Genericons styles. Props SergeyBiryukov for the comment moderation bits, fixes #24287.
git-svn-id: http://core.svn.wordpress.org/trunk@24223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 20:08:39 +00:00
Lance Willett 55071e8328 Twenty Thirteen: fix styling for comment moderation notice. Props SergeyBiryukov, fixes #24286.
git-svn-id: http://core.svn.wordpress.org/trunk@24202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 19:11:03 +00:00
Lance Willett a32b397f42 Twenty Thirteen: fix comment author styles to only add star icon to the post author's comment(s). Fixes #24281.
git-svn-id: http://core.svn.wordpress.org/trunk@24197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 15:09:34 +00:00
Lance Willett 892822fd23 Twenty Thirteen: more specificity for `.reply` selectors, props johnjamesjacoby for starter patch. Fixes #24268.
git-svn-id: http://core.svn.wordpress.org/trunk@24193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 21:35:09 +00:00
Lance Willett cb9bf04530 Twenty Thirteen: improve Quote post format styles to look more like quotes. Fixes #24176.
git-svn-id: http://core.svn.wordpress.org/trunk@24172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 20:47:28 +00:00
Bot (Translations) 8aafcd9881 POT, generated from r24170
git-svn-id: http://core.svn.wordpress.org/trunk@24171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 19:14:41 +00:00
Lance Willett c9b9c41dbb Twenty Thirteen: remove fixed navbar. Closes #24184.
git-svn-id: http://core.svn.wordpress.org/trunk@24169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 18:22:57 +00:00
Lance Willett 018739b839 Twenty Thirteen: remove Author Bio from post formats that are essentially quotes from other people, like Quote and Chat. Props obenland and markjaquith -- see #24176.
git-svn-id: http://core.svn.wordpress.org/trunk@24167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-03 16:55:32 +00:00
Lance Willett be2a208624 Twenty Thirteen: update `entry-media` selector to be much more selective. Props obenland for beginning patch. See #24198.
git-svn-id: http://core.svn.wordpress.org/trunk@24159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-02 20:25:24 +00:00
Bot (Translations) 56675157a9 POT, generated from r24153
git-svn-id: http://core.svn.wordpress.org/trunk@24154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 18:14:48 +00:00
Lance Willett ea2f6e75cf Twenty Thirteen: avoid hyphenating post and page titles (and other unintended consequences) by moving word-breaking and hyphenation rules to only apply specifically to post/page content and widgets. Fixes #24231.
git-svn-id: http://core.svn.wordpress.org/trunk@24153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 17:50:55 +00:00
Lance Willett f0b0996673 Twenty Thirteen: account for `alignnone` images that are inserted into a post on the same line. Give 'em a bit of space. Closes #24238.
git-svn-id: http://core.svn.wordpress.org/trunk@24152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 17:44:34 +00:00
Lance Willett 89b6c2a5f6 Twenty Thirteen: remove unneeded "structured" post formats `add_theme_support()` declaration. Fixes #24109.
git-svn-id: http://core.svn.wordpress.org/trunk@24151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-01 17:37:44 +00:00
Bot (Translations) 65dc44247e POT, generated from r24131
git-svn-id: http://core.svn.wordpress.org/trunk@24135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:14:14 +00:00
Lance Willett a738cc3c83 Bundled themes: remove `the_title_attribute()` title attributes where it duplicates `the_title()` in anchor text. Props nacin, fixes #24203.
git-svn-id: http://core.svn.wordpress.org/trunk@24131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 16:57:30 +00:00
Bot (Translations) f79808af0e POT, generated from r24100
git-svn-id: http://core.svn.wordpress.org/trunk@24109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 13:58:48 +00:00
Mark Jaquith e2fbad7ee0 the_post_format_gallery() (and Twenty Thirteen using it).
fixes #24126. props obenland, wonderboymusic.

git-svn-id: http://core.svn.wordpress.org/trunk@24093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-25 07:42:59 +00:00
Lance Willett c2fb7f5a6a Twenty Thirteen: avoid setting absolute positioning and a magic height number for child comments. This allows for a more flexible layout. Props obenland, fixes #24172.
git-svn-id: http://core.svn.wordpress.org/trunk@24074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-23 23:10:00 +00:00
Lance Willett 4a130a9e9c Twenty Thirteen: fix case where title in author bio was indented when avatars were disabled in Discussion settings. Props obenland, fixes #24167.
git-svn-id: http://core.svn.wordpress.org/trunk@24073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-23 21:29:00 +00:00
Lance Willett 8492d3b680 Twenty Thirteen: remove `hgroup` from the theme markup structure since it's been dropped from HTML5 spec. Props obenland for the starter patch. Fixes #24114.
git-svn-id: http://core.svn.wordpress.org/trunk@24072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-23 17:55:55 +00:00
Lance Willett 89d7585b30 Twenty Thirteen: avoid orphans in Aside date post meta. Props obenland, fixes #24166.
git-svn-id: http://core.svn.wordpress.org/trunk@24071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-23 16:57:32 +00:00
Lance Willett 7edf4b4910 Twenty Thirteen: update JavaScript-based accessibility function hooked to `hashchange` event to verify user input correctly. Props mfields for the original patch.
Also add textarea to list of elements. See #23875.

git-svn-id: http://core.svn.wordpress.org/trunk@24070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-23 16:30:03 +00:00
Andrew Nacin 1f64b5abd0 Add .displaying-header-text to the default themes, as the Custom Header page toggles this class. props obenland, fixes #24113.
git-svn-id: http://core.svn.wordpress.org/trunk@24050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-22 19:40:28 +00:00
Lance Willett 4fb7d7eadb Twenty Thirteen: remove toolbar callback in functions.php -- and add an `!important` in its place in the stylesheet. Props obenland, fixes #24129.
git-svn-id: http://core.svn.wordpress.org/trunk@24036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 21:33:45 +00:00
Lance Willett 8794b1ceb0 Twenty Thirteen: search form fixes for IE7, and add fallback search type selector to RTL stylesheet, see r23961. Closes #23997.
git-svn-id: http://core.svn.wordpress.org/trunk@24035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 21:24:38 +00:00
Andrew Nacin f5f52827c9 Twenty Thirteen: Don't use the_post_format_gallery() as it does not exist (yet). see #24126.
git-svn-id: http://core.svn.wordpress.org/trunk@24033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 17:18:19 +00:00
Andrew Nacin 6aa74f9b93 Twenty Thirteen: Use the newer 'enqueued' argument for wp_style_is(). (This is, incidentally, the default.)
git-svn-id: http://core.svn.wordpress.org/trunk@24032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 17:15:18 +00:00
Andrew Nacin f820654a5b Twenty Thirteen: Move no-avatars class to the existing body class modification function.
* Move includes to the top of the file.
 * Make search_form two words in twentythirteen_search_form_format().

fixes #24127.



git-svn-id: http://core.svn.wordpress.org/trunk@24031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 17:13:14 +00:00
Andrew Nacin 87aba933fb Twenty Thirteen: Use WP_Theme's methods, rather than legacy properties.
git-svn-id: http://core.svn.wordpress.org/trunk@24030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 17:10:47 +00:00
Andrew Nacin 68d29b46c5 Twenty Thirteen: Use the_post_format_gallery(). props obenland, fixes #24126.
git-svn-id: http://core.svn.wordpress.org/trunk@24029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-18 17:08:55 +00:00
Lance Willett 4f2f100cc8 Twenty Thirteen: center footer text in RTL, props yoavf. Fixes #24110.
git-svn-id: http://core.svn.wordpress.org/trunk@24012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 17:43:48 +00:00
Lance Willett 7ed04565bb Twenty Thirteen: further performance for functions.js scroll event callback, props obenland. See #23875.
git-svn-id: http://core.svn.wordpress.org/trunk@24005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 22:35:55 +00:00
Lance Willett e4248830a8 Twenty Thirteen: improvements to functions.js to add namespacing to events and simplify repeatable functions. See #23875.
git-svn-id: http://core.svn.wordpress.org/trunk@24004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 21:51:07 +00:00
Lance Willett 245c2111f0 Bundled themes: add identifier to `style` elements added by the theme. Fixes #24033.
git-svn-id: http://core.svn.wordpress.org/trunk@24001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-16 17:18:30 +00:00
Mark Jaquith 3cefaf138e Constrain the width of images even when they're linked, in Twenty Thirteen.
see #23964

git-svn-id: http://core.svn.wordpress.org/trunk@23991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:59:47 +00:00
Mark Jaquith de45c749df Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: http://core.svn.wordpress.org/trunk@23989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-14 16:43:26 +00:00
Lance Willett 6907174995 Twenty Thirteen: adjust `content_width` value for video shortcodes in video post formats and on attachment templates. See #23955, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 23:06:15 +00:00
Lance Willett e14e7d1dfe Twenty Thirteen: reinstate Audio post format max-width layout handling, lost in r23964. See #23955, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:58:59 +00:00
Lance Willett 0253c4d8ae Twenty Thirteen: improve comment label selectors and nudge up their width a bit to account for non-English installs. Props obenland for initial patch, fixes #24039.
git-svn-id: http://core.svn.wordpress.org/trunk@23967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 18:06:10 +00:00
Lance Willett 280744f555 Twenty Thirteen: change Genericon element display to `inline-block` to avoid underlining the icon when its related element wrapped in a link. Props obenland, fixes #24045.
git-svn-id: http://core.svn.wordpress.org/trunk@23966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 18:03:01 +00:00
Lance Willett 2fe90e6312 Twenty Thirteen: adjust JavaScript handling for scrolling and finding viewport heigh/width to better support various IE versions. Also consolidate variables at the top of the file per best practices. Fixes #23841, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 16:11:46 +00:00
Lance Willett 2d85b8eb46 Twenty Thirteen: better handling of media in main content area, accounting for a sidebar and all viewport width possibilities. Props sabreuse and obenland, see #23955.
git-svn-id: http://core.svn.wordpress.org/trunk@23964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 16:03:08 +00:00
Lance Willett fd39862cad Twenty Thirteen: improve gallery styles for IE7 and IE8, props kovshenin and obenland. Fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 15:59:52 +00:00
Lance Willett 3b8315737b Twenty Thirteen: minor design tweaks and fixes:
* Link color should be the same on all links that are on white or tan backgrounds, see #23784
 * Better color value for active menu item (red instead of tan)
 * Improved styles for quote citations that are wrapped in links
 * Better layout for single post navigation links when post titles are '''really''' long
 * Fix navbar border style for viewports at 1600 pixels wide and above

Props Joen and obenland.

git-svn-id: http://core.svn.wordpress.org/trunk@23962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 15:57:50 +00:00
Lance Willett d5dc522dad Twenty Thirteen: add fallback selectors for older browsers that don't understand `search` input elements. Fixes #23997, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 23:19:55 +00:00
Lance Willett fb3387b1d4 Twenty Thirteen: display gallery captions correctly in IE7 and IE8. Props celloexpressions and kovshenin, fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:44:29 +00:00
Lance Willett 3bcdb3fa1a Twenty Thirteen: add missing "yellow" color tag.
git-svn-id: http://core.svn.wordpress.org/trunk@23957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:32:51 +00:00
Lance Willett 3460979008 Twenty Thirteen: fix for right-aligned images breaking the main column layout in small screen sizes. Props obenland, fixes #23994.
git-svn-id: http://core.svn.wordpress.org/trunk@23945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:43:32 +00:00
Lance Willett 3d0c46a0ea Twenty Thirteen: remove overly-specific post meta styles, props ziegenberg and obenland. Fixes #23962.
git-svn-id: http://core.svn.wordpress.org/trunk@23944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:39:19 +00:00
Lance Willett ede1d0ccef Twenty Thirteen: avoid galleries not being displayed on single in IE8, props obenland. See #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:34:03 +00:00
Lance Willett 0a415ad893 Twenty Thirteen: better representative theme screenshot, props Joen. (Also shaves a few KB off previous file.)
git-svn-id: http://core.svn.wordpress.org/trunk@23942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 20:58:26 +00:00
Lance Willett 01ac7891b6 Twenty Thirteen: style the the "Login to Reply" link correctly, props obenland. Fixes #23943.
git-svn-id: http://core.svn.wordpress.org/trunk@23920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-05 16:35:27 +00:00
Sergey Biryukov b706f91278 Use correct function name. props ocean90. fixes #23942. see #23927.
git-svn-id: http://core.svn.wordpress.org/trunk@23911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 21:03:35 +00:00
Mark Jaquith 15dc5a3718 Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().
fixes #23927

git-svn-id: http://core.svn.wordpress.org/trunk@23899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 08:09:02 +00:00
Andrew Nacin 155a7c2455 Don't use jQuery.on('ready'). props obenland. see #23875.
git-svn-id: http://core.svn.wordpress.org/trunk@23891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 17:29:59 +00:00
Lance Willett 63fb23321b Twenty Thirteen: update Chat post format styles to match markup changes in r23876. See #23869.
git-svn-id: http://core.svn.wordpress.org/trunk@23877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 21:14:43 +00:00
Lance Willett 85a3c6a82b Twenty Thirteen: simpler name for custom image size for image post formats, see #23620.
git-svn-id: http://core.svn.wordpress.org/trunk@23848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 05:24:12 +00:00
Lance Willett 2c3d9482dc Bundled themes: remove cases of `:active` and `:hover` pseudo-class selectors used for accessibility. These cases need `:focus` only. See r23783 and #23803.
git-svn-id: http://core.svn.wordpress.org/trunk@23841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 16:37:42 +00:00
Lance Willett 788724989e Twenty Thirteen: improvements to Image post format handling to use a custom image size instead of filtering a `$content_width` variable.
Includes CSS cleanup and markup improvements to both video and image templates, moving the media HTML piece out of the `header` element.

Props obenland, closes #23620.

git-svn-id: http://core.svn.wordpress.org/trunk@23839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 07:02:51 +00:00
Lance Willett de99720c5d Twenty Thirteen: back compat file PHPDoc updates, thanks DrewAPicture for the nudge. See #23819.
git-svn-id: http://core.svn.wordpress.org/trunk@23838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 06:53:45 +00:00
Lance Willett b78b4965e2 Twenty Thirteen: better back compat handling by moving version compare before the include to avoid loading the file altogether. Also prevent Customizer views. Props obenland, closes #23819.
git-svn-id: http://core.svn.wordpress.org/trunk@23837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 06:45:56 +00:00
Mark Jaquith 816618be68 Rename the_extra_content() to the_remaining_content().
fixes #23877.

git-svn-id: http://core.svn.wordpress.org/trunk@23836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 05:59:18 +00:00
Lance Willett 317ff18c49 Twenty Thirteen: style native `mediaelement` video player with a black background color. Props obenland, closes #23821.
git-svn-id: http://core.svn.wordpress.org/trunk@23835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 04:44:27 +00:00
Lance Willett c4396d437b Twenty Thirteen: refresh Quote post format styles based on new default markup, see r23822. Props obenland, fixes #23852.
git-svn-id: http://core.svn.wordpress.org/trunk@23829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 22:28:31 +00:00
Lance Willett bb2b6fd418 Twenty Thirteen: add support and styling for Audio structured post format. Moves audio content out from the main post content, using `the_audio()` and `the_extra_content()`. Props obenland, fixes #23871.
git-svn-id: http://core.svn.wordpress.org/trunk@23828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 22:08:16 +00:00
Lance Willett a561fe6000 Twenty Thirteen: fix "Must log in to post comment" message misalignment. Props beaulebens and obenland, fixes #23872.
git-svn-id: http://core.svn.wordpress.org/trunk@23827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:49:08 +00:00
Lance Willett 98ad41b582 Twenty Thirteen: change version compare string to "3.6-alpha" to avoid an error for alpha and beta testers during development. See #23819, props kovshenin.
git-svn-id: http://core.svn.wordpress.org/trunk@23825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:36:19 +00:00
Lance Willett a87c00edee Twenty Thirteen: take full advantage of new structured post format template functions, see r23819.
Extract first video or image from Video and Image post format posts, and place the item above the title within its own HTML wrapper with `the_video()` and `the_image()'. Also, remove the item from the post content with `the_extra_content()`.

This allows us to meet the design requirements for Twenty Thirteen with minimal changes to the theme template files. Fixes #23620.

git-svn-id: http://core.svn.wordpress.org/trunk@23820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 18:51:47 +00:00
Lance Willett d8116e7786 Twenty Thirteen: better styles for Chat structured post format output. Props Joen for starter CSS, closes #23869.
git-svn-id: http://core.svn.wordpress.org/trunk@23817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 17:16:31 +00:00
Lance Willett ef85b45754 Twenty Thirteen: add back-compat function to avoid activation with older WordPress installs. Props kovshenin, see #23819 and #13780.
git-svn-id: http://core.svn.wordpress.org/trunk@23816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 17:06:19 +00:00
Mark Jaquith fdcfbe324f Drop the_chat() into twentythirteen. Style updates to follow — just wanted the_chat() to be utilized somewhere.
props lancewillett. see #23869

git-svn-id: http://core.svn.wordpress.org/trunk@23806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 08:45:49 +00:00
Lance Willett 6bf47b869f Twenty Thirteen: explicitly declare 'link' and 'video' as the only (current) structured post formats in Twenty Thirteen. See #23852 #23619 #23864 and #23620.
git-svn-id: http://core.svn.wordpress.org/trunk@23803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 05:11:41 +00:00
Lance Willett 1dcee708ed Twenty Thirteen: add styles for default core output for structured quote post format. Depends on #23347 for the improved markup for quote post formats. Props obenland, see #23852.
git-svn-id: http://core.svn.wordpress.org/trunk@23802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 05:09:14 +00:00
Lance Willett f8a9f1dd3e Twenty Thirteen: remove HTML5 argument for search form, using a filter instead. See #23850, closes #23701.
git-svn-id: http://core.svn.wordpress.org/trunk@23799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-26 20:34:37 +00:00
Lance Willett a279b11cbb Twenty Thirteen: change link URL function name to `twentythirteen_get_link_url()`, props obenland. Also remove `function_exists()` check since this function should not be pluggable, by design. Closes #23619.
git-svn-id: http://core.svn.wordpress.org/trunk@23795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-25 16:36:27 +00:00
Lance Willett 40799f6291 Twenty Thirteen: use new `get_the_url()` function to find first link in a "Link" post format post. See #23619, props Frank Klein for the original patch.
git-svn-id: http://core.svn.wordpress.org/trunk@23787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 18:57:50 +00:00
Lance Willett ba09755921 Twenty Thirteen: we loves us some structured post formats. See #23619 #23620 #23621.
git-svn-id: http://core.svn.wordpress.org/trunk@23786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 18:54:05 +00:00
Lance Willett 2fa91fda74 Twenty Thirteen: improve separation between Link and Aside posts, props Joen for starter CSS rules. Fixes #23818 and closes #23707 as related.
git-svn-id: http://core.svn.wordpress.org/trunk@23785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 18:35:14 +00:00
Lance Willett 6db57e3745 Twenty Thirteen: remove `hover` styles for screen reader text.
git-svn-id: http://core.svn.wordpress.org/trunk@23783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:35:05 +00:00
Lance Willett e1e654517a Twenty Thirteen: use gallery shortcode filter for featured galleries, props obenland. Closes #23823.
git-svn-id: http://core.svn.wordpress.org/trunk@23782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:29:19 +00:00
Lance Willett 0352ffb565 Twenty Thirteen: style up the new `mediaelement` audio and video players. Props obenland, fixes #23821.
git-svn-id: http://core.svn.wordpress.org/trunk@23781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:20:55 +00:00
Lance Willett 9f005d14fb Twenty Thirteen: pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@23780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:19:55 +00:00
Lance Willett 3558fe7382 Twenty Thirteen: quote post format color fix for paging links, props Joen. Closes #23784.
git-svn-id: http://core.svn.wordpress.org/trunk@23771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 23:23:27 +00:00
Lance Willett fde51bb098 Twenty Thirteen: provide max-width override for gallery thumbnails to collapse to two columns in small screens. Props kwight, fixes #23762.
git-svn-id: http://core.svn.wordpress.org/trunk@23759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 22:35:38 +00:00
Lance Willett 7e9761711a Twenty Thirteen: fix translation string in image template, fixes #23799.
git-svn-id: http://core.svn.wordpress.org/trunk@23758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 22:29:44 +00:00
Lance Willett a553da699d Twenty Thirteen: remove logging code, accidentally added in r23676.
git-svn-id: http://core.svn.wordpress.org/trunk@23757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 21:38:51 +00:00
Lance Willett afa85abb5c Twenty Thirteen: post format and link color tweaks for consistency, props joen. Fixes #23784.
git-svn-id: http://core.svn.wordpress.org/trunk@23756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 19:33:38 +00:00
Lance Willett 561ce28892 Twenty Thirteen: fix a few closing container comments. Props to DrewAPicture for the initial patch. Fixes #23802.
git-svn-id: http://core.svn.wordpress.org/trunk@23755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 19:25:56 +00:00
Lance Willett 634b9e93a1 Twenty Thirteen: ensure footer position if Masonry unavailable for changing the layout. Props obenland, fixes #23771.
git-svn-id: http://core.svn.wordpress.org/trunk@23702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:27:58 +00:00
Lance Willett 6de85ee884 Twenty Thirteen: better caption styles for short words and sentences. Props kwight, fixes #23773.
git-svn-id: http://core.svn.wordpress.org/trunk@23701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:18:40 +00:00
Lance Willett 24cf418767 Twenty Thirteen: hide gallery captions from small screens and when a gallery has 7 columns or more. Props kwight, fixes #23769.
git-svn-id: http://core.svn.wordpress.org/trunk@23700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:11:41 +00:00
Lance Willett 07e5008d04 Twenty Thirteen: remove several more `px` unit values.
git-svn-id: http://core.svn.wordpress.org/trunk@23698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 17:53:06 +00:00
Lance Willett e1acdbf40f Twenty Thirteen: a bit wider search input in main content area. Props obenland, fixes #23765.
Also clean out one case of unneeded "px" value unit.

git-svn-id: http://core.svn.wordpress.org/trunk@23697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 17:36:39 +00:00
Lance Willett 29753503f5 Twenty Thirteen: remove custom comment callback in favor of core `comment_form()` defaults. Props obenland, closes #22005. See #20088.
git-svn-id: http://core.svn.wordpress.org/trunk@23696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 16:36:14 +00:00
Lance Willett 0c694a7500 Twenty Thirteen: use new HTML5 comment form argument, and adjust CSS selectors a bit. Closes #23702, see #15080.
git-svn-id: http://core.svn.wordpress.org/trunk@23690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 22:45:08 +00:00
Lance Willett 0eaa363b8e Twenty Thirteen: adjust header max-width value for older IE browsers. Props jvisick77, see #23732.
git-svn-id: http://core.svn.wordpress.org/trunk@23688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 17:48:46 +00:00
Lance Willett d902afb04b Twenty Thirteen: revert three changes to content attributes, props obenland. See #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 17:14:00 +00:00
Lance Willett 16c33f55b2 Twenty Thirteen: pinking shears.
git-svn-id: http://core.svn.wordpress.org/trunk@23679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:42:34 +00:00
Lance Willett 2c38199fd2 Twenty Thirteen: improve header area padding to ensure stable layout at any size screen. Props jvisick77, fixes #23732. (Small props also to Google TV for revealing the bug.)
git-svn-id: http://core.svn.wordpress.org/trunk@23678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:41:58 +00:00