Commit Graph

72 Commits

Author SHA1 Message Date
Lance Willett c25f0ae8f8 Twenty Thirteen: fix escaping and minor code style issues. See #29127.
Built from https://develop.svn.wordpress.org/trunk@31260


git-svn-id: http://core.svn.wordpress.org/trunk@31241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-21 20:49:22 +00:00
John Blackbourn e9f7c78d38 In Twenty Thirteen, move the "Continue Reading" arrows back inside the translatable strings so they can be localised.
See #30641

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


git-svn-id: http://core.svn.wordpress.org/trunk@30785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-09 18:56:22 +00:00
Lance Willett 7d95c83257 Twenty Twelve and Thirteen: Use proper way to get customizer settings values.
Props obenland, kdoran. Fixes #29577.
Built from https://develop.svn.wordpress.org/trunk@30482


git-svn-id: http://core.svn.wordpress.org/trunk@30470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-20 17:06:23 +00:00
Lance Willett bbdafdc925 Twenty Thirteen: replace ellipses appended to automatically generated excerpts with both ellipses and a "Continue Reading" link to meet accessibility-ready requirements.
Props davidakennedy, lancewillett. Fixes #30178.
Built from https://develop.svn.wordpress.org/trunk@30390


git-svn-id: http://core.svn.wordpress.org/trunk@30387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-19 18:35:21 +00:00
Lance Willett 550a0ef768 Twenty Thirteen: make submenu links work correctly on tablets. Props tar.gz, purzlbaum, DavidTheMachine. See #24767.
Built from https://develop.svn.wordpress.org/trunk@28699


git-svn-id: http://core.svn.wordpress.org/trunk@28516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-08 18:48:16 +00:00
Lance Willett cd72dc041b Twenty Thirteen: update to Genericons 3.0.3. Props celloexpressions, lancewillett. Closes #25391.
Built from https://develop.svn.wordpress.org/trunk@28693


git-svn-id: http://core.svn.wordpress.org/trunk@28511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 18:22:14 +00:00
Sergey Biryukov 2c97f4640b Prevent 'Page %s' from being added to page title on 404 error pages in bundled themes.
props psoluch, rob1n.
fixes #16468.
Built from https://develop.svn.wordpress.org/trunk@28250


git-svn-id: http://core.svn.wordpress.org/trunk@28078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-04 13:17:28 +00:00
Lance Willett a450512b7b Twenty Thirteen and Fourteen: implement HTML5 markup for galleries (see #26697) and captions (see #26642). Props obenland, closes #27502.
Built from https://develop.svn.wordpress.org/trunk@27763


git-svn-id: http://core.svn.wordpress.org/trunk@27600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:06:28 +00:00
Lance Willett 5d05c757b3 Twenty Thirteen: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. Closes #24839, props dannydehaan, joedolson, lancewillett, Frank Klein.
Built from https://develop.svn.wordpress.org/trunk@27607


git-svn-id: http://core.svn.wordpress.org/trunk@27450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 05:29:29 +00:00
Lance Willett 4305c85fb2 Twenty Thirteen: remove doc block comments for `@return void`. See #27098.
Built from https://develop.svn.wordpress.org/trunk@27598


git-svn-id: http://core.svn.wordpress.org/trunk@27441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:48:29 +00:00
Andrew Nacin c5802858cc Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter.
props michelwppi.
fixes #26811.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 13:57:12 +00:00
Andrew Nacin 70fd806759 Revert r25824:25875 from the core.svn.wordpress.org repository.
These commits were accidentally re-synced commits from develop.svn.wordpress.org due to a race condition. Thankfully, the history of this repository matters fairly little. It also happened only for trunk.


git-svn-id: http://core.svn.wordpress.org/trunk@25876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 02:29:52 +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
Andrew Nacin 7115fa35af Translator comments are special, make sure they are parsed properly. see #25256.
Built from https://develop.svn.wordpress.org/trunk@25908


git-svn-id: http://core.svn.wordpress.org/trunk@25820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:29:09 +00:00
Lance Willett 9001d030f3 Twenty Thirteen: use correct font name in comment docs, props tenpura. Fixes #25593.
Built from https://develop.svn.wordpress.org/trunk@25789


git-svn-id: http://core.svn.wordpress.org/trunk@25701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-15 16:47:09 +00:00
Andrew Nacin f5eb32ec6b Default themes: Don't use /** docblocks for simple multiline comments.
props DrewAPicture, ericlewis.
fixes #25256.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 20:39:09 +00:00
Lance Willett d373d0982b Twenty Thirteen: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
Built from https://develop.svn.wordpress.org/trunk@25522


git-svn-id: http://core.svn.wordpress.org/trunk@25442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 19:34:10 +00:00
Andrew Nacin 1b52a6fb36 Twenty Thirteen: Call has_post_format() with the new array style. props obenland, fixes #24905.
git-svn-id: http://core.svn.wordpress.org/trunk@24934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-31 20:42:38 +00:00
Ryan Boren 20d04dfca8 Introduce wp_style_add_data() as a wrapper for $wp_styles->add_data().
Props obenland, nacin
fixes #18753


git-svn-id: http://core.svn.wordpress.org/trunk@24740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 19:46:38 +00:00
Andrew Nacin ec36ddc62b Twenty Thirteen: Go back to dates for style versions, partially changed in [24735]. see #24787.
git-svn-id: http://core.svn.wordpress.org/trunk@24736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 18:16:20 +00:00
Ryan Boren 44fca1dc57 Allow absolute URLs in editor styles.
Props nacin, obenland
fixes #24787


git-svn-id: http://core.svn.wordpress.org/trunk@24735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-18 18:11:43 +00:00
Lance Willett 27a77d4b7c Twenty Thirteen: improve gallery styles to ensure both single and index views are displayed consistently. Closes #24555.
git-svn-id: http://core.svn.wordpress.org/trunk@24720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-17 04:51:06 +00:00
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
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 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 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 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 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 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
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 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 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
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 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 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 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
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 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
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
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
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 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 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
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
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
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