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
Matt Thomas
a593e88fa5
Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226 .
...
Built from https://develop.svn.wordpress.org/trunk@26584
git-svn-id: http://core.svn.wordpress.org/trunk@26474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:29:09 +00:00
Matt Thomas
4df7acf1d9
Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348 , props SergeyBiryukov, iammattthomas.
...
Built from https://develop.svn.wordpress.org/trunk@26583
git-svn-id: http://core.svn.wordpress.org/trunk@26473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:12:11 +00:00
Matt Thomas
3951d34906
Correct the alignment of Activate and Live Preview buttons in responsive Themes page. Fixes #26373 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26582
git-svn-id: http://core.svn.wordpress.org/trunk@26472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 20:04:09 +00:00
Andrew Nacin
66425e1489
Use jQuery.prop('checked') instead of jQuery.attr.
...
props Frank Klein.
fixes #26378 .
Built from https://develop.svn.wordpress.org/trunk@26571
git-svn-id: http://core.svn.wordpress.org/trunk@26462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:21:11 +00:00
Andrew Nacin
dd465838e6
Rename colors-fresh.css to colors.css. fixes #26137 .
...
Built from https://develop.svn.wordpress.org/trunk@26570
git-svn-id: http://core.svn.wordpress.org/trunk@26461 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:16:11 +00:00
Andrew Nacin
a3fba0096d
In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
...
props fliespl.
fixes #22134 .
Built from https://develop.svn.wordpress.org/trunk@26566
git-svn-id: http://core.svn.wordpress.org/trunk@26457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:44:10 +00:00
Helen Hou-Sandí
1a3a45dcef
Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053 .
...
Built from https://develop.svn.wordpress.org/trunk@26564
git-svn-id: http://core.svn.wordpress.org/trunk@26455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:35:09 +00:00
Helen Hou-Sandí
725eb939d7
Better Dashboard treatment when in no-JS, especially Quick Draft. props georgestephanis, helen. fixes #26376 .
...
Built from https://develop.svn.wordpress.org/trunk@26563
git-svn-id: http://core.svn.wordpress.org/trunk@26454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:32:19 +00:00
Matt Thomas
3a68881300
Remove unnecessary padding on welcome panel icons at responsive sizes. Fixes #26374 , props mattheu.
...
Built from https://develop.svn.wordpress.org/trunk@26554
git-svn-id: http://core.svn.wordpress.org/trunk@26445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 16:22:11 +00:00
Dion Hulse
3b706af9c3
Themes: Update the CSS definitions in the SCSS files to be as specific as the base CSS rules. See #25948 , #25966
...
Built from https://develop.svn.wordpress.org/trunk@26551
git-svn-id: http://core.svn.wordpress.org/trunk@26443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 02:11:10 +00:00
Andrew Ozz
fda55bd33b
Comments moderation screen:
...
- Don't resize the textarea when replying to long comments.
- Limit the resizing of the textarea when quick-editing long comments to 500px.
Props SergeyBiryukov, fixes #25746 .
Built from https://develop.svn.wordpress.org/trunk@26550
git-svn-id: http://core.svn.wordpress.org/trunk@26442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:55:10 +00:00