Commit Graph

24517 Commits

Author SHA1 Message Date
Lance Willett ef1c3e09ac Twenty Fourteen: fix too-wide search "jump to" link and provide focus on the search input when it's used. Closes #25592.
git-svn-id: https://develop.svn.wordpress.org/trunk@26691 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 21:27:20 +00:00
Andrew Nacin 56b0a18ac2 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26690 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 21:22:20 +00:00
Lance Willett a1ea21a258 Twenty Fourteen: remove unneeded `!important` declarations, and comment the ones we absolutely need to keep around. Fixes #26444.
git-svn-id: https://develop.svn.wordpress.org/trunk@26689 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 21:02:11 +00:00
Andrew Nacin 7511074840 Themes: Let theme author links look like links.
props matveb.
fixes #26425.


git-svn-id: https://develop.svn.wordpress.org/trunk@26688 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:57:33 +00:00
Matt Thomas 3fc9dd346e Un-hide dropdown submenus at responsive sizes, make submenus within dropdowns appear as inline lists at mobile device sizes. See #25972.
git-svn-id: https://develop.svn.wordpress.org/trunk@26687 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:57:17 +00:00
Andrew Nacin e98d56fab4 Themes: Only show author names during a search if it matches 3 or more characters.
props matveb.
fixes #26422.


git-svn-id: https://develop.svn.wordpress.org/trunk@26686 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:56:16 +00:00
Andrew Nacin dc7082fbc7 Themes: when initiating a search, avoid triggering a reset event when it's not necessary.
props matveb.
fixes #26434.


git-svn-id: https://develop.svn.wordpress.org/trunk@26685 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:14:59 +00:00
Andrew Nacin 74ea276315 Theme: When showing an author in the grid (during a search), don't include the author's link.
fixes #26433.


git-svn-id: https://develop.svn.wordpress.org/trunk@26684 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:08:01 +00:00
Matt Thomas 5ee03aa6c7 When a button appears within a paragraph, vertically align it with the text baseline.
git-svn-id: https://develop.svn.wordpress.org/trunk@26683 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:52:36 +00:00
Matt Thomas ecb200553c More consistent vertical alignment of the .awaiting-mod/new updates indicator. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26682 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:47:02 +00:00
Andrew Nacin 2cf98e4e00 Themes: Refine how we display the current theme.
props shaunandrews, kwight, matveb.
see #26003.


git-svn-id: https://develop.svn.wordpress.org/trunk@26681 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:41:44 +00:00
Matt Thomas 39b72958c6 Allow dropdown lists to appear in responsive states; reset the minimum width of dropdowns at responsive sizes. See #26430.
git-svn-id: https://develop.svn.wordpress.org/trunk@26680 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:37:43 +00:00
Lance Willett cbbeae6145 Twenty Fourteen: more string cleanup, and a pinking shear. See #26437.
git-svn-id: https://develop.svn.wordpress.org/trunk@26679 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:30:34 +00:00
Matt Thomas 381c1f4211 By default, hide all adminbar links at responsive sizes and selectively un-hide just the essential core items. Fixes #26430.
git-svn-id: https://develop.svn.wordpress.org/trunk@26678 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:27:34 +00:00
Helen Hou-Sandi 3706de38db Bring screen reader shortcuts and image edit controls in line with admin design. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26677 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:16:18 +00:00
Helen Hou-Sandi c27c592062 Lovingly restore corners that had previously been nibbled upon by a mouse. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26676 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:06:44 +00:00
Matt Thomas f2200af9f2 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26675 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:02:33 +00:00
Lance Willett fd92eaa487 Twenty Fourteen: add future TODO for post format string plurals, see #23257.
git-svn-id: https://develop.svn.wordpress.org/trunk@26674 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:56:50 +00:00
Lance Willett de96ba63f5 Twenty Fourteen: string cleanup, see #26437.
git-svn-id: https://develop.svn.wordpress.org/trunk@26673 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:54:39 +00:00
Lance Willett 62bcdf78c6 Twenty Fourteen: remove trailing slashes on void elements such as meta and link, and remove type attribute from script element. See #24499.
git-svn-id: https://develop.svn.wordpress.org/trunk@26672 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:53:17 +00:00
Helen Hou-Sandi df454bb0b6 More targeted background image styling for admin menu SVG icons. fixes #25147.
git-svn-id: https://develop.svn.wordpress.org/trunk@26671 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:52:48 +00:00
Matt Thomas ed908f78a1 Correct the alignment of the W logo within its container. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26670 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:36:56 +00:00
Lance Willett f232b0247d Twenty Fourteen: bump JS version for customizer.js, see #26338.
git-svn-id: https://develop.svn.wordpress.org/trunk@26669 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:32:16 +00:00
Lance Willett 0361c75b09 Twenty Fourteen: better logic for hide/show title and description, and Customizer handling of the same. Add ID attributes to `style` blocks. Fixes #26338.
git-svn-id: https://develop.svn.wordpress.org/trunk@26668 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:29:10 +00:00
Andrew Nacin 1ac4bceecd Define globals and add semicolons to wp-fullscreen.js.
`grunt jshint` now runs clean for WordPress core!

props mattwiebe.
fixes #26029.


git-svn-id: https://develop.svn.wordpress.org/trunk@26667 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 16:04:59 +00:00
Lance Willett 37c9f8df03 Twenty Fourteen: remove unused variable in slider.js, see #26191.
git-svn-id: https://develop.svn.wordpress.org/trunk@26666 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 08:29:34 +00:00
Lance Willett c38599ff03 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26665 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 08:20:03 +00:00
Andrew Nacin 006045395c 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26664 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:37:20 +00:00
Andrew Nacin 721ffcbb07 Fix svg-painter in Chrome. see #26333.
git-svn-id: https://develop.svn.wordpress.org/trunk@26663 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:30:56 +00:00
Lance Willett 3b9ec0a887 Twenty Fourteen: rework "current menu" submenu icons to use Genericons for simplicity and to inherit colors better. Props celloexpressions, fixes #26424.
git-svn-id: https://develop.svn.wordpress.org/trunk@26662 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:14:27 +00:00
Lance Willett 60b24d673a Twenty Fourteen: partial revert of r26558 to avoid blocking access to the Menu Toggle in IE when in small viewports. See #26189 and #26379.
git-svn-id: https://develop.svn.wordpress.org/trunk@26661 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:12:24 +00:00
Andrew Nacin f883e31e3c Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
props matveb.
fixes #25962.


git-svn-id: https://develop.svn.wordpress.org/trunk@26660 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:56:48 +00:00
Andrew Nacin 3edf1401aa 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26659 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:25:01 +00:00
Matt Mullenweg cdbcccf498 Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
Props lancewillett.



git-svn-id: https://develop.svn.wordpress.org/trunk@26658 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 03:48:36 +00:00
Lance Willett 49e03cf097 Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427; see #24863.
git-svn-id: https://develop.svn.wordpress.org/trunk@26657 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 03:15:47 +00:00
Helen Hou-Sandi 679fb7dddb Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26656 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:36:35 +00:00
Lance Willett 6f1956d479 Twenty Fourteen: avoid overflow for `audio` and similar elements. Fixes #26426.
git-svn-id: https://develop.svn.wordpress.org/trunk@26655 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:34:41 +00:00
Lance Willett a960424025 Twenty Fourteen: add author description below author name on author archive view, and update styles for archive header area. Props iamtakashi, closes #26420.
git-svn-id: https://develop.svn.wordpress.org/trunk@26654 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:32:46 +00:00
Lance Willett 812b2b43bf Twenty Fourteen: fix display of required comment field asterisk in comment instruction text. Props chellycat, fixes #26423.
git-svn-id: https://develop.svn.wordpress.org/trunk@26653 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:18:36 +00:00
Andrew Nacin e75582f9c8 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26652 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:15:59 +00:00
Andrew Ozz f90e3dc450 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26651 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:01:42 +00:00
Drew Jaynes fa376b16cd 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26650 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:50:33 +00:00
Andrew Ozz 2d254241c7 DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934.
git-svn-id: https://develop.svn.wordpress.org/trunk@26649 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:50:05 +00:00
Drew Jaynes ba4187de33 Hook docs fixes following [26645].
See #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26648 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:31:21 +00:00
Lance Willett 62ce5c7a8c Twenty Fourteen: remove unneeded CSS rule, props iamtakashi. Closes #26418.
git-svn-id: https://develop.svn.wordpress.org/trunk@26647 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:02:32 +00:00
Lance Willett 1d87737d07 Twenty Fourteen: fix typo, props DrewAPicture. See #26414.
git-svn-id: https://develop.svn.wordpress.org/trunk@26646 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:51:53 +00:00
Andrew Nacin 8a3c33c861 Improvements to image quality handling in the image editor classes.
props markoheijnen, DH-Shredder.
fixes #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26645 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:48:45 +00:00
Dion Hulse 22738bc3d5 Remove the experimental RSS.JS feed, and move it to a plugin for feature development. Unprops pento. See #25639
git-svn-id: https://develop.svn.wordpress.org/trunk@26644 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:23:02 +00:00
Lance Willett 51c975e409 Twenty Fourteen: minor code cleanup in Customizer file, props obenland. Fixes #26414.
git-svn-id: https://develop.svn.wordpress.org/trunk@26643 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:08:59 +00:00
Lance Willett 3039fb9903 Twenty Fourteen: add visual divider lines to child list items in widgets. Props iamtakashi, fixes #26415.
git-svn-id: https://develop.svn.wordpress.org/trunk@26642 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:05:42 +00:00