Commit Graph
4063 Commits
Author SHA1 Message Date
Matt Thomas f0b584637d Provide a bit more horizontal space for .wp-menu-name. See #26452.
git-svn-id: https://develop.svn.wordpress.org/trunk@26766 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 02:02:55 +00:00
Andrew Nacin 08c059e8d0 Themes: Ensure the image returns a width before checking that it is less than 300px.
see #26459.


git-svn-id: https://develop.svn.wordpress.org/trunk@26765 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 01:58:23 +00:00
Andrew Nacin 5e55c77f89 Use   instead of   as it's more familiar to translators.
See #26387, [26760].


git-svn-id: https://develop.svn.wordpress.org/trunk@26764 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 01:33:34 +00:00
Matt Thomas 4ceb9b380d Copy edits to the About page:
- Open Sans is Open Source, so it can't meet Open Source
- 'icons and graphics' is redundant
- Let's not overuse 'beautiful'
- Choose > pick so we don't use 'choose' twice in the same line

See #26387.



git-svn-id: https://develop.svn.wordpress.org/trunk@26763 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 01:17:56 +00:00
Andrew Nacin 9f6f615dd6 Use wp_specialchars_decode() in the upgrade debugging email subject, same as the production email.
props markoheijnen.
fixes #26471.


git-svn-id: https://develop.svn.wordpress.org/trunk@26762 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 01:14:43 +00:00
Matt Thomas 7fb7214d54 Use non-breaking spaces before the last word in headlines to prevent widows when wrapping at responsive sizes. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26760 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 00:52:03 +00:00
Andrew Nacin bed7328d1d Update the help text on themes.php. The Install Themes tab is now an Add New button.
props ethitter.
fixes #26285.


git-svn-id: https://develop.svn.wordpress.org/trunk@26759 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 00:44:15 +00:00
Andrew Nacin 2c16db49b1 Translator's comment for a date_i18n() string.
props netweb.
fixes #26470.


git-svn-id: https://develop.svn.wordpress.org/trunk@26758 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 00:37:13 +00:00
Andrew Nacin ee56a8dcb3 Proper CSS specificity for columns-based dashboard grids.
props kovshenin.
fixes #26354.


git-svn-id: https://develop.svn.wordpress.org/trunk@26756 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:46:46 +00:00
Matt Thomas 6cdfceddcd On the About page: comprise > compromise, assuming that this is a typo. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26754 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:35:30 +00:00
Andrew Nacin 426dbc083c Themes: Avoid overlap with themes with small screenshots and no description.
props matveb.
fixes #26465.


git-svn-id: https://develop.svn.wordpress.org/trunk@26753 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:15:23 +00:00
Matt Thomas 8f161aa20c I believe we're consistent about capitalizing Open Source elsewhere. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26751 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 22:21:31 +00:00
Matt Thomas e53367f05f Visual refinements to the About page and screenshots. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26750 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 22:17:12 +00:00
Andrew Nacin 520baebefd Themes: Final gutter and breakpoint adjustments.
props matveb.
fixes #26462.


git-svn-id: https://develop.svn.wordpress.org/trunk@26747 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:26:34 +00:00
Matt Thomas b9893b491c Adding autosave for color schemes and removing RTL handling. See #26387, props ryelle.
git-svn-id: https://develop.svn.wordpress.org/trunk@26746 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:25:31 +00:00
Matt Thomas 5112fe565a Provide a default generic avatar icon in the My Account menu if avatars are disabled, ensuring that the link is visible at responsive sizes. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26744 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:22:14 +00:00
Andrew Ozz 98b9246261 Responsive menu: fix calculation of the responsive trigger width from JS. It is affected by a vertical scrollbar width in some browsers. See #26458.
git-svn-id: https://develop.svn.wordpress.org/trunk@26743 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 20:49:46 +00:00
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 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
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 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 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
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 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
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 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 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 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
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