Commit Graph

24505 Commits

Author SHA1 Message Date
Lance Willett
63c82dd11d Twenty Fourteen: remove invalid rel attributes from post thumbnail output, and fix a CSS typo. See #25946 and #25325.
Built from https://develop.svn.wordpress.org/trunk@26694


git-svn-id: http://core.svn.wordpress.org/trunk@26584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:09:10 +00:00
Andrew Nacin
0617feaa30 Final SVG painter fixes.
* wp.svgPainter and now moved to wp-admin.
 * Restore !important background-image handling.
 * Delay executing the IE9-specific base64 code if we don't need it.
 * Make painted icons lose their color after hover at the same speed as dashicons (100ms).

props azaozz.
fixes #26333.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:01:10 +00:00
Andrew Nacin
8b8c8e96e7 Deactivate MP6 on update to 3.8.
If left on, it introduces a lot of weird issues not easily diagnosed. MP6 will be updated before release to prevent itself from functioning 3.8+, but this will cut down on support requests by people who update core but not MP6, which was a fairly popular plugin.

fixes #26334.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:30:11 +00:00
Lance Willett
017fd0b083 Twenty Fourteen: fix too-wide search "jump to" link and provide focus on the search input when it's used. Closes #25592.
Built from https://develop.svn.wordpress.org/trunk@26691


git-svn-id: http://core.svn.wordpress.org/trunk@26581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:28:11 +00:00
Andrew Nacin
1788d5840f Dashboard backwards compatibility updates.
* Restore missing wp_dashboard_rss_control() helper.
 * Restore all original 3.7 functions, deprecating many, reusing others. 
 * Rename and remove functions so as not to clash with the original dash plugin.
 * Filter cleanup/restoration.

see #25824, #26334.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:23:10 +00:00
Lance Willett
8e352c8187 Twenty Fourteen: remove unneeded !important declarations, and comment the ones we absolutely need to keep around. Fixes #26444.
Built from https://develop.svn.wordpress.org/trunk@26689


git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:03:11 +00:00
Andrew Nacin
e92d80f5c6 Themes: Let theme author links look like links.
props matveb.
fixes #26425.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:58:21 +00:00
Matt Thomas
6202106205 Un-hide dropdown submenus at responsive sizes, make submenus within dropdowns appear as inline lists at mobile device sizes. See #25972.
Built from https://develop.svn.wordpress.org/trunk@26687


git-svn-id: http://core.svn.wordpress.org/trunk@26577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:58:10 +00:00
Andrew Nacin
e509a66071 Themes: Only show author names during a search if it matches 3 or more characters.
props matveb.
fixes #26422.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:57:11 +00:00
Andrew Nacin
462d342de1 Themes: when initiating a search, avoid triggering a reset event when it's not necessary.
props matveb.
fixes #26434.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:15:11 +00:00
Andrew Nacin
08430e2684 Theme: When showing an author in the grid (during a search), don't include the author's link.
fixes #26433.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:08:10 +00:00
Matt Thomas
b35e6921bb When a button appears within a paragraph, vertically align it with the text baseline.
Built from https://develop.svn.wordpress.org/trunk@26683


git-svn-id: http://core.svn.wordpress.org/trunk@26573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:53:10 +00:00
Matt Thomas
7c45ae9f1c More consistent vertical alignment of the .awaiting-mod/new updates indicator. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26682


git-svn-id: http://core.svn.wordpress.org/trunk@26572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:48:10 +00:00
Andrew Nacin
72f9712a1f Themes: Refine how we display the current theme.
props shaunandrews, kwight, matveb.
see #26003.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:42:16 +00:00
Matt Thomas
8a2e7789f0 Allow dropdown lists to appear in responsive states; reset the minimum width of dropdowns at responsive sizes. See #26430.
Built from https://develop.svn.wordpress.org/trunk@26680


git-svn-id: http://core.svn.wordpress.org/trunk@26570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:38:12 +00:00
Lance Willett
d7b79fac5b Twenty Fourteen: more string cleanup, and a pinking shear. See #26437.
Built from https://develop.svn.wordpress.org/trunk@26679


git-svn-id: http://core.svn.wordpress.org/trunk@26569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:31:11 +00:00
Matt Thomas
b711d6b347 By default, hide all adminbar links at responsive sizes and selectively un-hide just the essential core items. Fixes #26430.
Built from https://develop.svn.wordpress.org/trunk@26678


git-svn-id: http://core.svn.wordpress.org/trunk@26568 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:28:11 +00:00
Helen Hou-Sandí
1fcbe8c80b Bring screen reader shortcuts and image edit controls in line with admin design. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26677


git-svn-id: http://core.svn.wordpress.org/trunk@26567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:17:09 +00:00
Helen Hou-Sandí
9aea0dea8a Lovingly restore corners that had previously been nibbled upon by a mouse. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26676


git-svn-id: http://core.svn.wordpress.org/trunk@26566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:07:10 +00:00
Matt Thomas
48f6631c4e Line up ALL the things:
* Make folded adminmenu icons line up with the W icon in the toolbar
* Make the W link in the toolbar the same width as the folded adminmenu
* Reduce padding on toolbar links to match reduced padding between W and Globe icons
* Reduce right-side padding on toolbar links to account for 1px of extra padding around icons on the left

See #25858.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:03:10 +00:00
Lance Willett
cf7ec69eca Twenty Fourteen: add future TODO for post format string plurals, see #23257.
Built from https://develop.svn.wordpress.org/trunk@26674


git-svn-id: http://core.svn.wordpress.org/trunk@26564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:57:09 +00:00
Lance Willett
5819bbf298 Twenty Fourteen: string cleanup, see #26437.
Built from https://develop.svn.wordpress.org/trunk@26673


git-svn-id: http://core.svn.wordpress.org/trunk@26563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:55:10 +00:00
Lance Willett
dd6d39ba9d Twenty Fourteen: remove trailing slashes on void elements such as meta and link, and remove type attribute from script element. See #24499.
Built from https://develop.svn.wordpress.org/trunk@26672


git-svn-id: http://core.svn.wordpress.org/trunk@26562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:54:09 +00:00
Helen Hou-Sandí
7f8584d37b More targeted background image styling for admin menu SVG icons. fixes #25147.
Built from https://develop.svn.wordpress.org/trunk@26671


git-svn-id: http://core.svn.wordpress.org/trunk@26561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:53:10 +00:00
Matt Thomas
2bac800656 Correct the alignment of the W logo within its container. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26670


git-svn-id: http://core.svn.wordpress.org/trunk@26560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:37:10 +00:00
Lance Willett
ecf5c3ae21 Twenty Fourteen: bump JS version for customizer.js, see #26338.
Built from https://develop.svn.wordpress.org/trunk@26669


git-svn-id: http://core.svn.wordpress.org/trunk@26559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:33:10 +00:00
Lance Willett
25ee6100bd Twenty Fourteen: better logic for hide/show title and description, and Customizer handling of the same. Add ID attributes to style blocks. Fixes #26338.
Built from https://develop.svn.wordpress.org/trunk@26668


git-svn-id: http://core.svn.wordpress.org/trunk@26558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:30:11 +00:00
Andrew Nacin
21d946cf52 Define globals and add semicolons to wp-fullscreen.js.
`grunt jshint` now runs clean for WordPress core!

props mattwiebe.
fixes #26029.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 16:05:11 +00:00
Lance Willett
5fbeb4fd9c Twenty Fourteen: remove unused variable in slider.js, see #26191.
Built from https://develop.svn.wordpress.org/trunk@26666


git-svn-id: http://core.svn.wordpress.org/trunk@26556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 08:30:11 +00:00
Lance Willett
b15de66997 Twenty Fourteen: fix two usability issues with touch events on mobile devices with the Featured Content slider:
* Try to avoid the slight delay when swiping from one slide to the next.
 * Fix bug where second to last slide was animating like it was the last.

Fixes #26191.
Built from https://develop.svn.wordpress.org/trunk@26665


git-svn-id: http://core.svn.wordpress.org/trunk@26555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 08:21:10 +00:00
Andrew Nacin
9b29ad0529 Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons.
Both of these icons can be colored to match the color scheme, including hover states.
Both are accepted for register_post_type()'s menu_icon argument, and also add_menu_page()'s $icon_url argument.

To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.
To use an SVG, pass a valid data URI string starting with 'data:image/svg+xml;base64,'.

props helen.
fixes #25147.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:38:09 +00:00
Andrew Nacin
053898f8bc Fix svg-painter in Chrome. see #26333.
Built from https://develop.svn.wordpress.org/trunk@26663


git-svn-id: http://core.svn.wordpress.org/trunk@26553 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:31:12 +00:00
Lance Willett
51bd1000c2 Twenty Fourteen: rework "current menu" submenu icons to use Genericons for simplicity and to inherit colors better. Props celloexpressions, fixes #26424.
Built from https://develop.svn.wordpress.org/trunk@26662


git-svn-id: http://core.svn.wordpress.org/trunk@26552 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:15:12 +00:00
Lance Willett
ae33743f4c Twenty Fourteen: partial revert of r26558 to avoid blocking access to the Menu Toggle in IE when in small viewports. See #26189 and #26379.
Built from https://develop.svn.wordpress.org/trunk@26661


git-svn-id: http://core.svn.wordpress.org/trunk@26551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:13:10 +00:00
Andrew Nacin
11715a29b8 Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
props matveb.
fixes #25962.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 04:57:10 +00:00
Andrew Nacin
053663f68e Remove the shadow on the TinyMCE editor.
This removes it from distraction-free writing and also gives the editor a bit of a lighter feel.

fixes #26421.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 04:26:11 +00:00
Matt Mullenweg
e20a684463 Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
Props lancewillett.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:49:10 +00:00
Lance Willett
1b78eb0bb2 Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427; see #24863.
Built from https://develop.svn.wordpress.org/trunk@26657


git-svn-id: http://core.svn.wordpress.org/trunk@26547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:16:10 +00:00
Helen Hou-Sandí
52909e1956 Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.
Built from https://develop.svn.wordpress.org/trunk@26656


git-svn-id: http://core.svn.wordpress.org/trunk@26546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 02:37:10 +00:00
Lance Willett
53d959ef0e Twenty Fourteen: avoid overflow for audio and similar elements. Fixes #26426.
Built from https://develop.svn.wordpress.org/trunk@26655


git-svn-id: http://core.svn.wordpress.org/trunk@26545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 02:35:10 +00:00
Lance Willett
40e849f631 Twenty Fourteen: add author description below author name on author archive view, and update styles for archive header area. Props iamtakashi, closes #26420.
Built from https://develop.svn.wordpress.org/trunk@26654


git-svn-id: http://core.svn.wordpress.org/trunk@26544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 02:33:10 +00:00
Lance Willett
cf19d7f24c Twenty Fourteen: fix display of required comment field asterisk in comment instruction text. Props chellycat, fixes #26423.
Built from https://develop.svn.wordpress.org/trunk@26653


git-svn-id: http://core.svn.wordpress.org/trunk@26543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 02:19:10 +00:00
Andrew Nacin
a56aa77d67 Themes: When only one theme is available, show just the details view.
Only one theme may be available when no other themes are allowed (multisite), no other themes are installed, or when the user is denied the switch_themes capability but still has edit_theme_options.

props matveb, markjaquith.
see #25962.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:16:10 +00:00
Andrew Ozz
b0a9fb217a Widgets: on clicking Add, don't move the chooser out of the widget early as that makes is visible at the bottom of the screen. Remove the cloned copy of it instead. Part-props jeremyfelt, fixes #26417.
Built from https://develop.svn.wordpress.org/trunk@26651


git-svn-id: http://core.svn.wordpress.org/trunk@26541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:02:11 +00:00
Drew Jaynes
e59ee5e974 Two more hook docs fixes.
`image_memory_limit` filter:
* Go with int|string on the limit, and simply notate '256M' as an acceptable string value.

`wp_editor_set_quality` filter:
* Add a missing parameter description for the mime type.

See #25721.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:51:19 +00:00
Andrew Ozz
1ae48b7644 DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934.
Built from https://develop.svn.wordpress.org/trunk@26649


git-svn-id: http://core.svn.wordpress.org/trunk@26539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:51:10 +00:00
Drew Jaynes
b3bc78df8f Hook docs fixes following [26645].
See #25721.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:32:11 +00:00
Lance Willett
01554841bd Twenty Fourteen: remove unneeded CSS rule, props iamtakashi. Closes #26418.
Built from https://develop.svn.wordpress.org/trunk@26647


git-svn-id: http://core.svn.wordpress.org/trunk@26537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:03:11 +00:00
Lance Willett
5f73635e58 Twenty Fourteen: fix typo, props DrewAPicture. See #26414.
Built from https://develop.svn.wordpress.org/trunk@26646


git-svn-id: http://core.svn.wordpress.org/trunk@26536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:52:10 +00:00
Andrew Nacin
feedbcde87 Improvements to image quality handling in the image editor classes.
props markoheijnen, DH-Shredder.
fixes #25721.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 22:49:10 +00:00