Commit Graph

363 Commits

Author SHA1 Message Date
Sergey Biryukov
8a82e4c463 Force LTR direction for code and plugin/theme editors.
props SergeyBiryukov, nivijah.
fixes #26666 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26888


git-svn-id: http://core.svn.wordpress.org/trunk@26771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 11:04:09 +00:00
Sergey Biryukov
c829c31aa9 Fix incorrect -mox prefixes in CSS.
props morganestes.
fixes #26702 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26887


git-svn-id: http://core.svn.wordpress.org/trunk@26770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:53:10 +00:00
Andrew Ozz
855889f7aa TinyMCE 4.0.12, first run.
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067.
Built from https://develop.svn.wordpress.org/trunk@26876


git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 23:53:15 +00:00
Andrew Nacin
2d56715ba3 Suppress admin notices on the about page.
Brings back [19393], accidentally reverted in [26718].

props ocean90.
fixes #26519.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 17:39:10 +00:00
Andrew Ozz
d9feeb5b29 Themes: set maximum width for overlay view, props matveb, fixes #26507.
Built from https://develop.svn.wordpress.org/trunk@26839


git-svn-id: http://core.svn.wordpress.org/trunk@26726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:51:10 +00:00
Andrew Ozz
4f44dc74b1 Themes: fix overlays and buttons in responsive mode, props matveb, fixes #26481.
Built from https://develop.svn.wordpress.org/trunk@26838


git-svn-id: http://core.svn.wordpress.org/trunk@26725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:38:10 +00:00
Matt Thomas
2c7b69f7c1 In Press This, extend the sidebar for ru_RU. Fixes #26508, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26836


git-svn-id: http://core.svn.wordpress.org/trunk@26723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:23:10 +00:00
Matt Thomas
8210442632 Increase the height of the Add Photos box in Press This to prevent unnecessary scrolling. Fixes #26506, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26835


git-svn-id: http://core.svn.wordpress.org/trunk@26722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:16:10 +00:00
Matt Thomas
4fb4588829 Style the Add Comment button as a button. Fixes #26500, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26834


git-svn-id: http://core.svn.wordpress.org/trunk@26721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:14:11 +00:00
Matt Thomas
8cf1d699d9 Add line height to #commentstatusdiv p so that its checkboxes get some padding between them at responsive sizes. Fixes #26499, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26833


git-svn-id: http://core.svn.wordpress.org/trunk@26720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:12:18 +00:00
Matt Thomas
f6011db8ed Eliminate the padding on #titlediv #title to prevent characters with descenders getting cropped in some browsers. Fixes #26509, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26830


git-svn-id: http://core.svn.wordpress.org/trunk@26717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:09:20 +00:00
Andrew Nacin
87265a374b Themes: use explicit 'search installed themes' label and placeholder.
fixes #26496.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 07:41:10 +00:00
Matt Thomas
fb2ec8d5a4 Specify transition: none on plugin information dialog tabs to keep them from jump jumping around. Fixes #26498.
Built from https://develop.svn.wordpress.org/trunk@26824


git-svn-id: http://core.svn.wordpress.org/trunk@26711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 06:31:10 +00:00
Matt Thomas
ad50180eca Add widgets page draggable/sortable items to -ms-touch-action rules for proper touch scrolling in IE 10 and 11.
Built from https://develop.svn.wordpress.org/trunk@26820


git-svn-id: http://core.svn.wordpress.org/trunk@26707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:57:10 +00:00
Andrew Ozz
448a401f77 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.
Built from https://develop.svn.wordpress.org/trunk@26819


git-svn-id: http://core.svn.wordpress.org/trunk@26706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:41:10 +00:00
Matt Thomas
99063349c6 Expand adminmenu from 150px to 160px, creating more room for pending comment counts and translated text. Fixes #25918, props ocean90.
Built from https://develop.svn.wordpress.org/trunk@26817


git-svn-id: http://core.svn.wordpress.org/trunk@26704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 02:29:10 +00:00
Andrew Nacin
1154c059ef RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)
props yoavf.
fixes #24977.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 01:31:11 +00:00
Matt Thomas
cd465575f1 Expand the Quick Draft section by default. Fixes #26463, props bassgang.
Built from https://develop.svn.wordpress.org/trunk@26813


git-svn-id: http://core.svn.wordpress.org/trunk@26700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:43:11 +00:00
Matt Thomas
c972cbb188 Ensure that plugins needing updates that aren't activated get their checkbox aligned properly. Fixes #26489, props ocean90.
Built from https://develop.svn.wordpress.org/trunk@26811


git-svn-id: http://core.svn.wordpress.org/trunk@26698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:30:11 +00:00
Matt Thomas
9c539f43b7 Remove 1px margin from post title input so it lines up with the top right-column meta box. Fixes #26483, props ocean90.
Built from https://develop.svn.wordpress.org/trunk@26807


git-svn-id: http://core.svn.wordpress.org/trunk@26694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 20:27:10 +00:00
Matt Thomas
dfceeb7471 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 20:05:12 +00:00
Andrew Nacin
790f951105 Move pointer-specific CSS from wp-admin.css to wp-pointer.css.
props ocean90.
fixes #26477.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 07:17:10 +00:00
Matt Thomas
68b7f94042 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.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 04:12: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
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
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
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
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
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
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
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
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
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
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
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 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
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