Commit Graph

12148 Commits

Author SHA1 Message Date
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   instead of   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