Commit Graph

331 Commits

Author SHA1 Message Date
Scott Taylor b836d650bd On attachment pages for audio and video, display players. Currently, only a link is displayed. Add minimal CSS rules for compatibility with 2011, 2012, and 2013 themes.
In `prepend_attachment`, add logic to support attachment types that are not `image`.

In `get_post_class()`, don't add the `has-post-thumbnail` class for attachment pages.

Fixes #27243.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 19:00:14 +00:00
Lance Willett 393381d3e4 Twenty Twelve: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. See #24839, props dannydehaan, joedolson, lancewillett.
Built from https://develop.svn.wordpress.org/trunk@27606


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


git-svn-id: http://core.svn.wordpress.org/trunk@27442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:49:15 +00:00
Andrew Nacin 844cb9db71 Default Themes: Update POT files for trunk (3.9-beta).
Built from https://develop.svn.wordpress.org/trunk@27592


git-svn-id: http://core.svn.wordpress.org/trunk@27435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 19:21:15 +00:00
Lance Willett 6e312de1c4 Twenty Twelve: style `select` element. Props ramonchiara, fixes #27434.
Built from https://develop.svn.wordpress.org/trunk@27572


git-svn-id: http://core.svn.wordpress.org/trunk@27415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 21:58:16 +00:00
Lance Willett 3a68f836c1 Twenty Twelve: remove unused `singular` selectors in print CSS block. Props jbkkd, fixes #26866.
Built from https://develop.svn.wordpress.org/trunk@27571


git-svn-id: http://core.svn.wordpress.org/trunk@27414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-17 21:56:13 +00:00
Scott Taylor 8dd1261904 In TwentyTwelve and TwentyThirteen, don't print the featurd image when viewing an attachment.
See #27243.


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


git-svn-id: http://core.svn.wordpress.org/trunk@27183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 22:09:18 +00:00
Andrew Nacin 00bb092d31 Update the HTML5 Shiv across the default themes to 3.7.0.
props rickalee.
fixes #26491.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 17:18:14 +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
Lance Willett 4e4e5166cb Bundled themes: new screenshots at 880x660 to maximize theme goodness in the new theme viewer design. See #26159.
Built from https://develop.svn.wordpress.org/trunk@26749


git-svn-id: http://core.svn.wordpress.org/trunk@26637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 22:07:10 +00:00
Lance Willett aff7304e0d Bundled Themes: pinking shears.
Built from https://develop.svn.wordpress.org/trunk@26714


git-svn-id: http://core.svn.wordpress.org/trunk@26603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 02:23:10 +00:00
Matt Mullenweg ba93d95af0 Add and display new tags to highlight the ever-growing number of responsive themes available. Fixes #21442.
Props Otto42 and lancewillett.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:07:11 +00:00
Lance Willett 5bb8d78e07 Bundled Themes: implement Microsoft-specific `@viewport` rules for better responsive styling in Windows 8 "snapped" views. Props celloexpressions, fixes #25888.
Built from https://develop.svn.wordpress.org/trunk@26070


git-svn-id: http://core.svn.wordpress.org/trunk@25990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:20:09 +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 5361a8abca Spell out duplicate hook locations.
props DrewAPicture.
fixes #25658.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:20 +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 0dbec8fa31 POT update.
Built from https://develop.svn.wordpress.org/trunk@25911


git-svn-id: http://core.svn.wordpress.org/trunk@25823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:38:16 +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
Andrew Nacin a275f43664 Update POT files for Twenty Ten through Twenty Thirteen.
Built from https://develop.svn.wordpress.org/trunk@25904


git-svn-id: http://core.svn.wordpress.org/trunk@25816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 20:02:10 +00:00
Lance Willett b3b963d6ee Bundled themes: bump version numbers (ignoring Twenty Ten).
Built from https://develop.svn.wordpress.org/trunk@25902


git-svn-id: http://core.svn.wordpress.org/trunk@25814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:37:08 +00:00
Andrew Nacin 74488bdcb0 Spell out duplicate hook locations.
props DrewAPicture.
fixes #25658.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:22:11 +00:00
Lance Willett 4359cfd88d Bundled Themes: pinking shears, fix a trailing period.
Built from https://develop.svn.wordpress.org/trunk@25824


git-svn-id: http://core.svn.wordpress.org/trunk@25736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 03:30: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
Andrew Nacin 9046149c61 Twenty Twelve: Use the correct body class for attachments in the IE stylesheet.
props Marco_Teethgrinder.
see #25506. see [25707].

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


git-svn-id: http://core.svn.wordpress.org/trunk@25628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 16:42:09 +00:00
Andrew Nacin 72b7c6b912 Twenty Twelve: Use the correct body class for attachments.
.single-attachment is only used when the attachment's parent is not a page.

props Marco_Teethgrinder.
fixes #25506.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 13:19:10 +00:00
Lance Willett f3c9b36f73 Twenty Twelve: simplify header image check, props obenland. Closes #25400.
Built from https://develop.svn.wordpress.org/trunk@25626


git-svn-id: http://core.svn.wordpress.org/trunk@25543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:59:09 +00:00
Lance Willett 4a9b21226c Twenty Twelve: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
Built from https://develop.svn.wordpress.org/trunk@25521


git-svn-id: http://core.svn.wordpress.org/trunk@25441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 19:24:09 +00:00
Bot (Translations) 9ac0f4b099 POT, generated from r24959
git-svn-id: http://core.svn.wordpress.org/trunk@24964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 18:14:14 +00:00
Lance Willett eddab8187b Bundled themes: bump version numbers.
git-svn-id: http://core.svn.wordpress.org/trunk@24958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-01 17:52:36 +00:00
Bot (Translations) 1e5d4c245b POT, generated from r24322
git-svn-id: http://core.svn.wordpress.org/trunk@24325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 21:14:08 +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
Andrew Ozz 92ffd4310a TwentyTwelve: in editor-style.css change .mceWPnextpage to .mce-wp-nextpage to match the core fix for Chrome. See #24177.
git-svn-id: http://core.svn.wordpress.org/trunk@24319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-22 19:10:42 +00:00
Lance Willett c347a88b68 Twenty Ten and Twenty Twelve: fix minor indentation issues in CSS files (spaces to tabs).
git-svn-id: http://core.svn.wordpress.org/trunk@24196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-07 22:17:23 +00:00
Bot (Translations) 9527e1b9b7 POT, generated from r24131
git-svn-id: http://core.svn.wordpress.org/trunk@24134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-29 17:14:12 +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) 06f348851f POT, generated from r24100
git-svn-id: http://core.svn.wordpress.org/trunk@24107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 13:58:45 +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 ba20ddbcc0 Twenty Twelve: fix style element ID attribute value, props SergeyBiryukov. Closes #24033.
git-svn-id: http://core.svn.wordpress.org/trunk@24016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 17:50:04 +00:00
Lance Willett 7dd27586af Twenty Twelve: add back missing space in CSS value, removed in r24013. See #23790.
git-svn-id: http://core.svn.wordpress.org/trunk@24014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 17:48:09 +00:00
Lance Willett 3f4edaca26 Twenty Twelve: remove zero-width spaces in CSS value, props SergeyBiryukov. Closes #23790.
git-svn-id: http://core.svn.wordpress.org/trunk@24013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-17 17:46:58 +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
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 87f4924dc9 Twenty Twelve: improve Appearance > Header styles to match front end view better -- including loading special Google Font there. Props obenland, fixes #23790.
git-svn-id: http://core.svn.wordpress.org/trunk@23717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:03:43 +00:00
Lance Willett 6cd06ec784 Twenty Twelve: update post author comment markup and styles, improving hCard data parsing and simplifying styles. Fixes #23128.
git-svn-id: http://core.svn.wordpress.org/trunk@23716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:54:36 +00:00
Bot (Translations) 8bb3d5c112 POT, generated from r23713
git-svn-id: http://core.svn.wordpress.org/trunk@23715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:19:37 +00:00
Lance Willett 8415217e90 Twenty Twelve: load our special Google Font in the visual editor to improve user experience. Props to the Konstanthemes: kovshenin and obenland.
Closes #22499. See also r23672.

git-svn-id: http://core.svn.wordpress.org/trunk@23713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 17:09:12 +00:00
Lance Willett f41b21f4f6 Twenty Twelve: fix regression introduced in r23572, allow hide/show of Header Text in Customizer. Fixes #23600.
Also remove another `!important` -- and there was much rejoicing.

Props SergeyBiryukov and obenland.

git-svn-id: http://core.svn.wordpress.org/trunk@23711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 16:42:10 +00:00
Lance Willett 76e80eaa86 Twenty Twelve: enable live preview for Header Text Color in Theme Customizer. Change also removes an `!important` declaration (yay) in Custom Header CSS rules.
Props SriniG, fixes #23600.

git-svn-id: http://core.svn.wordpress.org/trunk@23572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:45:59 +00:00
Bot (Translations) f23bcb88a0 POT, generated from r23565
git-svn-id: http://core.svn.wordpress.org/trunk@23569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:20:02 +00:00
Lance Willett 5fb24acd2b Twenty Twelve: better handling for cases where a background color is set to white or an empty value (like first run with no `theme_mods` set) and a background image is enabled, which resulted previously in a broken layout. Fixes #23586, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-01 17:14:59 +00:00