Commit Graph

12211 Commits

Author SHA1 Message Date
Matt Thomas
f794822568 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.
Built from https://develop.svn.wordpress.org/trunk@26787


git-svn-id: http://core.svn.wordpress.org/trunk@26674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 03:24:10 +00:00
Andrew Ozz
95a02fbe43 Fake a "non-responsive" window width for IE < 9 when folding/unfolding the menu (old IE doesn't support @media), fixes #26458.
Built from https://develop.svn.wordpress.org/trunk@26785


git-svn-id: http://core.svn.wordpress.org/trunk@26672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 18:46:11 +00:00
Andrew Ozz
7192115dca Dashboard: set two columns as default for IE8 (as it doesn't support @media rules), see #25824.
Built from https://develop.svn.wordpress.org/trunk@26784


git-svn-id: http://core.svn.wordpress.org/trunk@26671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 18:43:11 +00:00
Andrew Nacin
b0d9b30138 RTL should use Tahoma, Hebrew should use Arial.
props yoavf.
see #24977.

Built from https://develop.svn.wordpress.org/trunk@26783


git-svn-id: http://core.svn.wordpress.org/trunk@26670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 16:20:11 +00:00
Matt Thomas
a2aca5cd15 Fix a missing drop shadow on about-colors, make sure screenshot lines up with columns below in about-overview. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26779


git-svn-id: http://core.svn.wordpress.org/trunk@26666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 08:07:11 +00:00
Andrew Nacin
71fa7d8e6c Fix JSHint errors and remove unreachable code. props adamsilverstein. see #25963.
Built from https://develop.svn.wordpress.org/trunk@26778


git-svn-id: http://core.svn.wordpress.org/trunk@26665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:52:11 +00:00
Andrew Nacin
d6ccebf600 Freedoms/Credits: Allow for big first paragraphs, overridden by the font-size change in [26719]. Reduced slightly to prevent wrapping on freedoms.
see #26387.

Built from https://develop.svn.wordpress.org/trunk@26777


git-svn-id: http://core.svn.wordpress.org/trunk@26664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:49:10 +00:00
Andrew Nacin
c09252b950 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.

Built from https://develop.svn.wordpress.org/trunk@26776


git-svn-id: http://core.svn.wordpress.org/trunk@26663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:46:21 +00:00
Matt Thomas
ac0e68e622 Updated about page screenshots with more colors, updated typography shot, simplified hero screenshot of desktop browser. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26775


git-svn-id: http://core.svn.wordpress.org/trunk@26662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:46:11 +00:00
Andrew Nacin
49443c97e3 Sync new about.php "Thank you" line with freedoms and credits.
props rickalee.
fixes #26472.

Built from https://develop.svn.wordpress.org/trunk@26774


git-svn-id: http://core.svn.wordpress.org/trunk@26661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:37:11 +00:00
Andrew Nacin
ce94d432a7 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.

Built from https://develop.svn.wordpress.org/trunk@26773


git-svn-id: http://core.svn.wordpress.org/trunk@26660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:26:12 +00:00
Matt Thomas
9c3a58a32a Eliminate right padding on .wp-menu-name, see #26452.
Built from https://develop.svn.wordpress.org/trunk@26772


git-svn-id: http://core.svn.wordpress.org/trunk@26659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 06:29:11 +00:00
Matt Thomas
9cab8ef207 Nudging a few pixels that were out of place. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26769


git-svn-id: http://core.svn.wordpress.org/trunk@26657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 03:32:11 +00:00
Matt Thomas
4dc7875c1d Making some adjustments to the hero screenshot image on the About page, see #26387.
Built from https://develop.svn.wordpress.org/trunk@26768


git-svn-id: http://core.svn.wordpress.org/trunk@26656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 03:29:10 +00:00
Ryan Boren
b07b8d4fe8 Make the Backbone routes pushSTate capable with ?theme=themename type urls instead of hashes. Same applies to search queries.
Props adamsilverstein, nacin
fixes #25963

Built from https://develop.svn.wordpress.org/trunk@26767


git-svn-id: http://core.svn.wordpress.org/trunk@26655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 03:11:10 +00:00
Matt Thomas
dde01ceb85 Provide a bit more horizontal space for .wp-menu-name. See #26452.
Built from https://develop.svn.wordpress.org/trunk@26766


git-svn-id: http://core.svn.wordpress.org/trunk@26654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 02:03:10 +00:00
Andrew Nacin
51a89c8ae6 Themes: Ensure the image returns a width before checking that it is less than 300px.
see #26459.

Built from https://develop.svn.wordpress.org/trunk@26765


git-svn-id: http://core.svn.wordpress.org/trunk@26653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:59:10 +00:00
Andrew Nacin
9472ced40f Use &nbsp; instead of &#160; as it's more familiar to translators.
See #26387, [26760].

Built from https://develop.svn.wordpress.org/trunk@26764


git-svn-id: http://core.svn.wordpress.org/trunk@26652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:34:12 +00:00
Matt Thomas
2047f5715f 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.


Built from https://develop.svn.wordpress.org/trunk@26763


git-svn-id: http://core.svn.wordpress.org/trunk@26651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:18:11 +00:00
Andrew Nacin
7e1431aac1 Use wp_specialchars_decode() in the upgrade debugging email subject, same as the production email.
props markoheijnen.
fixes #26471.

Built from https://develop.svn.wordpress.org/trunk@26762


git-svn-id: http://core.svn.wordpress.org/trunk@26650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:15:10 +00:00
Matt Thomas
e14955f9c5 Use non-breaking spaces before the last word in headlines to prevent widows when wrapping at responsive sizes. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26760


git-svn-id: http://core.svn.wordpress.org/trunk@26648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 00:53:12 +00:00
Andrew Nacin
7ab63ed719 Update the help text on themes.php. The Install Themes tab is now an Add New button.
props ethitter.
fixes #26285.

Built from https://develop.svn.wordpress.org/trunk@26759


git-svn-id: http://core.svn.wordpress.org/trunk@26647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 00:45:10 +00:00
Andrew Nacin
17e3271415 Translator's comment for a date_i18n() string.
props netweb.
fixes #26470.

Built from https://develop.svn.wordpress.org/trunk@26758


git-svn-id: http://core.svn.wordpress.org/trunk@26646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 00:38:13 +00:00
Andrew Nacin
99c9e24814 Proper CSS specificity for columns-based dashboard grids.
props kovshenin.
fixes #26354.

Built from https://develop.svn.wordpress.org/trunk@26756


git-svn-id: http://core.svn.wordpress.org/trunk@26644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:47:10 +00:00
Matt Thomas
2eb9b9fb43 On the About page: comprise > compromise, assuming that this is a typo. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26754


git-svn-id: http://core.svn.wordpress.org/trunk@26642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:36:11 +00:00
Andrew Nacin
dfdcf6246a Themes: Avoid overlap with themes with small screenshots and no description.
props matveb.
fixes #26465.

Built from https://develop.svn.wordpress.org/trunk@26753


git-svn-id: http://core.svn.wordpress.org/trunk@26641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 23:16:11 +00:00
Matt Thomas
88c2c9a089 I believe we're consistent about capitalizing Open Source elsewhere. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26751


git-svn-id: http://core.svn.wordpress.org/trunk@26639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 22:22:09 +00:00
Matt Thomas
05a9478303 Visual refinements to the About page and screenshots. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26750


git-svn-id: http://core.svn.wordpress.org/trunk@26638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 22:18:11 +00:00
Andrew Nacin
9891557341 Themes: Final gutter and breakpoint adjustments.
props matveb.
fixes #26462.

Built from https://develop.svn.wordpress.org/trunk@26747


git-svn-id: http://core.svn.wordpress.org/trunk@26635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:27:10 +00:00
Matt Thomas
e0957c8eb7 Adding autosave for color schemes and removing RTL handling. See #26387, props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26746


git-svn-id: http://core.svn.wordpress.org/trunk@26634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:26:10 +00:00
Matt Thomas
03ab0cc95f 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.
Built from https://develop.svn.wordpress.org/trunk@26744


git-svn-id: http://core.svn.wordpress.org/trunk@26633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:23:10 +00:00
Andrew Ozz
2da2559d26 Responsive menu: fix calculation of the responsive trigger width from JS. It is affected by a vertical scrollbar width in some browsers. See #26458.
Built from https://develop.svn.wordpress.org/trunk@26743


git-svn-id: http://core.svn.wordpress.org/trunk@26632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:50:10 +00:00
Matt Thomas
8d82adf989 Add missing about.color-schemes.png. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26742


git-svn-id: http://core.svn.wordpress.org/trunk@26631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:17:11 +00:00
Andrew Nacin
61b7831f56 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.

Built from https://develop.svn.wordpress.org/trunk@26741


git-svn-id: http://core.svn.wordpress.org/trunk@26630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:13:11 +00:00
Andrew Nacin
0446853711 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.

Built from https://develop.svn.wordpress.org/trunk@26739


git-svn-id: http://core.svn.wordpress.org/trunk@26628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:51:10 +00:00
Andrew Nacin
3964c1f132 Themes: If a theme only has a very-old-school 300px-wide screenshot (or narrower), don't stretch it.
props matveb.
fixes #26459.

Built from https://develop.svn.wordpress.org/trunk@26738


git-svn-id: http://core.svn.wordpress.org/trunk@26627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:42:11 +00:00
Matt Thomas
41b8584cd2 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.


Built from https://develop.svn.wordpress.org/trunk@26737


git-svn-id: http://core.svn.wordpress.org/trunk@26626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:36:11 +00:00
Drew Jaynes
7bf5470bab Inline documentation fixes for hooks and functions introduced in 3.8.0.
Built from https://develop.svn.wordpress.org/trunk@26736


git-svn-id: http://core.svn.wordpress.org/trunk@26625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:18:11 +00:00
Andrew Nacin
a41e7e8b9b 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.

Built from https://develop.svn.wordpress.org/trunk@26734


git-svn-id: http://core.svn.wordpress.org/trunk@26623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:00:10 +00:00
Matt Thomas
d6068ae5b8 Ensure that disabled select elements are distinguishable from normal ones. Fixes #26456, props TobiasBg.
Built from https://develop.svn.wordpress.org/trunk@26733


git-svn-id: http://core.svn.wordpress.org/trunk@26622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:50:11 +00:00
Drew Jaynes
fdbc44ff48 Inline documentation fixes for wp_heartbeat_set_suspension().
See #25073.

Built from https://develop.svn.wordpress.org/trunk@26732


git-svn-id: http://core.svn.wordpress.org/trunk@26621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:43:10 +00:00
Andrew Nacin
ee54355c16 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.

Built from https://develop.svn.wordpress.org/trunk@26731


git-svn-id: http://core.svn.wordpress.org/trunk@26620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:35:11 +00:00
Andrew Nacin
d59d76b3d4 Themes: Set a max-width on screenshots so they don't get blurry at very wide screen widths.
props matveb.
fixes #26172.

Built from https://develop.svn.wordpress.org/trunk@26730


git-svn-id: http://core.svn.wordpress.org/trunk@26619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 18:31:10 +00:00
Andrew Nacin
32736c45ff Remove screenshotGallery. see #25948.
Built from https://develop.svn.wordpress.org/trunk@26728


git-svn-id: http://core.svn.wordpress.org/trunk@26617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 17:11:10 +00:00
Andrew Nacin
df48cebeb4 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.

Built from https://develop.svn.wordpress.org/trunk@26726


git-svn-id: http://core.svn.wordpress.org/trunk@26615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 16:11:10 +00:00
Andrew Nacin
9ecfa135d8 Map old -width theme tags to new -layout tags for the purposes of translation in the admin.
see #21442.

Built from https://develop.svn.wordpress.org/trunk@26725


git-svn-id: http://core.svn.wordpress.org/trunk@26614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:37:10 +00:00
Andrew Nacin
b9bbf2e814 Use p.description instead of <small> on the discussion settings page. see #26441.
Built from https://develop.svn.wordpress.org/trunk@26724


git-svn-id: http://core.svn.wordpress.org/trunk@26613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:22:11 +00:00
Andrew Nacin
135adf3975 Un-translate all of the about page strings so translators don't start working on incomplete copy. see #26387.
Built from https://develop.svn.wordpress.org/trunk@26723


git-svn-id: http://core.svn.wordpress.org/trunk@26612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 14:20:12 +00:00
Matt Thomas
2941e1d1bb 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.
Built from https://develop.svn.wordpress.org/trunk@26721


git-svn-id: http://core.svn.wordpress.org/trunk@26610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 12:37:11 +00:00
Matt Thomas
6acf620961 Slight adjustment to centered headlines in About page. See #26387.
Built from https://develop.svn.wordpress.org/trunk@26720


git-svn-id: http://core.svn.wordpress.org/trunk@26609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 12:33:11 +00:00
Matt Thomas
b42583aedb 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.


Built from https://develop.svn.wordpress.org/trunk@26719


git-svn-id: http://core.svn.wordpress.org/trunk@26608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 12:16:10 +00:00
Matt Thomas
443565c4c6 Committing a first pass at a new About page for 3.8. See #26387, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26718


git-svn-id: http://core.svn.wordpress.org/trunk@26607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 07:50:12 +00:00
Matt Thomas
4591dc785b Correct the direction of arrow icons when comparing revisions in RTL. Fixes #26439, props adamsilverstein.
Built from https://develop.svn.wordpress.org/trunk@26717


git-svn-id: http://core.svn.wordpress.org/trunk@26606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 07:21:10 +00:00
Matt Thomas
1f5503f92e Keep draggable panels from interfering with swipe scrolling on touch devices running Internet Explorer 10/11. Fixes #26297, props georgestephanis.
Built from https://develop.svn.wordpress.org/trunk@26715


git-svn-id: http://core.svn.wordpress.org/trunk@26604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 04:44:10 +00:00
Matt Thomas
dc05d0530b Hide the 'Dismiss' label in the dashboard welcome panel at smartphone sizes, so the close link doesn't overlap the Welcome headline. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26712


git-svn-id: http://core.svn.wordpress.org/trunk@26601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:16:11 +00:00
Matt Mullenweg
ba93d95af0 Add and display new tags to highlight the ever-growing number of responsive themes available. Fixes #21442.
Props Otto42 and lancewillett.

Built from https://develop.svn.wordpress.org/trunk@26711


git-svn-id: http://core.svn.wordpress.org/trunk@26600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 01:07:11 +00:00
Matt Thomas
328a393f69 Fix the positioning of arrow icons in the slider buttons in Revisions. See #26439.
Built from https://develop.svn.wordpress.org/trunk@26709


git-svn-id: http://core.svn.wordpress.org/trunk@26598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 00:43:10 +00:00
Andrew Nacin
d1dcd30c5f Themes: Switch to a text overlay instead of an icon on hover. Numerous reasons outlined in the ticket.
props shaunandrews.
fixes #26440.

Built from https://develop.svn.wordpress.org/trunk@26708


git-svn-id: http://core.svn.wordpress.org/trunk@26597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:43:11 +00:00
Andrew Nacin
8a2accaa41 Fix various i18n issues on the dashboard. Limits it to posts and pages only for 3.8.
props SergeyBiryukov, dimadin.
fixes #26066.

Built from https://develop.svn.wordpress.org/trunk@26704


git-svn-id: http://core.svn.wordpress.org/trunk@26594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:34:11 +00:00
Andrew Ozz
765b617a8c Widgets: jshint cleanup of widgets.js, see #25821.
Built from https://develop.svn.wordpress.org/trunk@26703


git-svn-id: http://core.svn.wordpress.org/trunk@26593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:14:09 +00:00
Andrew Nacin
1a34e361ac Fix z-indexes as it relates to thickbox, the theme modal, and admin menu.
props ryelle, shaunandrews.
fixes #26442.

Built from https://develop.svn.wordpress.org/trunk@26701


git-svn-id: http://core.svn.wordpress.org/trunk@26591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:10:11 +00:00
Andrew Nacin
8de0c10bb9 Restore "Search Engines Discouraged" to the dashboard.
props JustinSainton.
fixes #26431.

Built from https://develop.svn.wordpress.org/trunk@26700


git-svn-id: http://core.svn.wordpress.org/trunk@26590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 23:05:10 +00:00
Andrew Nacin
4a3e2f84b9 Dashboard: Rename the Site Content widget (née Right Now) to At a Glance.
see #25824.

Built from https://develop.svn.wordpress.org/trunk@26697


git-svn-id: http://core.svn.wordpress.org/trunk@26587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:38:11 +00:00
Andrew Nacin
d0e4753aef Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.
fixes #25821.

Built from https://develop.svn.wordpress.org/trunk@26696


git-svn-id: http://core.svn.wordpress.org/trunk@26586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:27:11 +00:00
Andrew Nacin
b8882b3511 Widgets: Only scroll to the newly clicked-and-added widget if it is out of the viewport.
props shaunandrews.
see #25821.

Built from https://develop.svn.wordpress.org/trunk@26695


git-svn-id: http://core.svn.wordpress.org/trunk@26585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:22:11 +00:00
Andrew Nacin
0617feaa30 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.

Built from https://develop.svn.wordpress.org/trunk@26693


git-svn-id: http://core.svn.wordpress.org/trunk@26583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:01:10 +00:00
Andrew Nacin
8b8c8e96e7 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.

Built from https://develop.svn.wordpress.org/trunk@26692


git-svn-id: http://core.svn.wordpress.org/trunk@26582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:30:11 +00:00
Andrew Nacin
1788d5840f 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.

Built from https://develop.svn.wordpress.org/trunk@26690


git-svn-id: http://core.svn.wordpress.org/trunk@26580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:23:10 +00:00
Andrew Nacin
e92d80f5c6 Themes: Let theme author links look like links.
props matveb.
fixes #26425.

Built from https://develop.svn.wordpress.org/trunk@26688


git-svn-id: http://core.svn.wordpress.org/trunk@26578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:58:21 +00:00
Matt Thomas
6202106205 Un-hide dropdown submenus at responsive sizes, make submenus within dropdowns appear as inline lists at mobile device sizes. See #25972.
Built from https://develop.svn.wordpress.org/trunk@26687


git-svn-id: http://core.svn.wordpress.org/trunk@26577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:58:10 +00:00
Andrew Nacin
e509a66071 Themes: Only show author names during a search if it matches 3 or more characters.
props matveb.
fixes #26422.

Built from https://develop.svn.wordpress.org/trunk@26686


git-svn-id: http://core.svn.wordpress.org/trunk@26576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:57:11 +00:00
Andrew Nacin
462d342de1 Themes: when initiating a search, avoid triggering a reset event when it's not necessary.
props matveb.
fixes #26434.

Built from https://develop.svn.wordpress.org/trunk@26685


git-svn-id: http://core.svn.wordpress.org/trunk@26575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:15:11 +00:00
Andrew Nacin
08430e2684 Theme: When showing an author in the grid (during a search), don't include the author's link.
fixes #26433.

Built from https://develop.svn.wordpress.org/trunk@26684


git-svn-id: http://core.svn.wordpress.org/trunk@26574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:08:10 +00:00
Matt Thomas
7c45ae9f1c More consistent vertical alignment of the .awaiting-mod/new updates indicator. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26682


git-svn-id: http://core.svn.wordpress.org/trunk@26572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:48:10 +00:00
Andrew Nacin
72f9712a1f Themes: Refine how we display the current theme.
props shaunandrews, kwight, matveb.
see #26003.

Built from https://develop.svn.wordpress.org/trunk@26681


git-svn-id: http://core.svn.wordpress.org/trunk@26571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:42:16 +00:00
Helen Hou-Sandí
1fcbe8c80b Bring screen reader shortcuts and image edit controls in line with admin design. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26677


git-svn-id: http://core.svn.wordpress.org/trunk@26567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:17:09 +00:00
Helen Hou-Sandí
9aea0dea8a Lovingly restore corners that had previously been nibbled upon by a mouse. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26676


git-svn-id: http://core.svn.wordpress.org/trunk@26566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:07:10 +00:00
Matt Thomas
48f6631c4e 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.


Built from https://develop.svn.wordpress.org/trunk@26675


git-svn-id: http://core.svn.wordpress.org/trunk@26565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 18:03:10 +00:00
Helen Hou-Sandí
7f8584d37b More targeted background image styling for admin menu SVG icons. fixes #25147.
Built from https://develop.svn.wordpress.org/trunk@26671


git-svn-id: http://core.svn.wordpress.org/trunk@26561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 17:53:10 +00:00
Andrew Nacin
21d946cf52 Define globals and add semicolons to wp-fullscreen.js.
`grunt jshint` now runs clean for WordPress core!

props mattwiebe.
fixes #26029.

Built from https://develop.svn.wordpress.org/trunk@26667


git-svn-id: http://core.svn.wordpress.org/trunk@26557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 16:05:11 +00:00
Andrew Nacin
9b29ad0529 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.

Built from https://develop.svn.wordpress.org/trunk@26664


git-svn-id: http://core.svn.wordpress.org/trunk@26554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 06:38:09 +00:00
Andrew Nacin
11715a29b8 Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
props matveb.
fixes #25962.

Built from https://develop.svn.wordpress.org/trunk@26660


git-svn-id: http://core.svn.wordpress.org/trunk@26550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 04:57:10 +00:00
Matt Mullenweg
e20a684463 Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
Props lancewillett.


Built from https://develop.svn.wordpress.org/trunk@26658


git-svn-id: http://core.svn.wordpress.org/trunk@26548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:49:10 +00:00
Helen Hou-Sandí
52909e1956 Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.
Built from https://develop.svn.wordpress.org/trunk@26656


git-svn-id: http://core.svn.wordpress.org/trunk@26546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 02:37:10 +00:00
Andrew Nacin
a56aa77d67 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.

Built from https://develop.svn.wordpress.org/trunk@26652


git-svn-id: http://core.svn.wordpress.org/trunk@26542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:16:10 +00:00
Andrew Ozz
b0a9fb217a 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.
Built from https://develop.svn.wordpress.org/trunk@26651


git-svn-id: http://core.svn.wordpress.org/trunk@26541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:02:11 +00:00
Andrew Ozz
1ae48b7644 DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934.
Built from https://develop.svn.wordpress.org/trunk@26649


git-svn-id: http://core.svn.wordpress.org/trunk@26539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:51:10 +00:00
Drew Jaynes
b3bc78df8f Hook docs fixes following [26645].
See #25721.

Built from https://develop.svn.wordpress.org/trunk@26648


git-svn-id: http://core.svn.wordpress.org/trunk@26538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:32:11 +00:00
Andrew Nacin
626d00589b westi forgot my full stop. see #23569.
Built from https://develop.svn.wordpress.org/trunk@26641


git-svn-id: http://core.svn.wordpress.org/trunk@26531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:57:09 +00:00
Peter Westwood
1bbcf590b9 Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props nacin.
Built from https://develop.svn.wordpress.org/trunk@26640


git-svn-id: http://core.svn.wordpress.org/trunk@26530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:54:10 +00:00
Andrew Nacin
fce306232a Allow HTML in the theme name for the themes.php template.
props matveb.
fixes #26411.

Built from https://develop.svn.wordpress.org/trunk@26638


git-svn-id: http://core.svn.wordpress.org/trunk@26528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:41:10 +00:00
Matt Thomas
5717988ecd Remove unneeded transition styles on adminmenu links that make the transition between expanded and collapsed menubars choppy in Safari and Chrome. Fixes #26406.
Built from https://develop.svn.wordpress.org/trunk@26637


git-svn-id: http://core.svn.wordpress.org/trunk@26527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:40:10 +00:00
Helen Hou-Sandí
dbe43017b5 Remove more references to MP6 and standardize on .wp-ui-* for prefixed generic class names. props nacin, kovshenin, fixes #26263.
Built from https://develop.svn.wordpress.org/trunk@26635


git-svn-id: http://core.svn.wordpress.org/trunk@26525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 21:16:11 +00:00
Sergey Biryukov
cac815c4e9 Avoid a PHP notice on Edit Menus screen when a menu is attached to a non-existing location.
props nofearinc.
fixes #26287.
Built from https://develop.svn.wordpress.org/trunk@26634


git-svn-id: http://core.svn.wordpress.org/trunk@26524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:37:11 +00:00
Matt Thomas
21c732c9b7 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.
Built from https://develop.svn.wordpress.org/trunk@26633


git-svn-id: http://core.svn.wordpress.org/trunk@26523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:32:12 +00:00
Drew Jaynes
087289b6a4 Hook docs pinking shears.
Built from https://develop.svn.wordpress.org/trunk@26631


git-svn-id: http://core.svn.wordpress.org/trunk@26521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 20:03:09 +00:00
Andrew Nacin
e6f229c29b Pinking shears. see #26086 props atimmer.
Built from https://develop.svn.wordpress.org/trunk@26627


git-svn-id: http://core.svn.wordpress.org/trunk@26517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:34:09 +00:00
Andrew Nacin
bd17d08545 Add wp_prepare_themes_for_js filter to wp_prepare_themes_for_js().
props kovshenin.
fixes #25948.

Built from https://develop.svn.wordpress.org/trunk@26625


git-svn-id: http://core.svn.wordpress.org/trunk@26515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:21:10 +00:00
Matt Thomas
b0e68361b7 Prevent the spinner from bumping the Cancel button to a new line in de_DE and ru_RU. Fixes #21890; props SergeyBiryukov, ocean90.
Built from https://develop.svn.wordpress.org/trunk@26624


git-svn-id: http://core.svn.wordpress.org/trunk@26514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:15:09 +00:00
Andrew Nacin
7ac1f7916f Return some semicolons. fixes #25594.
Built from https://develop.svn.wordpress.org/trunk@26623


git-svn-id: http://core.svn.wordpress.org/trunk@26513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:08:10 +00:00