Commit Graph

19691 Commits

Author SHA1 Message Date
Lance Willett bca0288810 Twenty Twelve: generalize form styles so plugins that insert things like contact forms will fit in. Props ryanimel, see #21477.
git-svn-id: https://develop.svn.wordpress.org/trunk@21450 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:19:29 +00:00
Lance Willett 5183b18ace Twenty Twelve: check for empty variable for simpler logic, props jkudish. See #21479.
git-svn-id: https://develop.svn.wordpress.org/trunk@21449 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:01:32 +00:00
Lance Willett cff9d5d95e Twenty Twelve: standardize label used for Web Fonts option. Props jkudish, fixes #21487.
git-svn-id: https://develop.svn.wordpress.org/trunk@21448 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:58:12 +00:00
Lance Willett c0f5be84d7 Twenty Twelve: widget style fikes, align the ".timesince" class in the Twitter widget to the right like Twenty Eleven does. Props chellycat, see #21477.
git-svn-id: https://develop.svn.wordpress.org/trunk@21447 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:48:13 +00:00
Lance Willett b120291188 Twenty Twelve: Position the stats smiley in a happy place, and add Plugins rule block. See #21477, props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@21446 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:41:59 +00:00
Lance Willett a942e53cce Twenty Twelve: style acronym element same as dfn and abbr, props DrewAPicture. Fixes #21484.
git-svn-id: https://develop.svn.wordpress.org/trunk@21445 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:11:11 +00:00
Lance Willett d21e5fe232 Twenty Twelve: hide category and tag output in post meta if only 1 term. Props ryanimel, jkudish and fixes #21479.
git-svn-id: https://develop.svn.wordpress.org/trunk@21444 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:04:32 +00:00
bumpbot 5273caf79f Compress scripts/styles: 3.5-alpha-21443.
git-svn-id: https://develop.svn.wordpress.org/trunk@21443 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:58:29 +00:00
Lance Willett d7ca83f5a9 Twenty Twelve, apply RSS styles from r21436 to RTL stylesheet, props SergeyBiryukov. Fixes #21476.
git-svn-id: https://develop.svn.wordpress.org/trunk@21442 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:56:50 +00:00
Lance Willett a1a26b0318 Twenty Twelve, RTL: per azaozz, center the editor body in RTL to stop messing with calculating height/width in JS. Props obenland, see #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21441 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:54:47 +00:00
Lance Willett 165a28af29 Twenty Twelve: use inline-block for clickable titles, props klagraff and iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@21440 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:42:46 +00:00
Andrew Ozz 96596da546 CSS cleanup: take out -moz-box-shadow, fixes #21482
git-svn-id: https://develop.svn.wordpress.org/trunk@21439 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:41:49 +00:00
Lance Willett 6b54c9b5c0 Twenty Twelve: better button styles for consistent look across browsers. Props obenland, fixes #21473.
git-svn-id: https://develop.svn.wordpress.org/trunk@21438 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:39:26 +00:00
Lance Willett 43522b9b42 Twenty Twelve: only show excerpt on search view, not full content.
Props bradthomas127 and obenland. See #21462.


git-svn-id: https://develop.svn.wordpress.org/trunk@21437 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:27:22 +00:00
Lance Willett 03e65d021c Twenty Twelve: style up the RSS widget output to match Recent Posts better. Props SergeyBiryukov and obenland, see #21476.
git-svn-id: https://develop.svn.wordpress.org/trunk@21436 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 22:20:35 +00:00
Andrew Ozz d3a4604335 Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471
git-svn-id: https://develop.svn.wordpress.org/trunk@21435 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:37:57 +00:00
Lance Willett 496e7275b1 Twenty Twelve RTL: more fixes props obenland. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21434 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:34:56 +00:00
Lance Willett 2d4822d1c3 Twenty Twelve RTL: add editor-style-rtl stylesheet, props SergeyBiryukov and obenland. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21433 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:27:50 +00:00
Lance Willett b8ccfe935f Twenty Twelve RTL: Adds the visual of comment threading back to RTL, props iandstewart. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21432 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:14:23 +00:00
Lance Willett b30c35dd8a Twenty Twelve RTL: We ought not to RTL image alignment since the editor adds the class and the button is always the same. See #21441 props iandstewart.
git-svn-id: https://develop.svn.wordpress.org/trunk@21431 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:13:21 +00:00
Lance Willett baf3d55e1b Twenty Twelve RTL: adds missing margin for lists in comments, props iandstewart. See #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21430 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 21:10:21 +00:00
bumpbot 0f3bfa1172 Compress scripts/styles: 3.5-alpha-21429.
git-svn-id: https://develop.svn.wordpress.org/trunk@21429 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 20:58:19 +00:00
Lance Willett ad42b71413 Twenty Twelve: set version to null to force no stylesheet version number when loading third-party CSS for Google Fonts. Props drewstrojny and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21428 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 20:41:20 +00:00
Lance Willett c8338c0056 Twenty Twelve: print style tweaks for footer meta and link underlines. See #21377.
git-svn-id: https://develop.svn.wordpress.org/trunk@21427 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 20:21:07 +00:00
Lance Willett a53857ea64 Twenty Twelve: justify text in smaller views, props chriswallace. Fixes #21385.
git-svn-id: https://develop.svn.wordpress.org/trunk@21426 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 19:56:42 +00:00
Andrew Ozz d5cdd76bde Accessibility: add text to the updates link in the toolbar, props SergeyBiryukov, fixes #21333
git-svn-id: https://develop.svn.wordpress.org/trunk@21425 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 19:10:11 +00:00
bumpbot 0630d134d2 Compress scripts/styles: 3.5-alpha-21424.
git-svn-id: https://develop.svn.wordpress.org/trunk@21424 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 18:58:19 +00:00
Andrew Ozz b9892b6f4e Add "Skip to toolbar" accessibility shortcut, see #21471
git-svn-id: https://develop.svn.wordpress.org/trunk@21423 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 18:41:52 +00:00
Mark Jaquith b26ef93355 About ten percent
git-svn-id: https://develop.svn.wordpress.org/trunk@21422 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 18:32:39 +00:00
Dion Hulse 2c0adebab9 Fix the plupload script enqueue, props SergeyBiryukov, Fixes #21467. See #20683.
git-svn-id: https://develop.svn.wordpress.org/trunk@21421 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 12:16:16 +00:00
Mark Jaquith c2374d2d05 Let WP_Dependencies accept a string for a single dependency instead of requiring an array wrapper. props vhauri. fixes #20683
git-svn-id: https://develop.svn.wordpress.org/trunk@21420 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-04 17:59:55 +00:00
bumpbot 03768ac6dd Compress scripts/styles: 3.5-alpha-21419.
git-svn-id: https://develop.svn.wordpress.org/trunk@21419 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 22:58:18 +00:00
Andrew Ozz 79616fbb50 Quicktags: don't call the callback on pressing the access key when a button is not visible, see #21460
git-svn-id: https://develop.svn.wordpress.org/trunk@21418 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 21:47:58 +00:00
Andrew Ozz dbb09dee01 Add translation context for the Text editor tab name, props obenland, fixes #20993
git-svn-id: https://develop.svn.wordpress.org/trunk@21417 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 21:08:52 +00:00
bumpbot 4e1bc64c80 Compress scripts/styles: 3.5-alpha-21416. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21416 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 18:58:19 +00:00
Andrew Ozz ffab659fea TinyMCE: revert Firefox shortcuts to match all other browsers (Alt+Shift+letter), fix the labels for the shortcuts, update description in wp-mce-help, fixes #21197
git-svn-id: https://develop.svn.wordpress.org/trunk@21415 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 18:12:45 +00:00
Ryan Boren ce960f67a0 Deprecate get_blog_option(), add_blog_option(), update_blog_option(), and delete_blog_option().
Use the regular option functions wrapped in switch_to_blog() and restore_current_blog() instead.

Group multiple operations within a single switch where possible.

fixes #21432


git-svn-id: https://develop.svn.wordpress.org/trunk@21414 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 17:51:42 +00:00
Andrew Nacin a5c7405975 Move most instances of new WP_User to get_userdata(). see #21120.
git-svn-id: https://develop.svn.wordpress.org/trunk@21413 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-03 01:06:05 +00:00
Lance Willett 28562bc58a Twenty Twelve: bump theme-customizer JS version. See #21443.
git-svn-id: https://develop.svn.wordpress.org/trunk@21412 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 22:17:06 +00:00
Lance Willett b1f62e5a43 Twenty Twelve: Add postMessage support in Customizer for fonts, site title and description, and background color body_class value updates.
Props obenland for first patch and testing. Fixes #21443.


git-svn-id: https://develop.svn.wordpress.org/trunk@21411 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 22:10:03 +00:00
Lance Willett 3bf85fa102 Twenty Twelve: update print styles to merge similar rules, props SergeyBiryukov, see #21377.
git-svn-id: https://develop.svn.wordpress.org/trunk@21410 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 21:11:11 +00:00
Lance Willett d5a2c32b11 Twenty Twelve: update editor stylesheet, props obenland. See #21376.
git-svn-id: https://develop.svn.wordpress.org/trunk@21409 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 21:06:03 +00:00
Lance Willett d9b11cf9e7 Twenty Twelve: make sure embeds and videos don't overflow their containers, and add iframe styles to all embeds, videos, and objects. Fixes #21382.
Props chriswallace and obenland for troubleshooting.


git-svn-id: https://develop.svn.wordpress.org/trunk@21408 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 20:57:47 +00:00
Lance Willett 46910c79e4 Twenty Twelve: add max-width rule to help captions not overflow their container at small window sizes. Props chriswallace and obenland, fixes #21383.
git-svn-id: https://develop.svn.wordpress.org/trunk@21407 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 20:53:38 +00:00
Lance Willett 66315ec8a3 Twenty Twelve: style hr, big, del, ins in editor stylesheet (and add all except big to style.css also). Fixes #21376.
git-svn-id: https://develop.svn.wordpress.org/trunk@21406 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 20:27:23 +00:00
Lance Willett 4d30bd4e84 Twenty Twelve: fix navigation selectors as the change in r21404 broke the small navigation menu behavior.
git-svn-id: https://develop.svn.wordpress.org/trunk@21405 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 19:53:45 +00:00
Lance Willett 61d042a645 Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379.
* Add classes like `.site` and `.site-content` in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like `nav` inside the content container.
 * Bump JS version after selector change.
 * Move `image-attachment` to `post_class()` output

More exhaustive notes in the ticket on each id and class change.


git-svn-id: https://develop.svn.wordpress.org/trunk@21404 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 19:12:11 +00:00
Ryan Boren 691425a3ff Introduce wp_cache_switch_to_blog() and WP_Object_Cache::switch_to_blog() as a lighter/faster way to switch the cache to a new blog id.
Add the blog id to the cache keys for multisite installs.

Use wp_cache_switch_to_blog() instead of wp_cache_init() in switch_to_blog().

Use wp_cache_switch_to_blog() instead of wp_cache_reset() in wp_start_object_cache().

Deprecate wp_cache_reset().

This avoids the many queries needed to re-prime the cache after switch_to_blog() on multisite installs using the default cache backend.

fixes #21434



git-svn-id: https://develop.svn.wordpress.org/trunk@21403 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 18:31:14 +00:00
Lance Willett ecd9fe3d78 Twenty Twelve: CSS and markup improvements for better child theme support, part 2. See #21379.
* Allow image alignment to apply anywhere, not just entry content area
 * Remove unneeded `hgroup` `header` and `nav` selectors


git-svn-id: https://develop.svn.wordpress.org/trunk@21402 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 18:28:10 +00:00
Lance Willett d6c8d62585 Twenty Twelve: CSS and markup improvements for better child theme support, part 1.
Move all media queries to bottom of document.


git-svn-id: https://develop.svn.wordpress.org/trunk@21401 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 17:50:52 +00:00