Commit Graph

12093 Commits

Author SHA1 Message Date
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
Andrew Nacin
4b2e6ac5ad RTL fix for themes.php. props yoavf. fixes #26405.
Built from https://develop.svn.wordpress.org/trunk@26622


git-svn-id: http://core.svn.wordpress.org/trunk@26512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:58:10 +00:00
Andrew Ozz
414a0f0693 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.
Built from https://develop.svn.wordpress.org/trunk@26621


git-svn-id: http://core.svn.wordpress.org/trunk@26511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:54:10 +00:00
Matt Thomas
014d84cd1a Allow error messages to push the adminmenu down. Fixes #26312, props SergeyBiryukov.
Built from https://develop.svn.wordpress.org/trunk@26620


git-svn-id: http://core.svn.wordpress.org/trunk@26510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:51:09 +00:00
Matt Thomas
0b4708ea9e Ensure that .widget-inside gets the necessary interior padding regardless of its containing element. Fixes #26391, props cainm.
Built from https://develop.svn.wordpress.org/trunk@26618


git-svn-id: http://core.svn.wordpress.org/trunk@26508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 18:17:10 +00:00
Andrew Nacin
757a470708 Include columns-# CSS class in wp_dashboard() for when the screen supports it.
props westi.
fixes #26354.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:28:11 +00:00
Andrew Nacin
cd210390a2 Build RTL stylesheets for color schemes.
props dd32.
fixes #26315.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:21:20 +00:00
Matt Thomas
3555bc8105 Improve the styling of browser file input controls. Fixes #26393.
Built from https://develop.svn.wordpress.org/trunk@26615


git-svn-id: http://core.svn.wordpress.org/trunk@26505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:21:11 +00:00
Andrew Nacin
2e96bd6fd8 Nav Menu admin: Suppress outlines on expand/collapse arrows. fixes #26398.
Built from https://develop.svn.wordpress.org/trunk@26614


git-svn-id: http://core.svn.wordpress.org/trunk@26504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:16:10 +00:00
Andrew Nacin
bfc16271ca Nav Menus: Delegate click events for move links.
props ankit.gade.
fixes #25594.

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


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

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


git-svn-id: http://core.svn.wordpress.org/trunk@26501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:56:10 +00:00
Andrew Nacin
8a622c122c Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork.
fixes #26181, #26182.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:39:19 +00:00
Matt Thomas
baefdf5bf8 Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin.
Built from https://develop.svn.wordpress.org/trunk@26608


git-svn-id: http://core.svn.wordpress.org/trunk@26498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 16:31:10 +00:00
Helen Hou-Sandí
a6fdf9cc8c 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.
Built from https://develop.svn.wordpress.org/trunk@26602


git-svn-id: http://core.svn.wordpress.org/trunk@26492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:32:11 +00:00
Andrew Ozz
e6dd5fbf48 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.
Built from https://develop.svn.wordpress.org/trunk@26601


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

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


git-svn-id: http://core.svn.wordpress.org/trunk@26484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:36:10 +00:00
Matt Thomas
26a22db98e Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327, props MikeHansenMe.
Built from https://develop.svn.wordpress.org/trunk@26593


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


git-svn-id: http://core.svn.wordpress.org/trunk@26482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:14:10 +00:00
Andrew Nacin
c4f7821a16 Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
props jdgrimes.
fixes #26068.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 21:12:10 +00:00