Commit Graph

12115 Commits

Author SHA1 Message Date
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
Dominik Schilling e5ab876603 Themes: Add missing close tag, see [26462]. see #25959.
Built from https://develop.svn.wordpress.org/trunk@26473


git-svn-id: http://core.svn.wordpress.org/trunk@26371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 17:17:11 +00:00
Dion Hulse 0af3bf7748 Themes: Restore a label accidentally removed in r26470. Props SergeyBiryukov. See #25948
Built from https://develop.svn.wordpress.org/trunk@26472


git-svn-id: http://core.svn.wordpress.org/trunk@26370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 12:04:11 +00:00
Dion Hulse deb9469bb7 Remove RTL and MP6 references from colors-fresh.css as they're now irrelevant to the file.
Built from https://develop.svn.wordpress.org/trunk@26471


git-svn-id: http://core.svn.wordpress.org/trunk@26369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 11:24:09 +00:00
Dion Hulse 8ad620e51f Themes: Do extra Cap checks before outputting links, and use full URI's. See #25948
Built from https://develop.svn.wordpress.org/trunk@26470


git-svn-id: http://core.svn.wordpress.org/trunk@26368 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 09:01:09 +00:00
Dion Hulse c8b13eaa35 Themes: When the user doesn't have switch_themes capabilities, and we've passed the current theme, detect the theme slug/stylesheet correctly so that the flags are set properly. See #25948
Built from https://develop.svn.wordpress.org/trunk@26469


git-svn-id: http://core.svn.wordpress.org/trunk@26367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 08:38:09 +00:00
Dion Hulse 1a8b4dfced Themes: Add a clearing <br/> to the end of .theme-browser.
This is needed to cause the browser to render .theme-browser's height as it's true height, previously the reported height was 1*.theme which caused the Theme scroller to kick in immediately (as the threshold was less than 0).
See #25981 See #25948

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


git-svn-id: http://core.svn.wordpress.org/trunk@26366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:17:11 +00:00
Dion Hulse a2607efe8b Themes: Use _.throttle() instead of a custom one. Props matveb. Fixes #25981
Built from https://develop.svn.wordpress.org/trunk@26467


git-svn-id: http://core.svn.wordpress.org/trunk@26365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:14:09 +00:00
Dion Hulse f581667614 Themes: Remove the Tabs from the header of the Add New Theme page. Fixes #26310
Built from https://develop.svn.wordpress.org/trunk@26466


git-svn-id: http://core.svn.wordpress.org/trunk@26364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:41:10 +00:00
Dion Hulse 9e80aaba10 Themes: Remove a now defunct CSS class, .feature-container, which is no longer in use after r26141. See #25948
Built from https://develop.svn.wordpress.org/trunk@26465


git-svn-id: http://core.svn.wordpress.org/trunk@26363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:35:10 +00:00
Dion Hulse ff3732e227 Themes: Update the responsive layouts for the Search box after r26461. See #26305
Built from https://develop.svn.wordpress.org/trunk@26464


git-svn-id: http://core.svn.wordpress.org/trunk@26362 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:29:09 +00:00
Dion Hulse 54d658ee4e Themes: Remove some unused CSS (we have neither a .theme-categories or .theme-linear-grid). See #25948
Built from https://develop.svn.wordpress.org/trunk@26463


git-svn-id: http://core.svn.wordpress.org/trunk@26361 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:22:10 +00:00
Dion Hulse 2c78650fd0 Themes: Add a default image for when a theme doesn't have a screenshot. Props matveb. See #25959
Built from https://develop.svn.wordpress.org/trunk@26462


git-svn-id: http://core.svn.wordpress.org/trunk@26360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 04:04:11 +00:00
Dion Hulse 483824f8fb Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305
Built from https://develop.svn.wordpress.org/trunk@26461


git-svn-id: http://core.svn.wordpress.org/trunk@26359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:40:09 +00:00
Dion Hulse 3e094ca937 Themes: Remove a mp6 reference which is no longer needed. See #25948
Built from https://develop.svn.wordpress.org/trunk@26460


git-svn-id: http://core.svn.wordpress.org/trunk@26358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:03:10 +00:00
Dion Hulse 72166b14ad Themes: Remove an unused Delete Theme link on the multiple view. See #25948
Built from https://develop.svn.wordpress.org/trunk@26459


git-svn-id: http://core.svn.wordpress.org/trunk@26357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 01:55:10 +00:00
Dion Hulse bdb9112f28 Themes: Style the Theme Author the same in the multi and singular view, make the links readable. Fixes #26306
Built from https://develop.svn.wordpress.org/trunk@26458


git-svn-id: http://core.svn.wordpress.org/trunk@26356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 01:53:10 +00:00
Helen Hou-Sandí 99f969df3c Add remove_option(), remove_options(), and get_options() methods to WP_Screen, along with unit tests. props ocean90, DrewAPicture. fixes #25799.
Built from https://develop.svn.wordpress.org/trunk@26456


git-svn-id: http://core.svn.wordpress.org/trunk@26354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 05:10:09 +00:00
Helen Hou-Sandí 23b03c0a4f Also get more targeted for taxonomy columns. Consolidate column hiding into one rule. props SergeyBiryukov. fixes #26298.
Built from https://develop.svn.wordpress.org/trunk@26454


git-svn-id: http://core.svn.wordpress.org/trunk@26352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:53:09 +00:00
Helen Hou-Sandí e6e69d33d8 Get more specific with responsive list table column hiding. Removes unused styling for the plugins list table. fixes #26298.
Built from https://develop.svn.wordpress.org/trunk@26453


git-svn-id: http://core.svn.wordpress.org/trunk@26351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:21:10 +00:00
Helen Hou-Sandí 2c0501573d Keep #screen-meta font size consistent. props SergeyBiryukov. fixes #26300.
Built from https://develop.svn.wordpress.org/trunk@26452


git-svn-id: http://core.svn.wordpress.org/trunk@26350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-28 03:02:09 +00:00