Commit Graph

1478 Commits

Author SHA1 Message Date
Andrew Nacin 4a1e326c1f 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: http://core.svn.wordpress.org/trunk@24682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-12 19:34:59 +00:00
Andrew Nacin 08314efe48 Twenty Thirteen: Use the child selector when styling paragraphs in a status post. props celloexpressions, fixes #24676.
git-svn-id: http://core.svn.wordpress.org/trunk@24657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-11 01:01:38 +00:00
Andrew Nacin 33c7a89f91 Grammar fix in Twenty Thirteen CSS comment. props SergeyBiryukov, fixes #24690.
git-svn-id: http://core.svn.wordpress.org/trunk@24637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-10 06:04:28 +00:00
Lance Willett 6be5522081 Twenty Thirteen: minor CSS cleanup for navigation, props gorgoglionemeister. Closes #24651.
git-svn-id: http://core.svn.wordpress.org/trunk@24542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-02 23:02:02 +00:00
Lance Willett c9f348113b Twenty Thirteen: enqueue Genericons CSS file for use in visual editor styles. Props DrewAPicture, closes #24595.
git-svn-id: http://core.svn.wordpress.org/trunk@24541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-02 22:58:42 +00:00
Lance Willett c63d6d84f0 Twenty Thirteen: update IE styles to match changes in r24524. See #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:30:57 +00:00
Bot (Translations) faf6603749 POT, generated from r24537
git-svn-id: http://core.svn.wordpress.org/trunk@24538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 18:14:29 +00:00
Lance Willett e958c7ca49 Twenty Thirteen: cleanup for functions.php file, props obenland. See #24653.
git-svn-id: http://core.svn.wordpress.org/trunk@24537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:27:41 +00:00
Lance Willett 44d65f04cc Twenty Thirteen: update RTL styles to match changes in r24524, props obenland. See #23850.
git-svn-id: http://core.svn.wordpress.org/trunk@24536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:26:15 +00:00
Lance Willett 5be4fb5284 Twenty Thirteen: ensure `b` element in comment markup isn't bold. Props ocean90, see #24522.
git-svn-id: http://core.svn.wordpress.org/trunk@24535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-01 17:25:05 +00:00
Andrew Nacin 6d96d25340 Twenty Thirteen: Update comment form selectors with new classes added in r24525.
props obenland.
fixes #23851.



git-svn-id: http://core.svn.wordpress.org/trunk@24526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 21:19:02 +00:00
Andrew Nacin ff6dd2b952 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: http://core.svn.wordpress.org/trunk@24524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-27 20:45:12 +00:00
Bot (Translations) bec7619839 POT, generated from r24516
git-svn-id: http://core.svn.wordpress.org/trunk@24517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-25 22:14:23 +00:00
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
Bot (Translations) 06f96735c1 POT, generated from r24434
git-svn-id: http://core.svn.wordpress.org/trunk@24435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 22:14:13 +00:00
Lance Willett b512e9b6a9 Twenty Eleven: use `get_content_url()` instead of `get_the_post_format_url()`. Fixes #23618.
git-svn-id: http://core.svn.wordpress.org/trunk@24434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-18 21:40:14 +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