Commit Graph

24568 Commits

Author SHA1 Message Date
Matt Thomas
092ee69e61 Add missing about.color-schemes.png. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26742 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 20:16:19 +00:00
Andrew Nacin
292391081a Dashboard: Restore a line that vanished from my editor to print recently published posts. Also fix an off-by-one error.
see [26704]. see #26066.


git-svn-id: https://develop.svn.wordpress.org/trunk@26741 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 20:12:10 +00:00
Andrew Nacin
c45f49f2aa Revert Twenty Ten's original screenshot. Was using Kubrick to test [26738]. I hope this gave lancewillett a laugh. see #26459.
git-svn-id: https://develop.svn.wordpress.org/trunk@26740 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:52:18 +00:00
Andrew Nacin
adbe0f1e1e Themes: Adjust screenshot ratios.
* On the details overlay, always show the full 4/3 ratio.
 * On the grid, reduce to ~3/2 only if the screen width is less than 1400px. Otherwise, show the screenshot at 4/3 ratio.

props matveb, nacin.
fixes #26159.


git-svn-id: https://develop.svn.wordpress.org/trunk@26739 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:50:06 +00:00
Andrew Nacin
63ad0a71d4 Themes: If a theme only has a very-old-school 300px-wide screenshot (or narrower), don't stretch it.
props matveb.
fixes #26459.


git-svn-id: https://develop.svn.wordpress.org/trunk@26738 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:41:19 +00:00
Matt Thomas
79cb3cf3ce Updates to the About page:
* A live color scheme preview
* Replace the hard-coded version number
* Copy edits
* New screenshots
* Size adjustments to the header and WP badge
* Capitalize 'Open Sans'

See #26387, props markoheijnen, ryelle, siobhan, melchoyce.



git-svn-id: https://develop.svn.wordpress.org/trunk@26737 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:35:25 +00:00
Drew Jaynes
439c61a1ba Inline documentation fixes for hooks and functions introduced in 3.8.0.
git-svn-id: https://develop.svn.wordpress.org/trunk@26736 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:17:35 +00:00
Matt Thomas
642293800b Add new fit-content rules to accompany intrinsic width on adminbar dropdown wrappers. Fixes #26430, props Jayjdk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26735 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:15:31 +00:00
Andrew Nacin
bb59e40a22 Core updates: Explicitly call wp_cache_delete() after a DB upgrade, as not all cache backends allow the entire backend to be flushed.
props dd32.
fixes #26173.


git-svn-id: https://develop.svn.wordpress.org/trunk@26734 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:59:29 +00:00
Matt Thomas
8aa177267e Ensure that disabled select elements are distinguishable from normal ones. Fixes #26456, props TobiasBg.
git-svn-id: https://develop.svn.wordpress.org/trunk@26733 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:49:56 +00:00
Drew Jaynes
86282508aa Inline documentation fixes for wp_heartbeat_set_suspension().
See #25073.


git-svn-id: https://develop.svn.wordpress.org/trunk@26732 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:42:50 +00:00
Andrew Nacin
bab3a29a8e Add back CSS rules for RTL resize handles.
Disable CSSJanus' swapLtrRtlInUrl option, as we currently don't use it otherwise (and it breaks this if left on).

props ocean90.
fixes #26449.


git-svn-id: https://develop.svn.wordpress.org/trunk@26731 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:34:05 +00:00
Andrew Nacin
6717db61d9 Themes: Set a max-width on screenshots so they don't get blurry at very wide screen widths.
props matveb.
fixes #26172.


git-svn-id: https://develop.svn.wordpress.org/trunk@26730 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 18:30:05 +00:00
Andrew Nacin
be177ef23c Twenty Fourteen: Remove unused and untoggled no-js class.
props johnbillion.
fixes #26453.


git-svn-id: https://develop.svn.wordpress.org/trunk@26729 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 17:15:52 +00:00
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 &rsquo; with &#8217;

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