Commit Graph

12135 Commits

Author SHA1 Message Date
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
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
Andrew Ozz
0f20e57329 Heartbeat:
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073.
Built from https://develop.svn.wordpress.org/trunk@26549


git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Andrew Nacin
3fe7726bd4 Remove @uses from get_screen_icon() / screen_icon(). see #26119.
Built from https://develop.svn.wordpress.org/trunk@26541


git-svn-id: http://core.svn.wordpress.org/trunk@26433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:59:10 +00:00
Drew Jaynes
201306f5da Inline documentation for hooks in wp-admin/includes/update.php.
Props stevenkword for the initial patches.
Fixes #26252.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:55:10 +00:00
Matt Thomas
948858e60a Better visual alignment on side-sortables tabs. Fixes #26323, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26539


git-svn-id: http://core.svn.wordpress.org/trunk@26431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 21:44:10 +00:00
Andrew Nacin
4728680f8f Only informally deprecate get_screen_icon() and screen_icon(). fixes #26119.
Built from https://develop.svn.wordpress.org/trunk@26537


git-svn-id: http://core.svn.wordpress.org/trunk@26429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 20:00:11 +00:00
Matt Thomas
b4f2763f8d Restyle .sub text and .mu-storage header to match new admin design conventions. Fixes #26357.
Built from https://develop.svn.wordpress.org/trunk@26536


git-svn-id: http://core.svn.wordpress.org/trunk@26428 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:46:10 +00:00
Andrew Nacin
710803793b Simplify the color scheme profile saving JS. see #25858.
Built from https://develop.svn.wordpress.org/trunk@26535


git-svn-id: http://core.svn.wordpress.org/trunk@26427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:45:10 +00:00
Dominik Schilling
35f42dd2bd Reset responsive styles for the checkbox in auth check window.
props iammattthomas.
fixes #26360.
Built from https://develop.svn.wordpress.org/trunk@26532


git-svn-id: http://core.svn.wordpress.org/trunk@26425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:01:10 +00:00
Andrew Nacin
bb32d28c75 For the current theme, display all available actions, as dictated by the admin menu.
Restores 3.7 behavior. This could include things like Header and Background as well as theme options pages.

see #25948.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26424 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:58:09 +00:00
Andrew Nacin
c6ddea79d1 Themes: Always include the current theme in the list, even if it is not allowed.
see #25948.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 18:46:11 +00:00
Matt Thomas
8d6aa0ab25 Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.
Built from https://develop.svn.wordpress.org/trunk@26528


git-svn-id: http://core.svn.wordpress.org/trunk@26421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:59:10 +00:00
Matt Thomas
076a40e860 Adding a SVG > PNG fallback for IE8 support. See #26348.
Built from https://develop.svn.wordpress.org/trunk@26527


git-svn-id: http://core.svn.wordpress.org/trunk@26420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 17:30:10 +00:00
Dion Hulse
0e5af31e0f Themes: Update notifiations shouldn't be a <a> if they're not links, data.update already contains <p> tags. See #25948
Built from https://develop.svn.wordpress.org/trunk@26524


git-svn-id: http://core.svn.wordpress.org/trunk@26417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 08:38:10 +00:00
Dion Hulse
ea219afa23 Themes: Standardise on dot notation for object access in the Templates. See #25948
Built from https://develop.svn.wordpress.org/trunk@26523


git-svn-id: http://core.svn.wordpress.org/trunk@26416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:34:10 +00:00
Dion Hulse
b6a102f1f5 Themes: Remove some HTML from a new string and put it in the replacement value instead. See #25948
Built from https://develop.svn.wordpress.org/trunk@26522


git-svn-id: http://core.svn.wordpress.org/trunk@26415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:20:09 +00:00
Dion Hulse
c054cdad32 Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
Built from https://develop.svn.wordpress.org/trunk@26521


git-svn-id: http://core.svn.wordpress.org/trunk@26414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:16:10 +00:00
Dion Hulse
6c9356b360 Themes: Indent the HTML for proper indentation after r26519 added an extra div. See #25961, #26192
Built from https://develop.svn.wordpress.org/trunk@26520


git-svn-id: http://core.svn.wordpress.org/trunk@26413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:14:10 +00:00
Dion Hulse
4829e81966 Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961, #26192
Built from https://develop.svn.wordpress.org/trunk@26519


git-svn-id: http://core.svn.wordpress.org/trunk@26412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:12:09 +00:00
Andrew Ozz
8d6059b383 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119
Built from https://develop.svn.wordpress.org/trunk@26518


git-svn-id: http://core.svn.wordpress.org/trunk@26411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:53:11 +00:00
Dion Hulse
ec734890a9 Themes: Add a updated Help text. Props designsimply & hanni. See #26285
Built from https://develop.svn.wordpress.org/trunk@26517


git-svn-id: http://core.svn.wordpress.org/trunk@26410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:23:10 +00:00
Andrew Ozz
830bcf9957 Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086.
Built from https://develop.svn.wordpress.org/trunk@26516


git-svn-id: http://core.svn.wordpress.org/trunk@26409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:19:11 +00:00
Dion Hulse
f1f6cec5e8 Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
Built from https://develop.svn.wordpress.org/trunk@26515


git-svn-id: http://core.svn.wordpress.org/trunk@26408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 01:51:09 +00:00
Dion Hulse
527efd828c Themes: We no longer have a delete link on the multi-grid view. See #25948
Built from https://develop.svn.wordpress.org/trunk@26514


git-svn-id: http://core.svn.wordpress.org/trunk@26407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:55:09 +00:00
Dion Hulse
707eca46ab Themes: Fix the routing for Themes in a sub-directory (/wp-content/themes/prefix/theme-name/style.css) and navigate to hash-url's for searches. See #25948
Built from https://develop.svn.wordpress.org/trunk@26513


git-svn-id: http://core.svn.wordpress.org/trunk@26406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:48:09 +00:00
Dion Hulse
578469fb12 Add braces around a conditional hook. This wasn't causing an issue as if ( conditional ) /* multiline comment */ command(); is perfectly OK, but left open doubt and potential future bugs. See #25229
Built from https://develop.svn.wordpress.org/trunk@26509


git-svn-id: http://core.svn.wordpress.org/trunk@26403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 23:13:09 +00:00
Sergey Biryukov
8ddb058d36 Fix Customize link in theme info window. props kovshenin. see #25948.
Built from https://develop.svn.wordpress.org/trunk@26508


git-svn-id: http://core.svn.wordpress.org/trunk@26402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 21:09:10 +00:00
Dominik Schilling
f43440871f Themes: Fix position of admin notice with .error class. fixes #26304.
Built from https://develop.svn.wordpress.org/trunk@26507


git-svn-id: http://core.svn.wordpress.org/trunk@26401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 20:23:09 +00:00
Andrew Ozz
a6ac0bea23 Improve the admin color scheme picker:
- Easier to extend.
- Remove the "drop-down" look, show all choices inline.
- Some PHP and JS cleanup.
Props ryelle, fixes #26336.
Built from https://develop.svn.wordpress.org/trunk@26506


git-svn-id: http://core.svn.wordpress.org/trunk@26400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 19:50:09 +00:00
Andrew Ozz
db074f8e65 Widgets: improve the help text on the Widgets screen, props siobhan, props Hanni, fixes #26244.
Built from https://develop.svn.wordpress.org/trunk@26505


git-svn-id: http://core.svn.wordpress.org/trunk@26399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 18:29:09 +00:00
Dominik Schilling
19b3779e0e Themes: Fix HTML markup for screenshots. props kovshenin. fixes #25959.
Built from https://develop.svn.wordpress.org/trunk@26504


git-svn-id: http://core.svn.wordpress.org/trunk@26398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 18:00:09 +00:00
Drew Jaynes
c9077348ee Inline documentation for hooks in wp-admin/includes/user.php.
Props aaronholbrook for the initial patch.
Fixes #26099.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 17:54:10 +00:00
Sergey Biryukov
fd0885cf5b Fetch only the required fields in confirm_delete_users().
props rodrigosprimo.
fixes #25178.
Built from https://develop.svn.wordpress.org/trunk@26499


git-svn-id: http://core.svn.wordpress.org/trunk@26393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 11:58:09 +00:00
Dion Hulse
d37d97c9c0 Themes: In the detailed view, disable the next/previous buttons when there are no more items. Fixes #26314
Built from https://develop.svn.wordpress.org/trunk@26498


git-svn-id: http://core.svn.wordpress.org/trunk@26392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:59:11 +00:00
Dion Hulse
5e9796a2fa Themes: For small screen sizes, still allow access to the Customize button (Don't hide the theme actions). See #25948
Built from https://develop.svn.wordpress.org/trunk@26496


git-svn-id: http://core.svn.wordpress.org/trunk@26390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:16:10 +00:00
Dion Hulse
f809af5bd0 Prefix the new Theme classes. Fixes #25966
Built from https://develop.svn.wordpress.org/trunk@26495


git-svn-id: http://core.svn.wordpress.org/trunk@26389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:12:10 +00:00
Dion Hulse
d4ec4ebef6 Rotate the Collapse arrows correctly for RTL, switch the Theme next/previous arrows in RTL. Fixes #26340
Built from https://develop.svn.wordpress.org/trunk@26494


git-svn-id: http://core.svn.wordpress.org/trunk@26388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 04:56:09 +00:00
Drew Jaynes
ee8aa9ee4c Inline documentation for hooks in wp-admin/user-new.php & wp-admin/user-edit.php.
Also fixes one parameter type in wp-includes/user.php.

Fixes #25726.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 01:35:10 +00:00
Dominik Schilling
cc11eeac5b Themes: Merge theme.css into wp-admin.css. fixes #25966.
Built from https://develop.svn.wordpress.org/trunk@26484


git-svn-id: http://core.svn.wordpress.org/trunk@26381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 17:32:10 +00:00
Dominik Schilling
d87b227786 Themes: Prepare wp-admin.css for a merge with theme.css.
* Remove styles for `#current-theme` and `.theme-options`. Markup removed in [26141].
* Move "Tabbed Admin Screen Interface" section out of "Themes" section. See [26466].

see #25966.
Built from https://develop.svn.wordpress.org/trunk@26483


git-svn-id: http://core.svn.wordpress.org/trunk@26380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 16:36:10 +00:00
Dominik Schilling
9c46da21fc Themes: Prepare theme.css for a merge with wp-admin.css.
* Let the code breathe.
* Add necessary vendor prefixes.
* Remove .current-label:before since it was hidden.

see #25966.
Built from https://develop.svn.wordpress.org/trunk@26482


git-svn-id: http://core.svn.wordpress.org/trunk@26379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-30 15:36:11 +00:00
Dominik Schilling
4d3fd06160 Themes: Add type="search" to search. fixes #26331.
Built from https://develop.svn.wordpress.org/trunk@26481


git-svn-id: http://core.svn.wordpress.org/trunk@26378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 22:20:10 +00:00
Dominik Schilling
326bb3dfea Themes: Search the description too.
props dd32.
fixes #26309.
Built from https://develop.svn.wordpress.org/trunk@26480


git-svn-id: http://core.svn.wordpress.org/trunk@26377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 22:18:10 +00:00
Dominik Schilling
2b3e31d6de Network Admin: Remove a superfluous description field and merge two similar strings.
props Hanni, SergeyBiryukov.
fixes #26260.
Built from https://develop.svn.wordpress.org/trunk@26478


git-svn-id: http://core.svn.wordpress.org/trunk@26376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 21:01:10 +00:00
Dominik Schilling
1302f791c0 Mobile: Add some bottom spacing to checkboxes on Nav Menu screen.
props mattheu.
fixes #26325.
Built from https://develop.svn.wordpress.org/trunk@26477


git-svn-id: http://core.svn.wordpress.org/trunk@26375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 19:16:10 +00:00
Dominik Schilling
cc4a1b05b0 Fix selector for category checklists to apply styles to custom taxonomies too.
props mattheu.
fixes #26324.
Built from https://develop.svn.wordpress.org/trunk@26476


git-svn-id: http://core.svn.wordpress.org/trunk@26374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 19:05:10 +00:00
Dominik Schilling
6fdf778e3e Admin CSS: Pinking shears.
Built from https://develop.svn.wordpress.org/trunk@26475


git-svn-id: http://core.svn.wordpress.org/trunk@26373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 19:03:10 +00:00
Andrew Ozz
04d8ac5830 Widgets: highlight all drop zones (open and closed sidebars) on starting to drag a widget to indicate "droppability", fixes #26168.
Built from https://develop.svn.wordpress.org/trunk@26474


git-svn-id: http://core.svn.wordpress.org/trunk@26372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 17:58:10 +00:00