Commit Graph

24606 Commits

Author SHA1 Message Date
Andrew Nacin 6e1d73c39d Admin color schemes: Manually handle RTL and minified versions of the CSS files on registration.
This bypasses WP_Styles entirely, which is much simpler for the moment, given that color schemes bypass WP_Styles for plenty already. The script loader is told to stop thinking of colors.css as an RTL-ified file. The colors-fresh handle, used directly on the login screen, needed to be (even before this commit).

fixes #26316.


git-svn-id: https://develop.svn.wordpress.org/trunk@26780 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 09:04:02 +00:00
Matt Thomas 06747b5101 Fix a missing drop shadow on about-colors, make sure screenshot lines up with columns below in about-overview. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26779 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 08:06:23 +00:00
Andrew Nacin b08c4c109d Fix JSHint errors and remove unreachable code. props adamsilverstein. see #25963.
git-svn-id: https://develop.svn.wordpress.org/trunk@26778 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:51:35 +00:00
Andrew Nacin 1524eaf8ce Freedoms/Credits: Allow for big first paragraphs, overridden by the font-size change in [26719]. Reduced slightly to prevent wrapping on freedoms.
see #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26777 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:48:51 +00:00
Andrew Nacin e41692153c Core updates for the new color schemes.
* Update about page, there's now 8.
 * Display them four wide, not three, and ensure adequate spacing.
 * Use a dedicated nonce.
 * Push Light to the front in addition to Default.
 * Use user-profile.js on about.php. A few extra things are initialized but they are harmless.

see #26468, #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26776 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:45:57 +00:00
Matt Thomas 5f8a1695cc Updated about page screenshots with more colors, updated typography shot, simplified hero screenshot of desktop browser. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26775 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:45:40 +00:00
Andrew Nacin 8139497795 Sync new about.php "Thank you" line with freedoms and credits.
props rickalee.
fixes #26472.


git-svn-id: https://develop.svn.wordpress.org/trunk@26774 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:36:09 +00:00
Andrew Nacin 91d6f455c6 Add four more color schemes to round out our collection at eight.
The new schemes are Ectoplasm, Coffee, Ocean, Sunrise. For those following along, the first three were at one point named Ghostbusters, Pixel, and Cape Cod.

See [26137] for the original color schemes.

props ryelle, melchoyce, drw158, littlethingsstudio.
fixes #26468. see #25858, #22862.


git-svn-id: https://develop.svn.wordpress.org/trunk@26773 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:25:08 +00:00
Matt Thomas 05735491d4 Eliminate right padding on .wp-menu-name, see #26452.
git-svn-id: https://develop.svn.wordpress.org/trunk@26772 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 06:28:16 +00:00
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