Andrew Nacin
195465ce38
Remove screenshotGallery. see #25948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26728 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 17:10:38 +00:00
Andrew Nacin
64d63704ab
POT file update for Twenty Fourteen. see #26437 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26727 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 16:35:26 +00:00
Andrew Nacin
b9cb349dc0
No-JavaScript and no-Customizer support for the new Themes screen.
...
JavaScript is rarely disabled, but graceful degradation is still important. For example, syntax errors can occur, usually with major WP updates that overhaul entire experiences and update external libraries combined with themes or plugins doing weird or old things. If this error is due to their current theme, a user needs to be able to access the themes screen to switch away from the theme. A more subtle issue could make things painful to diagnose.
This commit renders the grid in PHP (the template is duplicated, but it lightweight, fairly mundane, and easy to sync). On Backbone render, the grid is then re-rendered from JavaScript so searches can occur. Customize and Live Preview is disabled if JS fails to kick in. If JS is disabled, old-school "Preview" links are displayed.
No-Customizer support: The customizer is only supported when the browser supports postMessage (IE8+), and if the frontend is a different domain, CORS (IE10+). We use the .hide-if-no-customize class for this. Pre-customize "Preview" links should use .hide-if-customize.
The .load-customize class should be used to declare a link that opens the customizer. This enables customize-loader.js to intercept this link and load the customizer on top of the current window, making for a smoother experience.
fixes #25964 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26726 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 16:10:25 +00:00
Andrew Nacin
efed19d3df
Map old -width theme tags to new -layout tags for the purposes of translation in the admin.
...
see #21442 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26725 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 14:36:07 +00:00
Andrew Nacin
ae61a2bc98
Use p.description instead of <small> on the discussion settings page. see #26441 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26724 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 14:21:15 +00:00
Andrew Nacin
4700feee1a
Un-translate all of the about page strings so translators don't start working on incomplete copy. see #26387 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26723 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 14:19:35 +00:00
Andrew Nacin
bc7dd7debb
Add icon to the help button in distraction-free writing.
...
props ocean90.
fixes #26450 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26722 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 14:10:03 +00:00
Matt Thomas
d47fbed75c
Switch this header on the ABout page from title case to sentence case to match the style of all other headers on the page. See #26387 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26721 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 12:36:47 +00:00
Matt Thomas
c4d923ae42
Slight adjustment to centered headlines in About page. See #26387 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26720 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 12:32:48 +00:00
Matt Thomas
ef3b7be8e8
Updates to the About page:
...
- Better screenshots
- Align screenshots with the dividers between sections
- Increase body text size
- Add a mention of Twenty Fourteen by name
- i18nalize 'Now with more color'
- Replace ’ with ’
See #26387 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26719 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 12:15:59 +00:00
Matt Thomas
4362bf3fa8
Committing a first pass at a new About page for 3.8. See #26387 , props melchoyce.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26718 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 07:49:05 +00:00
Matt Thomas
7afd6ce8b4
Correct the direction of arrow icons when comparing revisions in RTL. Fixes #26439 , props adamsilverstein.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26717 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 07:20:25 +00:00
Matt Thomas
3cf585f1d3
Make toolbar dropdown submenu links tappable. See #25972 , props ninnypants.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26716 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 05:27:19 +00:00
Matt Thomas
6384a83e5f
Keep draggable panels from interfering with swipe scrolling on touch devices running Internet Explorer 10/11. Fixes #26297 , props georgestephanis.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26715 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 04:43:23 +00:00
Lance Willett
d6e06a2ee5
Bundled Themes: pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26714 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 02:22:14 +00:00
Lance Willett
4bd180f8e9
Twenty Fourteen: minor fixes to main and RTL CSS files' table of contents.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26713 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 02:21:59 +00:00
Matt Thomas
21cd81e21b
Hide the 'Dismiss' label in the dashboard welcome panel at smartphone sizes, so the close link doesn't overlap the Welcome headline. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26712 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 01:15:33 +00:00
Matt Mullenweg
2dab52c306
Add and display new tags to highlight the ever-growing number of responsive themes available. Fixes #21442 .
...
Props Otto42 and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@26711 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 01:06:04 +00:00
Matt Thomas
764e70948b
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 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26710 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 01:01:40 +00:00
Matt Thomas
c962d1d79f
Fix the positioning of arrow icons in the slider buttons in Revisions. See #26439 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26709 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 00:42:36 +00:00
Andrew Nacin
eb0406a401
Themes: Switch to a text overlay instead of an icon on hover. Numerous reasons outlined in the ticket.
...
props shaunandrews.
fixes #26440 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26708 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:42:05 +00:00
Andrew Nacin
0bfdd9f189
Remove redundant closure for such a simple file. see #26445 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26707 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:39:47 +00:00
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