Commit Graph

976 Commits

Author SHA1 Message Date
Andrew Nacin 3c8de9432f Use the WP.org CDN for About page images. fixes #26534.
git-svn-id: https://develop.svn.wordpress.org/trunk@26845 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 17:32:28 +00:00
Matt Thomas 496e8ed33e Return container shadows to 1px blur as they were pre- r26293. This is a better match for the 1px shadow we use on buttons and screen options. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26841 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 20:20:37 +00:00
Matt Thomas 9690f2119c Adjust the border-color and box-shadow on container elements to match the new f1f1f1 background-color. See #25858, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26840 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:51:09 +00:00
Andrew Ozz f88a7f2a42 Themes: set maximum width for overlay view, props matveb, fixes #26507.
git-svn-id: https://develop.svn.wordpress.org/trunk@26839 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:50:49 +00:00
Andrew Ozz 8f581ae3dc Themes: fix overlays and buttons in responsive mode, props matveb, fixes #26481.
git-svn-id: https://develop.svn.wordpress.org/trunk@26838 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:37:36 +00:00
Matt Thomas 56b3d7ff10 Slightly darkening the page backcground to f1f1f1 for better contrast with white interface elements on top of it. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26837 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:27:19 +00:00
Matt Thomas 5db17ddf5d In Press This, extend the sidebar for ru_RU. Fixes #26508, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26836 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:22:28 +00:00
Matt Thomas 7aa76b7390 Increase the height of the Add Photos box in Press This to prevent unnecessary scrolling. Fixes #26506, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26835 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:15:24 +00:00
Matt Thomas fc676240c9 Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26834 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:13:56 +00:00
Matt Thomas 1bc3fe3a25 Add line height to #commentstatusdiv p so that its checkboxes get some padding between them at responsive sizes. Fixes #26499, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26833 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:11:36 +00:00
Andrew Nacin 6c96d3e787 Introduce dashboard_glance_items filter which replaces 3.7 right_now_* hooks that were tied to table markup.
fixes #26495.


git-svn-id: https://develop.svn.wordpress.org/trunk@26832 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:11:23 +00:00
Matt Thomas 3aa85a6524 Eliminate the padding on #titlediv #title to prevent characters with descenders getting cropped in some browsers. Fixes #26509, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26830 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:08:37 +00:00
Andrew Nacin 9d4bf2730f Final text adjustments to the 3.8 About page. Also:
* Offload screenshots to WP.org, as we had done in 3.6.
 * Offer strings for translation.
 
props markjaquith, nacin.
fixes #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26829 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:08:05 +00:00
Andrew Nacin f400984fec Fix typo in help string. props kpdesign. fixes #25688.
git-svn-id: https://develop.svn.wordpress.org/trunk@26828 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 15:37:55 +00:00
Andrew Nacin 0fff0660b4 Themes: use explicit 'search installed themes' label and placeholder.
fixes #26496.


git-svn-id: https://develop.svn.wordpress.org/trunk@26827 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 07:40:56 +00:00
Andrew Nacin 98824e94de Themes: Avoid a JS error in the keyup event handler when the overlay is not yet initialized.
fixes #26497.


git-svn-id: https://develop.svn.wordpress.org/trunk@26826 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 07:06:15 +00:00
Andrew Nacin 8a3b39e1a6 Tighten up the help documentation on the updates page, and add a section for updating translations. see #25688.
git-svn-id: https://develop.svn.wordpress.org/trunk@26825 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 06:46:59 +00:00
Matt Thomas 8e17a73114 Specify transition: none on plugin information dialog tabs to keep them from jump jumping around. Fixes #26498.
git-svn-id: https://develop.svn.wordpress.org/trunk@26824 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 06:30:33 +00:00
Matt Thomas 0d3b2f9925 Provide an SVG > PNG fallback for the WordPress logo on readme.html. See #26348.
git-svn-id: https://develop.svn.wordpress.org/trunk@26823 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 05:34:47 +00:00
Andrew Ozz 572e5bc710 Fix error in postbox.js attempting to change screen columns on mobile devices orientation changes, fixes #26493.
git-svn-id: https://develop.svn.wordpress.org/trunk@26822 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 04:20:26 +00:00
Helen Hou-Sandi 5b05610ade Remove many of the now-unused images in core. Some images have been left for now, notably our previous style icons, action indicators, and images that see a higher frequency of use in plugins to allow them more time to adapt to the new design. props ocean90, Ipstenu, coffee2code. fixes #26036.
git-svn-id: https://develop.svn.wordpress.org/trunk@26821 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 03:20:46 +00:00
Matt Thomas 40e9b4088d Add widgets page draggable/sortable items to -ms-touch-action rules for proper touch scrolling in IE 10 and 11.
git-svn-id: https://develop.svn.wordpress.org/trunk@26820 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:56:39 +00:00
Andrew Ozz 68f9e4db5e Make older mobile browsers and IE7 usable:
- Text labels in the toolbar.
- Image icons in the visual editor.
- Some IE7 structural css fixes.
Fixes #26369.

git-svn-id: https://develop.svn.wordpress.org/trunk@26819 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:40:32 +00:00
Matt Thomas 95ae118435 Updates screen Help page should explain the auto-update feature. Fixes #25688, props jenmylo, trepmal.
git-svn-id: https://develop.svn.wordpress.org/trunk@26818 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:36:08 +00:00
Matt Thomas 8cc927bbb4 Expand adminmenu from 150px to 160px, creating more room for pending comment counts and translated text. Fixes #25918, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26817 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 02:28:36 +00:00
Andrew Nacin b3a432a7fb RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)
props yoavf.
fixes #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26816 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 01:30:08 +00:00
Andrew Nacin e2c2f6a402 Don't set the theme overlay active state in the Theme view, as it overwrites the same work in the Details view.
fixes #26481.


git-svn-id: https://develop.svn.wordpress.org/trunk@26815 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 01:26:26 +00:00
Andrew Nacin 098d6a8504 Avoid notices when default and light are not registered color schemes. see #26468.
git-svn-id: https://develop.svn.wordpress.org/trunk@26814 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:48:15 +00:00
Matt Thomas 9439bb7b4f Expand the Quick Draft section by default. Fixes #26463, props bassgang.
git-svn-id: https://develop.svn.wordpress.org/trunk@26813 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:42:56 +00:00
Matt Thomas 82fe05b560 Ensure that plugins needing updates that aren't activated get their checkbox aligned properly. Fixes #26489, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26811 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:29:31 +00:00
Matt Thomas e7b15e43e2 Use $button-color for .action-button on plugin details thickbox. Fixes #26486, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26809 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 21:12:31 +00:00
Matt Thomas 3b0af54067 Remove 1px margin from post title input so it lines up with the top right-column meta box. Fixes #26483, props ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26807 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 20:26:46 +00:00
Matt Thomas 3a7e0cd3d5 A few updates to the About page
- Updated text on about-overview.png
- Changed about-typography, about-contrast, and about-modern-aesthetics from PNG24 to PNG8, saving 83 KB
- Reluctantly changed about-twentyfourteen from PNG to JPEG, because it saves a whopping 615 KB
- Tweak the headline size and styling of the about-twentyfourteen image to account for its lack of a transparent background.

See #26387.



git-svn-id: https://develop.svn.wordpress.org/trunk@26806 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 20:04:11 +00:00
Dominik Schilling (ocean90) d98b6e1c56 Adjust the active tab colors in the plugin info Thickbox, see [26788], #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26805 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 19:02:40 +00:00
Helen Hou-Sandi 5a23091fe7 Remove duplicated lines in Ectoplasm's .scss file. see #26468.
git-svn-id: https://develop.svn.wordpress.org/trunk@26804 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 17:28:34 +00:00
Sergey Biryukov e2b68b77ef Use correct flag icon color from the chosen color scheme.
props TobiasBg.
fixes #26480.

git-svn-id: https://develop.svn.wordpress.org/trunk@26802 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 14:31:50 +00:00
Drew Jaynes df17c69266 A couple of copy edits for the About page.
See #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26801 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 08:54:33 +00:00
Andrew Nacin a3fa719dc5 About page: Don't load zxcvbn, which is a dependency of an unused piece of user-profile.js.
git-svn-id: https://develop.svn.wordpress.org/trunk@26799 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:27:32 +00:00
Andrew Nacin e74b94d24f Remove image referenced as removed in [26795]. see #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26798 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:26:47 +00:00
Andrew Nacin dac590e063 Move pointer-specific CSS from wp-admin.css to wp-pointer.css.
props ocean90.
fixes #26477.


git-svn-id: https://develop.svn.wordpress.org/trunk@26797 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:16:30 +00:00
Andrew Nacin 261611d555 About screen: Only show the pick-a-color section if there are 2 or more of the eight new color schemes available. And only show the eight core schemes.
This hides the section in develop.svn /src's directory (use /build for colors) and when a plugin is manipulating/unregistering colors. In both situations, which are rare, losing the section is fine.

This removes a fallback image as we were previously showing the section in these cases; the rest of the page shows off the design (and color opportunities) well enough on its own to avoid this confusing section.

see #26387.


git-svn-id: https://develop.svn.wordpress.org/trunk@26795 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:14:00 +00:00
Andrew Nacin 8090ace291 Remove 3.7 about images. see #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26794 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:09:09 +00:00
Andrew Nacin 4ac6742af9 Nonces are already per-user. see #22862.
git-svn-id: https://develop.svn.wordpress.org/trunk@26793 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 07:05:01 +00:00
Matt Thomas 0d855b67e1 Adjusting about-colors.png so it lines up on the grid with images above and below it. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26792 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 05:31:50 +00:00
Matt Thomas 4981f37293 Minor adjustments to the Twenty Fourteen screenshot on the About page. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26791 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 05:18:38 +00:00
Matt Thomas e9c44ca9e8 Correcting the device proportions on the Twenty Fourteen screenshot; see #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26790 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 05:14:19 +00:00
Matt Thomas 7ff3b0ae6b A few more adjustments to about page screenshots, with better sample content. See #26387
git-svn-id: https://develop.svn.wordpress.org/trunk@26789 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 05:07:36 +00:00
Matt Thomas a53275e0d9 A small adjustment to the page background color per yesterday's conversation with nacin, from #eee to #f3f3f3. This retains enough contrast with white widget containers while making for a more comfortable reading experiences on pages that heavily use the default background color, like the About page. A few adjustments to go along with it:
- Horizontal rules on the About page are lighter, to match their previous level of contrast with #eee
- Eliminated the .flush-top class on <hr>s on the About page since we want the styles applied to all About page <hr>s.
- Color schemes should match the bottom border of active tabs to the scheme's body-background variable.
- Lighten the comment background color on the Dashboard activity widget to keep adequate contrast with the new lighter body background.

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26788 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 04:11:20 +00:00
Matt Thomas 4796f394be Updated About page screenshots; better image reduction with sharper text, hiding all browser chrome in device screenshots, correct the proportions of phone and tablet in Twenty Fourteen screenshot. See #26387.
git-svn-id: https://develop.svn.wordpress.org/trunk@26787 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-08 03:23:52 +00:00
Andrew Ozz 76d75b7d22 Fake a "non-responsive" window width for IE < 9 when folding/unfolding the menu (old IE doesn't support @media), fixes #26458.
git-svn-id: https://develop.svn.wordpress.org/trunk@26785 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 18:45:37 +00:00
Andrew Ozz a3eccc31e3 Dashboard: set two columns as default for IE8 (as it doesn't support @media rules), see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26784 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 18:42:06 +00:00
Andrew Nacin 8a4ee4e5dd RTL should use Tahoma, Hebrew should use Arial.
props yoavf.
see #24977.


git-svn-id: https://develop.svn.wordpress.org/trunk@26783 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 16:19:48 +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
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 &nbsp; instead of &#160; 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
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
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
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 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
Helen Hou-Sandi 3706de38db Bring screen reader shortcuts and image edit controls in line with admin design. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26677 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:16:18 +00:00
Helen Hou-Sandi c27c592062 Lovingly restore corners that had previously been nibbled upon by a mouse. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26676 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:06:44 +00:00
Matt Thomas f2200af9f2 Line up ALL the things:
* Make folded adminmenu icons line up with the W icon in the toolbar
* Make the W link in the toolbar the same width as the folded adminmenu
* Reduce padding on toolbar links to match reduced padding between W and Globe icons
* Reduce right-side padding on toolbar links to account for 1px of extra padding around icons on the left

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26675 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:02:33 +00:00
Helen Hou-Sandi df454bb0b6 More targeted background image styling for admin menu SVG icons. fixes #25147.
git-svn-id: https://develop.svn.wordpress.org/trunk@26671 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:52:48 +00:00
Andrew Nacin 1ac4bceecd Define globals and add semicolons to wp-fullscreen.js.
`grunt jshint` now runs clean for WordPress core!

props mattwiebe.
fixes #26029.


git-svn-id: https://develop.svn.wordpress.org/trunk@26667 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 16:04:59 +00:00
Andrew Nacin 006045395c Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons.
Both of these icons can be colored to match the color scheme, including hover states.
Both are accepted for register_post_type()'s menu_icon argument, and also add_menu_page()'s $icon_url argument.

To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.
To use an SVG, pass a valid data URI string starting with 'data:image/svg+xml;base64,'.

props helen.
fixes #25147.


git-svn-id: https://develop.svn.wordpress.org/trunk@26664 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:37:20 +00:00
Andrew Nacin f883e31e3c Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
props matveb.
fixes #25962.


git-svn-id: https://develop.svn.wordpress.org/trunk@26660 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:56:48 +00:00
Matt Mullenweg cdbcccf498 Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
Props lancewillett.



git-svn-id: https://develop.svn.wordpress.org/trunk@26658 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 03:48:36 +00:00
Helen Hou-Sandi 679fb7dddb Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26656 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:36:35 +00:00
Andrew Nacin e75582f9c8 Themes: When only one theme is available, show just the details view.
Only one theme may be available when no other themes are allowed (multisite), no other themes are installed, or when the user is denied the switch_themes capability but still has edit_theme_options.

props matveb, markjaquith.
see #25962.


git-svn-id: https://develop.svn.wordpress.org/trunk@26652 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:15:59 +00:00
Andrew Ozz f90e3dc450 Widgets: on clicking Add, don't move the chooser out of the widget early as that makes is visible at the bottom of the screen. Remove the cloned copy of it instead. Part-props jeremyfelt, fixes #26417.
git-svn-id: https://develop.svn.wordpress.org/trunk@26651 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:01:42 +00:00
Andrew Ozz 2d254241c7 DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934.
git-svn-id: https://develop.svn.wordpress.org/trunk@26649 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:50:05 +00:00
Drew Jaynes ba4187de33 Hook docs fixes following [26645].
See #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26648 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:31:21 +00:00
Andrew Nacin 8b29fa45f7 westi forgot my full stop. see #23569.
git-svn-id: https://develop.svn.wordpress.org/trunk@26641 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:56:29 +00:00
Peter Westwood d78778e51f Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26640 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:53:59 +00:00
Andrew Nacin 7750ea96cd Allow HTML in the theme name for the themes.php template.
props matveb.
fixes #26411.


git-svn-id: https://develop.svn.wordpress.org/trunk@26638 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:40:20 +00:00
Matt Thomas fcce7b1a20 Remove unneeded transition styles on adminmenu links that make the transition between expanded and collapsed menubars choppy in Safari and Chrome. Fixes #26406.
git-svn-id: https://develop.svn.wordpress.org/trunk@26637 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:39:02 +00:00
Helen Hou-Sandi 17c5e87089 Remove more references to MP6 and standardize on `.wp-ui-*` for prefixed generic class names. props nacin, kovshenin, fixes #26263.
git-svn-id: https://develop.svn.wordpress.org/trunk@26635 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:15:59 +00:00
Sergey Biryukov 86d9ba6ada Avoid a PHP notice on Edit Menus screen when a menu is attached to a non-existing location.
props nofearinc.
fixes #26287.

git-svn-id: https://develop.svn.wordpress.org/trunk@26634 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:36:10 +00:00
Matt Thomas ceb5e97102 Add more columns in the theme browser on screens over 2000px wide to ensure that theme screenshots never appear larger than their resolution allows. Fixes #26172, props shaunandrews.
git-svn-id: https://develop.svn.wordpress.org/trunk@26633 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:31:24 +00:00
Drew Jaynes 98fe4a5aed Hook docs pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@26631 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:02:53 +00:00
Andrew Nacin bda43fd107 Pinking shears. see #26086 props atimmer.
git-svn-id: https://develop.svn.wordpress.org/trunk@26627 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:33:45 +00:00
Andrew Nacin 9194c6593e Add wp_prepare_themes_for_js filter to wp_prepare_themes_for_js().
props kovshenin.
fixes #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26625 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:20:10 +00:00
Matt Thomas 4188b67398 Prevent the spinner from bumping the Cancel button to a new line in de_DE and ru_RU. Fixes #21890; props SergeyBiryukov, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26624 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:14:40 +00:00
Andrew Nacin fe7bfcdf9c Return some semicolons. fixes #25594.
git-svn-id: https://develop.svn.wordpress.org/trunk@26623 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:07:40 +00:00
Andrew Nacin 26fcb00dd8 RTL fix for themes.php. props yoavf. fixes #26405.
git-svn-id: https://develop.svn.wordpress.org/trunk@26622 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:57:07 +00:00
Andrew Ozz 44024c21be Revert [26618], no longer needed after reverting [26593], also fails to remove a border-top from .widget-inside when the widget is in a sidebar. See #26391.
git-svn-id: https://develop.svn.wordpress.org/trunk@26621 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:53:30 +00:00
Matt Thomas 5215809f2a Allow error messages to push the adminmenu down. Fixes #26312, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26620 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:50:25 +00:00
Matt Thomas 24240d260c Ensure that .widget-inside gets the necessary interior padding regardless of its containing element. Fixes #26391, props cainm.
git-svn-id: https://develop.svn.wordpress.org/trunk@26618 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:16:38 +00:00
Andrew Nacin 6cad5246df Include columns-# CSS class in wp_dashboard() for when the screen supports it.
props westi.
fixes #26354.


git-svn-id: https://develop.svn.wordpress.org/trunk@26617 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:27:34 +00:00
Matt Thomas c4849c6307 Improve the styling of browser file input controls. Fixes #26393.
git-svn-id: https://develop.svn.wordpress.org/trunk@26615 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:20:13 +00:00
Andrew Nacin 8faee176db Nav Menu admin: Suppress outlines on expand/collapse arrows. fixes #26398.
git-svn-id: https://develop.svn.wordpress.org/trunk@26614 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:15:36 +00:00
Andrew Nacin 1913b4c665 Nav Menus: Delegate click events for move links.
props ankit.gade.
fixes #25594.


git-svn-id: https://develop.svn.wordpress.org/trunk@26613 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:09:20 +00:00
Andrew Nacin 3dcc14f58c Restore original properties of the right now (activity) and primary (news) dashboard widgets.
This avoids issues with those trying to remove/disable core meta boxes.

fixes #26392.


git-svn-id: https://develop.svn.wordpress.org/trunk@26611 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:55:58 +00:00
Matt Thomas 71588c2933 Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26608 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:30:05 +00:00
Helen Hou-Sandi 55d4555b68 Utilize a more widely-adopted CSS method for hiding screen reader text, as seen in projects like jQuery UI and HTML5 Boilerplate. props codebykat for the initial patch. fixes #23684, #26107.
git-svn-id: https://develop.svn.wordpress.org/trunk@26602 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:31:13 +00:00
Andrew Ozz 93a5bff7a7 Svg-painter:
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333.

git-svn-id: https://develop.svn.wordpress.org/trunk@26601 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:12:41 +00:00
Andrew Nacin fdc32636fa Rename the new custom-background arguments passed to add_theme_support().
* background-position becomes default-position-x
 * background-attachment becomes default-attachment
 * background-repeat becomes default-repeat

These are in line with existing default-image and default-color arguments, and also makes the position argument unambiguous and forwards compatible.

fixes #20816.


git-svn-id: https://develop.svn.wordpress.org/trunk@26594 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:35:26 +00:00
Matt Thomas 933a5f252f Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327, props MikeHansenMe.
git-svn-id: https://develop.svn.wordpress.org/trunk@26593 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:31:37 +00:00
Matt Thomas 3ce67886f4 Ensure that theme customizer buttons don't overlap on small screens; allow small-screen theme popup to use the full height of the viewport since the adminmenu is no longer fixed; ensure that buttons in the theme customizer wrap as efficiently as they can on mobile. Fixes #26361, props mattheu, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26592 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:13:14 +00:00
Andrew Nacin 57bede1005 Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
props jdgrimes.
fixes #26068.


git-svn-id: https://develop.svn.wordpress.org/trunk@26590 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:11:21 +00:00
Matt Thomas 8722b53c96 Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226.
git-svn-id: https://develop.svn.wordpress.org/trunk@26584 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:28:50 +00:00
Matt Thomas a8a4ce9f0d Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348, props SergeyBiryukov, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26583 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:11:22 +00:00
Matt Thomas 768fd40c04 Correct the alignment of Activate and Live Preview buttons in responsive Themes page. Fixes #26373, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26582 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:03:45 +00:00
Andrew Nacin f38ae9cc6c Use jQuery.prop('checked') instead of jQuery.attr.
props Frank Klein.
fixes #26378.


git-svn-id: https://develop.svn.wordpress.org/trunk@26571 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:20:19 +00:00
Andrew Nacin 2cb2a1b86e Rename colors-fresh.css to colors.css. fixes #26137.
git-svn-id: https://develop.svn.wordpress.org/trunk@26570 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:15:52 +00:00
Andrew Nacin f627d23555 In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
props fliespl.
fixes #22134.


git-svn-id: https://develop.svn.wordpress.org/trunk@26566 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:43:52 +00:00
Helen Hou-Sandi 6c3f6cad42 Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053.
git-svn-id: https://develop.svn.wordpress.org/trunk@26564 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:34:46 +00:00
Helen Hou-Sandi 6e77a372e2 Better Dashboard treatment when in no-JS, especially Quick Draft. props georgestephanis, helen. fixes #26376.
git-svn-id: https://develop.svn.wordpress.org/trunk@26563 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:31:33 +00:00
Matt Thomas 8fea99016f Remove unnecessary padding on welcome panel icons at responsive sizes. Fixes #26374, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26554 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 16:21:23 +00:00
Dion Hulse 49c57fa9b9 Themes: Update the CSS definitions in the SCSS files to be as specific as the base CSS rules. See #25948, #25966
git-svn-id: https://develop.svn.wordpress.org/trunk@26551 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 02:10:29 +00:00
Andrew Ozz ba4643f76e Comments moderation screen:
- Don't resize the textarea when replying to long comments.
- Limit the resizing of the textarea when quick-editing long comments to 500px.
Props SergeyBiryukov, fixes #25746.

git-svn-id: https://develop.svn.wordpress.org/trunk@26550 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:54:42 +00:00
Andrew Ozz 75ac2cf131 Heartbeat:
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073.

git-svn-id: https://develop.svn.wordpress.org/trunk@26549 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:44:22 +00:00
Andrew Nacin ea5963f944 Remove @uses from get_screen_icon() / screen_icon(). see #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26541 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:58:57 +00:00
Drew Jaynes 4f78450a25 Inline documentation for hooks in wp-admin/includes/update.php.
Props stevenkword for the initial patches.
Fixes #26252.


git-svn-id: https://develop.svn.wordpress.org/trunk@26540 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:54:24 +00:00
Matt Thomas 44457b54ec Better visual alignment on side-sortables tabs. Fixes #26323, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26539 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 21:43:44 +00:00
Andrew Nacin 85be737cae Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119.
git-svn-id: https://develop.svn.wordpress.org/trunk@26537 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:59:40 +00:00
Matt Thomas 2598e7bd10 Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357.
git-svn-id: https://develop.svn.wordpress.org/trunk@26536 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:45:22 +00:00
Andrew Nacin 16b6b6b8e4 Simplify the color scheme profile saving JS. see #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26535 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:44:50 +00:00
Dominik Schilling (ocean90) f2ca7ece13 Reset responsive styles for the checkbox in auth check window.
props iammattthomas.
fixes #26360.

git-svn-id: https://develop.svn.wordpress.org/trunk@26532 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:00:21 +00:00
Andrew Nacin 0c0a90bfc1 For the current theme, display all available actions, as dictated by the admin menu.
Restores 3.7 behavior. This could include things like Header and Background as well as theme options pages.

see #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26531 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:57:32 +00:00
Andrew Nacin 616eb91d95 Themes: Always include the current theme in the list, even if it is not allowed.
see #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26529 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 18:45:28 +00:00
Matt Thomas 568ba838b7 Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26528 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:58:45 +00:00
Matt Thomas 9fbdcfefbb Adding a SVG > PNG fallback for IE8 support. See #26348.
git-svn-id: https://develop.svn.wordpress.org/trunk@26527 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 17:29:48 +00:00
Dion Hulse dd5f228729 Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26524 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 08:37:58 +00:00
Dion Hulse 4a62bbe5d8 Themes: Standardise on dot notation for object access in the Templates. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26523 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:33:57 +00:00
Dion Hulse ca6e76914f Themes: Remove some HTML from a new string and put it in the replacement value instead. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26522 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:19:40 +00:00
Dion Hulse 63a4a1b10c Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
git-svn-id: https://develop.svn.wordpress.org/trunk@26521 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:15:14 +00:00
Dion Hulse 91b903fb6d Themes: Indent the HTML for proper indentation after r26519 added an extra div. See #25961, #26192
git-svn-id: https://develop.svn.wordpress.org/trunk@26520 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:13:11 +00:00
Dion Hulse 919b03d9ce Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961, #26192
git-svn-id: https://develop.svn.wordpress.org/trunk@26519 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:11:43 +00:00
Andrew Ozz b33d0da84c Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
git-svn-id: https://develop.svn.wordpress.org/trunk@26518 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:52:23 +00:00
Dion Hulse 0ef7e951d6 Themes: Add a updated Help text. Props designsimply & hanni. See #26285
git-svn-id: https://develop.svn.wordpress.org/trunk@26517 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:22:03 +00:00
Andrew Ozz eb2767a578 Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086.
git-svn-id: https://develop.svn.wordpress.org/trunk@26516 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:18:40 +00:00
Dion Hulse 8eedbe32ac Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26515 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 01:50:24 +00:00
Dion Hulse c6e661e84d Themes: We no longer have a delete link on the multi-grid view. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26514 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:54:27 +00:00
Dion Hulse e3d4717077 Themes: Fix the routing for Themes in a sub-directory (/wp-content/themes/prefix/theme-name/style.css) and navigate to hash-url's for searches. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26513 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:47:49 +00:00
Dion Hulse 71bc2a38fa Add braces around a conditional hook. This wasn't causing an issue as `if ( conditional ) /* multiline comment */ command();` is perfectly OK, but left open doubt and potential future bugs. See #25229
git-svn-id: https://develop.svn.wordpress.org/trunk@26509 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 23:12:38 +00:00