626 Commits

Author SHA1 Message Date
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
Drew Jaynes
4056d33bca Avoid a notice by checking that SCRIPT_DEBUG is defined before evaluating it in register_admin_color_schemes().
See #26316.


git-svn-id: https://develop.svn.wordpress.org/trunk@26786 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 19:22:57 +00:00
Dion Hulse
457e59656a Cron: Fix a case where a cache inconsistency can cause wp_clear_scheduled_hook() to enter an infinite loop. This unravels the function from using other cron api functions to looping over the cron array directly. See #25773
git-svn-id: https://develop.svn.wordpress.org/trunk@26782 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 09:12:51 +00:00
Andrew Nacin
821b80eba4 Tell the script loader that colors-fresh should be treated as an RTL style, as explained (but omitted) in [26780]. see #26316.
git-svn-id: https://develop.svn.wordpress.org/trunk@26781 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 09:07:38 +00:00
Andrew Nacin
6e1d73c39d Admin color schemes: Manually handle RTL and minified versions of the CSS files on registration.
This bypasses WP_Styles entirely, which is much simpler for the moment, given that color schemes bypass WP_Styles for plenty already. The script loader is told to stop thinking of colors.css as an RTL-ified file. The colors-fresh handle, used directly on the login screen, needed to be (even before this commit).

fixes #26316.


git-svn-id: https://develop.svn.wordpress.org/trunk@26780 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 09:04:02 +00:00
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
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
11236ceb8e Comment out these touch-related styles as they break toolbar dropdowns in Chrome for Android. Fixes #25972.
git-svn-id: https://develop.svn.wordpress.org/trunk@26770 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 04:58:35 +00:00
Dominik Schilling (ocean90)
6b159da845 Dashicons: Update to the latest dashicons files.
props empireoflight, melchoyce.
fixes #26362.

git-svn-id: https://develop.svn.wordpress.org/trunk@26755 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:45:22 +00:00
Andrew Nacin
f2be10ef2a Updates to Dashicons classes.
props melchoyce.
fixes #26227.


git-svn-id: https://develop.svn.wordpress.org/trunk@26752 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 23:11:41 +00:00
Dominik Schilling (ocean90)
af9148c053 RTL: Don't flip thumbnail positions in Insert Media window.
Restores pre-3.8 behavior.

props siobhyb for the initial patch.
fixes #26461.

git-svn-id: https://develop.svn.wordpress.org/trunk@26748 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:45:01 +00:00
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
Matt Thomas
642293800b Add new fit-content rules to accompany intrinsic width on adminbar dropdown wrappers. Fixes #26430, props Jayjdk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26735 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:15:31 +00:00
Andrew Nacin
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
bc7dd7debb Add icon to the help button in distraction-free writing.
props ocean90.
fixes #26450.


git-svn-id: https://develop.svn.wordpress.org/trunk@26722 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 14:10:03 +00:00
Matt Thomas
3cf585f1d3 Make toolbar dropdown submenu links tappable. See #25972, props ninnypants.
git-svn-id: https://develop.svn.wordpress.org/trunk@26716 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 05:27:19 +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
764e70948b At responsive sizes, remove the hard-coded fixed positioning for Comments and Add New in the toolbar. Make links slightly wider to better fill small-screen devices. Fixes #26432.
git-svn-id: https://develop.svn.wordpress.org/trunk@26710 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 01:01:40 +00:00
Andrew Nacin
beb2c296b8 Customizer: Revert [26548], removing _.isEqual() for proper object comparison.
This broke the customizer in IE 11, with possibly other side effects. Revisit in 3.9.

Also reverts [26632].

see #26061 (reopens), fixes #26438.


git-svn-id: https://develop.svn.wordpress.org/trunk@26702 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:12:59 +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
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
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
Matt Thomas
5ee03aa6c7 When a button appears within a paragraph, vertically align it with the text baseline.
git-svn-id: https://develop.svn.wordpress.org/trunk@26683 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:52:36 +00:00
Matt Thomas
39b72958c6 Allow dropdown lists to appear in responsive states; reset the minimum width of dropdowns at responsive sizes. See #26430.
git-svn-id: https://develop.svn.wordpress.org/trunk@26680 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:37:43 +00:00
Matt Thomas
381c1f4211 By default, hide all adminbar links at responsive sizes and selectively un-hide just the essential core items. Fixes #26430.
git-svn-id: https://develop.svn.wordpress.org/trunk@26678 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:27:34 +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
Matt Thomas
ed908f78a1 Correct the alignment of the W logo within its container. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26670 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:36:56 +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
721ffcbb07 Fix svg-painter in Chrome. see #26333.
git-svn-id: https://develop.svn.wordpress.org/trunk@26663 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:30:56 +00:00
Andrew Nacin
3edf1401aa Remove the shadow on the TinyMCE editor.
This removes it from distraction-free writing and also gives the editor a bit of a lighter feel.

fixes #26421.


git-svn-id: https://develop.svn.wordpress.org/trunk@26659 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:25:01 +00:00
Drew Jaynes
fa376b16cd Two more hook docs fixes.
`image_memory_limit` filter:
* Go with int|string on the limit, and simply notate '256M' as an acceptable string value.

`wp_editor_set_quality` filter:
* Add a missing parameter description for the mime type.

See #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26650 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:50:33 +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
8a3c33c861 Improvements to image quality handling in the image editor classes.
props markoheijnen, DH-Shredder.
fixes #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26645 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:48:45 +00:00
Dion Hulse
22738bc3d5 Remove the experimental RSS.JS feed, and move it to a plugin for feature development. Unprops pento. See #25639
git-svn-id: https://develop.svn.wordpress.org/trunk@26644 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:23: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
3d1bcce2ff Fix JSHint error. props atimmer. see #26061.
git-svn-id: https://develop.svn.wordpress.org/trunk@26632 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:17:52 +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
ed73413105 Add a copyright notice to zxcvbn. fixes #25926.
git-svn-id: https://develop.svn.wordpress.org/trunk@26629 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:52:45 +00:00
Matt Thomas
69dabd809f Reset responsive button styles in the Customizer, which uses fixed widths and positioning and is otherwise non-responsive. See #21890.
git-svn-id: https://develop.svn.wordpress.org/trunk@26628 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:44:01 +00:00
Andrew Nacin
589653b4b7 Heartbeat: Don't use a variable of the same name as the function it is in.
fixes #25073.


git-svn-id: https://develop.svn.wordpress.org/trunk@26626 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:23:39 +00:00
Andrew Nacin
2d5ebb65fc Restore min-width for toolbar menus. This allows the menus to expand to the width of the element above them.
props nvwd.
fixes #26389.


git-svn-id: https://develop.svn.wordpress.org/trunk@26612 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:59:58 +00:00
Andrew Nacin
0b6e655a2d Add Open Sans as a dependency to install.css and add Dashicons as a dependency to some other CSS files. see #26255.
git-svn-id: https://develop.svn.wordpress.org/trunk@26605 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 11:18:52 +00:00
Matt Mullenweg
c5a3e02aa5 3.8 is ready for widespread, release candidate level of testing.
git-svn-id: https://develop.svn.wordpress.org/trunk@26604 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 09:27:00 +00:00
Andrew Ozz
d690d821aa Svg-painter: fix couple of jshint warnings, see #26333.
git-svn-id: https://develop.svn.wordpress.org/trunk@26603 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:36:22 +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
6da6e5daad Declare dashicons dependency for wp-pointer.css and media-views.css.
props dd32.
see #26255.


git-svn-id: https://develop.svn.wordpress.org/trunk@26596 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 00:34:00 +00:00
Matt Thomas
408041ca39 Add .ab-empty-item to the responsive adminbar sizing adjustments. Ensure that hidden text in responsive adminbar stays properly hidden in Firefox. See #26299.
git-svn-id: https://develop.svn.wordpress.org/trunk@26595 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:52:34 +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
Andrew Nacin
21c76b2340 Allow wp_enqueue_media() to "just work" in a customizer control.
props westonruter.
fixes #25618.


git-svn-id: https://develop.svn.wordpress.org/trunk@26589 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:53:47 +00:00