Andrew Nacin
e1c50ac689
Twenty Fourteen: Wait for DOM ready in the customizer, which was breaking IE8.
...
props ocean90.
fixes #26445 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26706 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:38:47 +00:00
Andrew Nacin
e159b7b28a
Unit Tests: Avoid using mime_content_type() as it fails miserably in PHP 5.2.
...
props bpetty.
fixes #26155 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26705 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:36:50 +00:00
Andrew Nacin
a7ee089f6f
Fix various i18n issues on the dashboard. Limits it to posts and pages only for 3.8.
...
props SergeyBiryukov, dimadin.
fixes #26066 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26704 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:33:48 +00:00
Andrew Ozz
5454336667
Widgets: jshint cleanup of widgets.js, see #25821 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26703 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:13:22 +00:00
Andrew Nacin
beb2c296b8
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26702 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:12:59 +00:00
Andrew Nacin
f21d937706
Fix z-indexes as it relates to thickbox, the theme modal, and admin menu.
...
props ryelle, shaunandrews.
fixes #26442 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26701 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:09:23 +00:00
Andrew Nacin
b7de614f71
Restore "Search Engines Discouraged" to the dashboard.
...
props JustinSainton.
fixes #26431 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26700 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:04:46 +00:00
Lance Willett
c38af94bc3
Twenty Fourteen: remove unneeded code from image template, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26699 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:50:36 +00:00
Lance Willett
55725de979
Twenty Fourteen: remove redundant parentheses and translation wrapper, see #25946 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26698 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:46:50 +00:00
Andrew Nacin
fa6cb8145f
Dashboard: Rename the Site Content widget (née Right Now) to At a Glance.
...
see #25824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26697 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:37:33 +00:00
Andrew Nacin
3831c95a04
Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.
...
fixes #25821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26696 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:26:45 +00:00
Andrew Nacin
ddc9ed51e8
Widgets: Only scroll to the newly clicked-and-added widget if it is out of the viewport.
...
props shaunandrews.
see #25821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26695 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:21:15 +00:00
Lance Willett
7ee0d2c59c
Twenty Fourteen: remove invalid rel
attributes from post thumbnail output, and fix a CSS typo. See #25946 and #25325 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26694 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:08:45 +00:00
Andrew Nacin
aa65527319
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26693 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:00:17 +00:00
Andrew Nacin
74d3e9103e
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26692 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 21:29:37 +00:00
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