Commit Graph

24572 Commits

Author SHA1 Message Date
Matt Thomas
dc05d0530b Hide the 'Dismiss' label in the dashboard welcome panel at smartphone sizes, so the close link doesn't overlap the Welcome headline. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26712


git-svn-id: http://core.svn.wordpress.org/trunk@26601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:16:11 +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
Matt Thomas
4352cd7a12 At responsive sizes, remove the hard-coded fixed positioning for Comments and Add New in the toolbar. Make links slightly wider to better fill small-screen devices. Fixes #26432.
Built from https://develop.svn.wordpress.org/trunk@26710


git-svn-id: http://core.svn.wordpress.org/trunk@26599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:02:12 +00:00
Matt Thomas
328a393f69 Fix the positioning of arrow icons in the slider buttons in Revisions. See #26439.
Built from https://develop.svn.wordpress.org/trunk@26709


git-svn-id: http://core.svn.wordpress.org/trunk@26598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 00:43:10 +00:00
Andrew Nacin
d1dcd30c5f Themes: Switch to a text overlay instead of an icon on hover. Numerous reasons outlined in the ticket.
props shaunandrews.
fixes #26440.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:43:11 +00:00
Andrew Nacin
b7c5823bbf Remove redundant closure for such a simple file. see #26445.
Built from https://develop.svn.wordpress.org/trunk@26707


git-svn-id: http://core.svn.wordpress.org/trunk@26596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:40:11 +00:00
Andrew Nacin
b1addd78ca Twenty Fourteen: Wait for DOM ready in the customizer, which was breaking IE8.
props ocean90.
fixes #26445.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:39:11 +00:00
Andrew Nacin
8a2accaa41 Fix various i18n issues on the dashboard. Limits it to posts and pages only for 3.8.
props SergeyBiryukov, dimadin.
fixes #26066.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:34:11 +00:00
Andrew Ozz
765b617a8c Widgets: jshint cleanup of widgets.js, see #25821.
Built from https://develop.svn.wordpress.org/trunk@26703


git-svn-id: http://core.svn.wordpress.org/trunk@26593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:14:09 +00:00
Andrew Nacin
e7f80a8fad Customizer: Revert [26548], removing _.isEqual() for proper object comparison.
This broke the customizer in IE 11, with possibly other side effects. Revisit in 3.9.

Also reverts [26632].

see #26061 (reopens), fixes #26438.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:13:10 +00:00
Andrew Nacin
1a34e361ac Fix z-indexes as it relates to thickbox, the theme modal, and admin menu.
props ryelle, shaunandrews.
fixes #26442.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:10:11 +00:00
Andrew Nacin
8de0c10bb9 Restore "Search Engines Discouraged" to the dashboard.
props JustinSainton.
fixes #26431.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:05:10 +00:00
Lance Willett
6d4eca6cdf Twenty Fourteen: remove unneeded code from image template, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26699


git-svn-id: http://core.svn.wordpress.org/trunk@26589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:51:11 +00:00
Lance Willett
3e24cf1636 Twenty Fourteen: remove redundant parentheses and translation wrapper, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26698


git-svn-id: http://core.svn.wordpress.org/trunk@26588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:47:10 +00:00
Andrew Nacin
4a3e2f84b9 Dashboard: Rename the Site Content widget (née Right Now) to At a Glance.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:38:11 +00:00
Andrew Nacin
d0e4753aef Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.
fixes #25821.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:27:11 +00:00
Andrew Nacin
b8882b3511 Widgets: Only scroll to the newly clicked-and-added widget if it is out of the viewport.
props shaunandrews.
see #25821.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:22:11 +00:00
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