Commit Graph

230 Commits

Author SHA1 Message Date
Lance Willett 0b58010a28 Twenty Thirteen: CSS fixes for visual post editor styles. Props celloexpressions and obenland, see #24308.
git-svn-id: https://develop.svn.wordpress.org/trunk@24706 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-15 16:52:14 +00:00
Andrew Nacin a187c535ca Simplify and reduce the new media/content extraction functions.
The URL extraction function is now get_url_in_content(). For more, see #24202.

Also adds filters to get_post_galleries() and get_post_gallery(). fixes #24309.



git-svn-id: https://develop.svn.wordpress.org/trunk@24682 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-12 19:34:59 +00:00
Andrew Nacin b018ab15f1 Twenty Thirteen: Use the child selector when styling paragraphs in a status post. props celloexpressions, fixes #24676.
git-svn-id: https://develop.svn.wordpress.org/trunk@24657 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-11 01:01:38 +00:00
Andrew Nacin ef882ccd44 Grammar fix in Twenty Thirteen CSS comment. props SergeyBiryukov, fixes #24690.
git-svn-id: https://develop.svn.wordpress.org/trunk@24637 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 06:04:28 +00:00
Lance Willett 7a24b282a3 Twenty Thirteen: minor CSS cleanup for navigation, props gorgoglionemeister. Closes #24651.
git-svn-id: https://develop.svn.wordpress.org/trunk@24542 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-02 23:02:02 +00:00
Lance Willett 2be1017944 Twenty Thirteen: enqueue Genericons CSS file for use in visual editor styles. Props DrewAPicture, closes #24595.
git-svn-id: https://develop.svn.wordpress.org/trunk@24541 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-02 22:58:42 +00:00
Lance Willett f729beedb5 Twenty Thirteen: update IE styles to match changes in r24524. See #23850.
git-svn-id: https://develop.svn.wordpress.org/trunk@24540 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 18:30:57 +00:00
potbot 1ac726b616 POT, generated from r24537
git-svn-id: https://develop.svn.wordpress.org/trunk@24538 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 18:14:29 +00:00
Lance Willett 0d6adee1fb Twenty Thirteen: cleanup for functions.php file, props obenland. See #24653.
git-svn-id: https://develop.svn.wordpress.org/trunk@24537 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 17:27:41 +00:00
Lance Willett a925082e9b Twenty Thirteen: update RTL styles to match changes in r24524, props obenland. See #23850.
git-svn-id: https://develop.svn.wordpress.org/trunk@24536 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 17:26:15 +00:00
Lance Willett ae849e3550 Twenty Thirteen: ensure `b` element in comment markup isn't bold. Props ocean90, see #24522.
git-svn-id: https://develop.svn.wordpress.org/trunk@24535 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-01 17:25:05 +00:00
Andrew Nacin 836ebd6f0d Twenty Thirteen: Update comment form selectors with new classes added in r24525.
props obenland.
fixes #23851.



git-svn-id: https://develop.svn.wordpress.org/trunk@24526 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 21:19:02 +00:00
Andrew Nacin c2350dee89 Improve the HTML classes for the new html5 format in get_search_form().
Update Twenty Thirteen to reflect the changes.

props obenland.
fixes #23850.



git-svn-id: https://develop.svn.wordpress.org/trunk@24524 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-27 20:45:12 +00:00
potbot 0b3af6dd91 POT, generated from r24516
git-svn-id: https://develop.svn.wordpress.org/trunk@24517 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 22:14:23 +00:00
Lance Willett 4a6eef5627 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: https://develop.svn.wordpress.org/trunk@24516 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 22:03:42 +00:00
Lance Willett 6102515450 Twenty Thirteen: update Genericons font files to latest version, 2.09. See #24595.
git-svn-id: https://develop.svn.wordpress.org/trunk@24515 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:58:13 +00:00
Lance Willett b8b3908285 Twenty Thirteen: JS fix, after r24511 changes -- add missing semicolon to end variable definition. See #24643.
git-svn-id: https://develop.svn.wordpress.org/trunk@24514 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:30:43 +00:00
Lance Willett 03e0039650 Twenty Thirteen: remove `box-sizing` styles from site wrapper element to avoid horizontal scrollbars in large viewports. Fixes #24599, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@24513 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:13:52 +00:00
Lance Willett 9a412d8812 Twenty Thirteen: add editor styles for post formats back in. Props celloexpressions, closes #24308.
git-svn-id: https://develop.svn.wordpress.org/trunk@24512 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:10:37 +00:00
Lance Willett e162294370 Twenty Thirteen: functions.js optimizations, props obenland. Fixes #24643.
git-svn-id: https://develop.svn.wordpress.org/trunk@24511 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-25 21:09:00 +00:00
Lance Willett dae6b6b6ab Twenty Thirteen: fix minor RTL and mobile visual display bugs, props obenland. Fixes #24524.
git-svn-id: https://develop.svn.wordpress.org/trunk@24428 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-07 17:01:22 +00:00
potbot ebcf303db6 POT, generated from r24423
git-svn-id: https://develop.svn.wordpress.org/trunk@24424 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 19:14:10 +00:00
Lance Willett d1348b97e1 Twenty Thirteen: remove `html5` arguments now that `add_theme_support` call is in place. Props obenland, see r24421 and #23850.
git-svn-id: https://develop.svn.wordpress.org/trunk@24423 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 18:29:32 +00:00
potbot f265d8bdda POT, generated from r24421
git-svn-id: https://develop.svn.wordpress.org/trunk@24422 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 18:14:04 +00:00
Lance Willett e3f3f1309d 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: https://develop.svn.wordpress.org/trunk@24421 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 17:20:40 +00:00
potbot 06c8be82d4 POT, generated from r24412
git-svn-id: https://develop.svn.wordpress.org/trunk@24413 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 01:14:28 +00:00
Lance Willett 5a92c3184e 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: https://develop.svn.wordpress.org/trunk@24412 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 00:29:07 +00:00
Lance Willett 5e6dbe3de0 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: https://develop.svn.wordpress.org/trunk@24411 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-06 00:22:09 +00:00
Lance Willett e802145548 Twenty Thirteen: correct PHPDoc for using `get_content_url()` to grab first link in post content. See #24469.
git-svn-id: https://develop.svn.wordpress.org/trunk@24405 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:20:43 +00:00
Lance Willett 625724024b Twenty Thirteen: clean up RTL styles per changes in r24391, see #24469.
git-svn-id: https://develop.svn.wordpress.org/trunk@24404 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:17:09 +00:00
potbot d5ac993525 POT, generated from r24402
git-svn-id: https://develop.svn.wordpress.org/trunk@24403 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:14:13 +00:00
Lance Willett 3bb3d6f97f Twenty Thirteen: Clean up image attachment template and move logic to `twentythirteen_the_attached_image()` function. Props obenland, fixes #24479.
git-svn-id: https://develop.svn.wordpress.org/trunk@24402 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 21:44:25 +00:00
Lance Willett 3fef0e7c6c Twenty Thirteen: remove mention of `twentythirteen_comment()` in PHPDoc, props zeo. Closes #24482.
git-svn-id: https://develop.svn.wordpress.org/trunk@24401 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 21:35:26 +00:00
Lance Willett 6bbc589384 Twenty Thirteen: use lowercase color hex value in RTL CSS file, props zeo. Fixes #24474.
git-svn-id: https://develop.svn.wordpress.org/trunk@24394 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 22:11:57 +00:00
Lance Willett fe880f9ac1 Twenty Thirteen: better styles for blockquote italic and bold text. Fixes #24471.
git-svn-id: https://develop.svn.wordpress.org/trunk@24393 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 18:48:22 +00:00
potbot 8bf5c95496 POT, generated from r24391
git-svn-id: https://develop.svn.wordpress.org/trunk@24392 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 18:14:37 +00:00
Lance Willett a9d619ffff 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: https://develop.svn.wordpress.org/trunk@24391 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 17:45:00 +00:00
Lance Willett 0d0434796a Twenty Thirteen: remove unused `custom-font` body class value. See #24445.
git-svn-id: https://develop.svn.wordpress.org/trunk@24390 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 05:23:48 +00:00
Lance Willett bbb57bbaf8 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: https://develop.svn.wordpress.org/trunk@24389 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 05:20:03 +00:00
Lance Willett a06fed2600 Twenty Thirteen: PHPDoc cleanup/completion, props DrewAPicture. Fixes #24413.
git-svn-id: https://develop.svn.wordpress.org/trunk@24351 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 21:24:08 +00:00
Lance Willett 30f277035c 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: https://develop.svn.wordpress.org/trunk@24350 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 21:22:58 +00:00
Lance Willett 42cfbd701f Twenty Thirteen: polish up RTL for editor styles, fixing blockquote and status entries. Fixes #24298.
git-svn-id: https://develop.svn.wordpress.org/trunk@24347 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 18:58:21 +00:00
Lance Willett 21db022cc9 Twenty Thirteen: fix up Quote styles for the visual editor, see #24308.
git-svn-id: https://develop.svn.wordpress.org/trunk@24343 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 23:48:56 +00:00
Lance Willett 0393ef579f Twenty Thirteen: fix comment cruft left from r24338.
git-svn-id: https://develop.svn.wordpress.org/trunk@24342 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 23:48:02 +00:00
Lance Willett b86cae969a Twenty Thirteen: properly center the navbar, props DrewAPicture. Fixes #24406.
git-svn-id: https://develop.svn.wordpress.org/trunk@24340 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 22:35:41 +00:00
potbot 8b4f5bdddc POT, generated from r24338
git-svn-id: https://develop.svn.wordpress.org/trunk@24339 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 21:14:28 +00:00
Lance Willett bb183fdfc7 Twenty Thirteen: revert adding new image size for galleries., Using existing medium size instead, and thumbnail for mobile views. See #24307.
git-svn-id: https://develop.svn.wordpress.org/trunk@24338 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 20:39:51 +00:00
potbot 4d1d6f1992 POT, generated from r24334
git-svn-id: https://develop.svn.wordpress.org/trunk@24335 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 18:14:16 +00:00
Lance Willett d083fc7641 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: https://develop.svn.wordpress.org/trunk@24333 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:32:40 +00:00
Lance Willett 1533482d18 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: https://develop.svn.wordpress.org/trunk@24332 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:20:37 +00:00