Commit Graph

24647 Commits

Author SHA1 Message Date
Andrew Nacin
e197455f76 Revert accidental change to Gruntfile.js in [26767].
git-svn-id: https://develop.svn.wordpress.org/trunk@26771 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 06:00:34 +00:00
Matt Thomas
11236ceb8e Comment out these touch-related styles as they break toolbar dropdowns in Chrome for Android. Fixes #25972.
git-svn-id: https://develop.svn.wordpress.org/trunk@26770 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 04:58:35 +00:00
Matt Thomas
1973572006 Nudging a few pixels that were out of place. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26769 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 03:31:58 +00:00
Matt Thomas
deda30aaeb Making some adjustments to the hero screenshot image on the About page, see #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26768 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 03:28:33 +00:00
Ryan Boren
85d5a58809 Make the Backbone routes pushSTate capable with ?theme=themename type urls instead of hashes. Same applies to search queries.
Props adamsilverstein, nacin
fixes #25963


git-svn-id: https://develop.svn.wordpress.org/trunk@26767 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 03:10:44 +00:00
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
Lance Willett
77537cae6a Twenty Fourteen: clean up PHP braces style in page templates. Closes #26467.
git-svn-id: https://develop.svn.wordpress.org/trunk@26761 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 00:53:33 +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
9e52834fd0 Twenty Fourteen: Remove stray slash.
props Ipstenu.
fixes #26467.


git-svn-id: https://develop.svn.wordpress.org/trunk@26757 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:48:19 +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
Dominik Schilling (ocean90)
6b159da845 Dashicons: Update to the latest dashicons files.
props empireoflight, melchoyce.
fixes #26362.

git-svn-id: https://develop.svn.wordpress.org/trunk@26755 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:45:22 +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
Andrew Nacin
f2be10ef2a Updates to Dashicons classes.
props melchoyce.
fixes #26227.


git-svn-id: https://develop.svn.wordpress.org/trunk@26752 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:11:41 +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
Lance Willett
8cbb6c82af Bundled themes: new screenshots at 880x660 to maximize theme goodness in the new theme viewer design. See #26159.
git-svn-id: https://develop.svn.wordpress.org/trunk@26749 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 22:06:30 +00:00
Dominik Schilling (ocean90)
af9148c053 RTL: Don't flip thumbnail positions in Insert Media window.
Restores pre-3.8 behavior.

props siobhyb for the initial patch.
fixes #26461.

git-svn-id: https://develop.svn.wordpress.org/trunk@26748 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:45:01 +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
Andrew Nacin
a05083f3a4 Gruntfile: Prevent -rtl-rtl.css stylesheets when running cssjanus on colors. fixes #26315.
git-svn-id: https://develop.svn.wordpress.org/trunk@26745 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:23:21 +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
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