Commit Graph

11961 Commits

Author SHA1 Message Date
Helen Hou-Sandí
f9469c921d Contain Dashboard widget dragging. props lessbloat. fixes #26026.
Built from https://develop.svn.wordpress.org/trunk@26372


git-svn-id: http://core.svn.wordpress.org/trunk@26272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 00:55:09 +00:00
Matt Thomas
a901416416 Darken light gray text on dashboard widgets to ensure adequate color contrast. Fixes #26162, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26371


git-svn-id: http://core.svn.wordpress.org/trunk@26271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 23:50:09 +00:00
Dion Hulse
dc9c5073f5 Themes: Fix the Customize button for the current theme. Props jacklenox. Fixes #26214
Built from https://develop.svn.wordpress.org/trunk@26369


git-svn-id: http://core.svn.wordpress.org/trunk@26270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 07:04:10 +00:00
Mark Jaquith
22c6024f9e Remove unnecessarily gendered pronouns.
fixes #26225

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


git-svn-id: http://core.svn.wordpress.org/trunk@26269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-25 02:05:10 +00:00
Andrew Ozz
c944323a4f Widgets:
- Don't deactivate "draggable" on the widget when the chooser is open. Makes it possible to still drag the "widget-in-question".
- Change the chooser's HTML id to a class to avoid collisions when cloning.
- Refresh the "sortable" positions when an open widget is dragged. Fixes problems moving the widget up or down in the same sidebar.
See #25821
Built from https://develop.svn.wordpress.org/trunk@26366


git-svn-id: http://core.svn.wordpress.org/trunk@26267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 22:07:10 +00:00
Peter Westwood
9e8d825b18 Wrap the settings in the main Network Admin settings page in the expected paragraph tags so that the css applies correctly and the layout doesn't look off. Fixes #26211 props hanni.
Built from https://develop.svn.wordpress.org/trunk@26362


git-svn-id: http://core.svn.wordpress.org/trunk@26263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 16:58:10 +00:00
Peter Westwood
5a3c558ee0 Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props hanni, iandunn, kovshenin.
Built from https://develop.svn.wordpress.org/trunk@26359


git-svn-id: http://core.svn.wordpress.org/trunk@26260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 16:30:10 +00:00
Peter Westwood
1dfdbe7e51 Replace link to Codex with link to new Make page. Fixes #25806 props siobhyb.
Built from https://develop.svn.wordpress.org/trunk@26354


git-svn-id: http://core.svn.wordpress.org/trunk@26255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 15:18:09 +00:00
Jon Cave
fd14a5df71 Allow customisation of theme mod defaults via custom-background theme support.
Give the power to theme authors to select defaults when registering
custom-background support.

Props obenland. Fixes #20816.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 14:05:10 +00:00
Sergey Biryukov
95ff70fcc0 Remove redundant translation function calls.
props markoheijnen.
see #26187.
Built from https://develop.svn.wordpress.org/trunk@26349


git-svn-id: http://core.svn.wordpress.org/trunk@26250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:42:09 +00:00
Dominik Schilling
df6010446a Don't use esc_attr_e() function for a non-translatable context.
props yoavf, mattheu.
fixes #26187.
Built from https://develop.svn.wordpress.org/trunk@26347


git-svn-id: http://core.svn.wordpress.org/trunk@26248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 12:04:09 +00:00
Dion Hulse
5624f82c38 Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667
Built from https://develop.svn.wordpress.org/trunk@26346


git-svn-id: http://core.svn.wordpress.org/trunk@26247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 06:10:10 +00:00
Drew Jaynes
2768466674 Inline documentation for hooks in wp-admin/plugins.php.
Props a.hoereth and kpdesign for the initial patches.
Fixes #25836.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 23:04:10 +00:00
Drew Jaynes
87a3892f45 Inline documentation for hooks in wp-admin/user/admin.php.
Props leewillis77 for the initial patch. Props kpdesign.
Fixes #25825.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:47:10 +00:00
Drew Jaynes
657824a133 Inline documentation for hooks in wp-admin/theme-install.php.
Props leewillis77 and kpdesign for the initial patches.
Fixes #25823.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:37:10 +00:00
Drew Jaynes
e90e224cbd Inline documentation for hooks in wp-admin/includes/class-wp-ms-users-list-table.php.
Props ShinichiN, kpdesign.
Fixes #25612.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 22:25:10 +00:00
Drew Jaynes
ff0ace6fe1 Inline documentation for hooks in wp-admin/includes/class-wp-ms-sites-list-table.php.
Props ShinichiN, kpdesign.
Fixes #25607.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:58:10 +00:00
Drew Jaynes
f82f00a453 Inline documentation for hooks in wp-admin/includes/class-wp-links-list-table.php.
Props JoshuaAbenazer, kpdesign.
Fixes #26052.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:28:11 +00:00
Drew Jaynes
9c5afca0f3 Cleanup incorrect duplicate comments for hooks in wp-admin/edit-tag-form.php introduced in [26274].
Also corrects the @since version for {$taxonomy}_term_new_form_tag in wp-admin/edit-tags.php.

Props kpdesign. See #25532.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 21:18:10 +00:00
Dominik Schilling
d5f124f45e Add a missing semicolon.
Built from https://develop.svn.wordpress.org/trunk@26338


git-svn-id: http://core.svn.wordpress.org/trunk@26239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 16:30:10 +00:00
Dominik Schilling
06b4f99e18 Dashboard: Use _draft_or_post_title() to display (no title) if no post title is set. see #25824.
Built from https://develop.svn.wordpress.org/trunk@26337


git-svn-id: http://core.svn.wordpress.org/trunk@26238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 14:13:09 +00:00
Dominik Schilling
2597e857be Appearance Themes: Don't show theme actions if the current theme doesn't support menus or widgets.
props MikeHansenMe.
fixes #25949.
Built from https://develop.svn.wordpress.org/trunk@26335


git-svn-id: http://core.svn.wordpress.org/trunk@26237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 12:15:10 +00:00
Dominik Schilling
304e3aaa21 Update the Iris color picker to version 1.0.4, which fixes a jQuery-UI CSS conflict.
props mattheu, mattwiebe.
fixes #26097.
Built from https://develop.svn.wordpress.org/trunk@26334


git-svn-id: http://core.svn.wordpress.org/trunk@26236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 12:01:11 +00:00
Matt Thomas
456ce72df2 Make disabled checkboxes and radios slightly less transparent for better visibility on low-contrast screens. Move this rule from colors-fresh to wp-admin as it's not color-specific. Fixes #26004.
Built from https://develop.svn.wordpress.org/trunk@26331


git-svn-id: http://core.svn.wordpress.org/trunk@26233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:56:09 +00:00
Matt Thomas
f0ec4ea835 Use the correct shade of blue for the default filled progress bar color, 0074a2 to match the default scheme's highlight color. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26330


git-svn-id: http://core.svn.wordpress.org/trunk@26232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 19:18:10 +00:00
Sergey Biryukov
5f5c95a5b6 Fix keyboard accessibility for row actions in list tables. Restore the CSS part of [25592], accidentally reverted in [26072].
fixes #26145.
Built from https://develop.svn.wordpress.org/trunk@26324


git-svn-id: http://core.svn.wordpress.org/trunk@26227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:20:10 +00:00
Sergey Biryukov
8d5b038aa1 Fix thickbox positioning on Manage Themes screen. Adjust thickbox resizing code on various screens for new toolbar height.
see #26078. fixes #26140.
Built from https://develop.svn.wordpress.org/trunk@26323


git-svn-id: http://core.svn.wordpress.org/trunk@26226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:06:09 +00:00
Sergey Biryukov
8a51dfff7d Remove gradient for invalid menu items. props melchoyce. fixes #26144.
Built from https://develop.svn.wordpress.org/trunk@26322


git-svn-id: http://core.svn.wordpress.org/trunk@26225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:36:10 +00:00
Dion Hulse
a4390517ca Increase the click target to 100% of the add-new-theme element. Props scottbasgaard. Fixes #25960
Built from https://develop.svn.wordpress.org/trunk@26321


git-svn-id: http://core.svn.wordpress.org/trunk@26224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 07:22:11 +00:00
Dion Hulse
37d2429ed8 Themes: Remove some unused invalid CSS. See #25948
Built from https://develop.svn.wordpress.org/trunk@26320


git-svn-id: http://core.svn.wordpress.org/trunk@26223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 06:40:10 +00:00
Dion Hulse
f392843074 Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
Built from https://develop.svn.wordpress.org/trunk@26317


git-svn-id: http://core.svn.wordpress.org/trunk@26221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 04:03:10 +00:00
Dion Hulse
61ed60c619 Themes: Move the escaping of content from JS back to PHP. This allows us to take advantage of the display() WP_Theme method to translate the text properly, and to strip out any HTML tags we don't wish to display. Fixes #26100. See #25948
Built from https://develop.svn.wordpress.org/trunk@26316


git-svn-id: http://core.svn.wordpress.org/trunk@26220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:34:10 +00:00
Dion Hulse
3be48e6d26 Themes page: Don't display the Author as a link if the Author has no AuthorURI set. Props morganestes. Fixes #26098
Built from https://develop.svn.wordpress.org/trunk@26314


git-svn-id: http://core.svn.wordpress.org/trunk@26218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:10:10 +00:00
Dion Hulse
b7872fd70a Use static strings instead of a impossible-to-translate string in the Automatic updates debug email. Props SergeyBiryukov. Fixes #25667
Built from https://develop.svn.wordpress.org/trunk@26313


git-svn-id: http://core.svn.wordpress.org/trunk@26217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 02:00:10 +00:00
Sergey Biryukov
d4a4db64ef Correct @return value for wp_credits(). props morganestes. fixes #26150.
Built from https://develop.svn.wordpress.org/trunk@26312


git-svn-id: http://core.svn.wordpress.org/trunk@26216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:25:10 +00:00
Matt Thomas
79c8d875fa Make sure color schemes get the 1px white border around checkboxes on the media uploader. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26311


git-svn-id: http://core.svn.wordpress.org/trunk@26215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:22:11 +00:00
Matt Thomas
9da12ebae7 Making a few more adjustments to the uploader progress bar styles. See #26147.
Built from https://develop.svn.wordpress.org/trunk@26310


git-svn-id: http://core.svn.wordpress.org/trunk@26214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:11:09 +00:00
Matt Thomas
a3f4245602 Update the media upload interfaces to match new admin design:
* Replace separate progress bar designs on media-new.php and modal media uploader with a single consistent design
* Remove side borders from list of uploads on media-new.php
* Restyle the selected photo border and checkbox on modal media uploader
* Add a Media Uploader section to color schemes with progress bar and selected photo styles

Fixes #26147. Props melchoyce, iammattthomas.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 00:03:10 +00:00
Matt Thomas
aed612cca4 Combine border and box-shadow styles for inputs, textareas, and selects. Set border-radius to 0 on these elements to override default styling in iOS. See #24387.
Built from https://develop.svn.wordpress.org/trunk@26308


git-svn-id: http://core.svn.wordpress.org/trunk@26212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 20:04:11 +00:00
Andrew Ozz
1aa122be5e Widgets:
- Prevent dragging of the widget-in-question when the chooser is open.
- Don't show more than one spinner when saving widgets positions.
- Disable selecting of text in the widget title. Prevents selecting/highlighting most of the screen when dragging on slower devices.
See #25821.
Built from https://develop.svn.wordpress.org/trunk@26306


git-svn-id: http://core.svn.wordpress.org/trunk@26210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:28:10 +00:00
Sergey Biryukov
129aec7174 Use correct variable. props wet. fixes #26139.
Built from https://develop.svn.wordpress.org/trunk@26303


git-svn-id: http://core.svn.wordpress.org/trunk@26208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 09:46:10 +00:00
Sergey Biryukov
4d56083e5f Use correct variable name in _wp_credits_add_profile_link() inline docs.
props morganestes.
fixes #26134.
Built from https://develop.svn.wordpress.org/trunk@26301


git-svn-id: http://core.svn.wordpress.org/trunk@26206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 03:44:10 +00:00
Matt Thomas
6139ae6953 Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130.
Built from https://develop.svn.wordpress.org/trunk@26300


git-svn-id: http://core.svn.wordpress.org/trunk@26205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:31:10 +00:00
Matt Thomas
5d5114daf9 Bring the install/update screens in line with the new admin design. This affects:
* Creating a wp-config.php file
* Installation
* Database upgrade
* Database repair
* Readme.html
* Network sites actions

What's changed:

* Bring background/text/link/border colours in line with mp6
* Bring fonts in line with mp6 (see note below)
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
* Switch to the new vector WordPress logo in the header to match the log in screen
* Force table cells into rows in the <782px media query

Fixes #25951, props johnbillion.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 00:21:11 +00:00
Matt Thomas
1fc3716b84 Some improvements to the dashboard activity widget:
* Use the correct background color for unapproved comments.
* Use the sale box-shadow style instead of a border between rows so the orange border is uninterrupted between multiple pending comments.

See #25858.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:33:11 +00:00
Andrew Ozz
93faad2403 Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26296


git-svn-id: http://core.svn.wordpress.org/trunk@26201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 23:29:09 +00:00
Matt Thomas
f26fea70c5 Making improvements to new styles added in the MP6 merge, and addressing visual feedback from core team.
Improved and more consistent styling on the widgets & menus pages:

* Use the same visual treatment for both widgets and menus.
* Re-use existing styles from input:focus for draggable elements.
* Use the standard H3 size for widget area titles.
* Re-style the Widgets page drop zone to match drop zone from dashboard.
* Replace the gear icon on Widgets with the standard open/close arrows.
* Remove "Choose a sidebar" header from widget area chooser.

Make open/close arrows more consistent:

* Use the same arrow direction everywhere: pointing down when its container is closed, pointing up when open (following the Dashboard example).
* Set a consistent color for open/close arrows.
* Add a hover color for open/close arrows.
* Make open/close arrows permanently visible; :hover states don't exist on touch.

Make typography and color more consistent:

* Switch all declarations of #dedede to #ddd for simplicity's sake.
* Make H3s the same weight and color as H2s.
* Make select elements the same color as text inputs.
* Make paragraph text #444 so it doesn't look washed out on grey backgrounds.

General improvements:

* Eliminate the border between rows in settings tables.
* Make text and buttons line up in the Customizer.

See #25858.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:48:09 +00:00
Sergey Biryukov
701cd7bf86 Fix JSHint errors in image-edit.js.
props dougwollison.
fixes #26000.
Built from https://develop.svn.wordpress.org/trunk@26292


git-svn-id: http://core.svn.wordpress.org/trunk@26197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:47:10 +00:00
Andrew Nacin
4f08cf2efa Dash cleanup.
* Use wp_add_dashboard_widget() rather than add_meta_box().
 * Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
 * Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
 * Remove some debug cruft that was preventing caching and invalidation.
 * Simplify lots of things where possible.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 19:44:12 +00:00
Matt Thomas
c30631fbcc Cleanup on inputs:
* Remove the !important from checkbox and radio border color
* Remove the redundant #wpbody select rule
* Add checkbox and radio inputs to the standard :focus style rules for inputs
* Remove custom border and box shadow styles from .login inputs
* Don't remove the default outline from select elements since webkit doesn't allow borders on selects

Fixes #26120.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 16:54:10 +00:00
Sergey Biryukov
b545ee773e Only show "Add New Theme" block on Manage Themes screen if not Multisite and the user can install themes.
props markoheijnen.
see #25948.
Built from https://develop.svn.wordpress.org/trunk@26288


git-svn-id: http://core.svn.wordpress.org/trunk@26193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 14:09:10 +00:00
Sergey Biryukov
6927ba52b1 Fix JSHint errors in widgets.js.
props jorbin.
fixes #26127.
Built from https://develop.svn.wordpress.org/trunk@26287


git-svn-id: http://core.svn.wordpress.org/trunk@26192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 11:12:11 +00:00
Andrew Ozz
c39f333b06 Widgets: fix html for sidebars columns when the theme has only one sidebar. See #25952.
Built from https://develop.svn.wordpress.org/trunk@26286


git-svn-id: http://core.svn.wordpress.org/trunk@26191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 05:09:10 +00:00
Andrew Ozz
30b1c76a01 Widgets: split the sidebars in two containers so there are no empty spaces when they are shown in two columns and some are open, other closed. See #25952.
Built from https://develop.svn.wordpress.org/trunk@26285


git-svn-id: http://core.svn.wordpress.org/trunk@26190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 04:45:10 +00:00
Drew Jaynes
2b0a5aedc9 Inline documentation for hooks in wp-admin/my-sites.php.
Props megane9988, kpdesign.
Fixes #25586.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 03:36:09 +00:00
Dion Hulse
09cd62d863 Remove the active row theme/plugin styling on Dashboard -> Updates. Fixes #26125
Built from https://develop.svn.wordpress.org/trunk@26283


git-svn-id: http://core.svn.wordpress.org/trunk@26188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 03:03:10 +00:00
Dion Hulse
893262f742 Themes: Add a get_theme_update_available() function to retrieve an update link and use it on the Themes page. See #26078
Built from https://develop.svn.wordpress.org/trunk@26282


git-svn-id: http://core.svn.wordpress.org/trunk@26187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:57:10 +00:00
Andrew Ozz
7cce4a8d8d Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821
Built from https://develop.svn.wordpress.org/trunk@26281


git-svn-id: http://core.svn.wordpress.org/trunk@26186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:41:09 +00:00
Dion Hulse
c6224a6c0c Themes page: Remove a z-index which caused the Current Theme overlay to overlay menu's, that otherwise appears unused. See #25948
Built from https://develop.svn.wordpress.org/trunk@26280


git-svn-id: http://core.svn.wordpress.org/trunk@26185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:30:10 +00:00
Dion Hulse
0755f5a2dc Translate the debug update email for development installs. Props Nao for initial patch. See #25667
Built from https://develop.svn.wordpress.org/trunk@26279


git-svn-id: http://core.svn.wordpress.org/trunk@26184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 02:04:10 +00:00
Dion Hulse
5862ddbd8f Appearance: Fix a PHP Notice when the update transient isn't available (for example, due to a timeout or being used offline). See #25948
Built from https://develop.svn.wordpress.org/trunk@26278


git-svn-id: http://core.svn.wordpress.org/trunk@26183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 01:40:09 +00:00
Andrew Ozz
4070cdcf66 Widgets:
- Fix support for expanding (wide) widgets in the Inactive Widgets area.
- Remove resizing of the sidebars height.
- Stop removing unneeded "for" attributes from labels inside the widgets. Was a fix for IE6 odd behaviour.  

See #26117.
Built from https://develop.svn.wordpress.org/trunk@26277


git-svn-id: http://core.svn.wordpress.org/trunk@26182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 01:35:10 +00:00
Andrew Ozz
8de3d7d15e Widgets:
- Remove the !important styles that were overriding the widget width when expanded.
- Fix missing border-bottom from widgets when dragged and expanded.
Props shaunandrews, see #26117.
Built from https://develop.svn.wordpress.org/trunk@26275


git-svn-id: http://core.svn.wordpress.org/trunk@26180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:47:10 +00:00
Drew Jaynes
a9a62622bc Inline documentation for hooks in wp-admin/edit-tags.php.
Props pauldewouters for the initial patch.
Fixes #25532.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 23:16:10 +00:00
Andrew Nacin
ad52b4ddd4 Remove whitespace from the inside of a <textarea> element, added in [26138] with inline documentation.
see #25662.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 19:35:10 +00:00
Andrew Ozz
c19660468b Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821
Built from https://develop.svn.wordpress.org/trunk@26271


git-svn-id: http://core.svn.wordpress.org/trunk@26176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 18:03:09 +00:00
Sergey Biryukov
3a0a3bb775 Fix JSHint errors in gallery.js.
props dougwollison.
fixes #25999.
Built from https://develop.svn.wordpress.org/trunk@26269


git-svn-id: http://core.svn.wordpress.org/trunk@26174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 11:10:09 +00:00
Andrew Nacin
42293a5c7c Fix JShint errors in user-profile.js.
props dougwollison.
fixes #26016.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:40:10 +00:00
Andrew Nacin
56f5b8b4ec JSHint fixes for inline-edit-tax.js.
props dougwollison.
fixes #26002.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:35:09 +00:00
Andrew Nacin
6212b30ddd JShint fixes for inline-edit-post.js.
props dougwollison.
fixes #26001.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:32:10 +00:00
Dion Hulse
0fc053528f Plugin Deletion: Remove the correct transient after demoving plugins. Props jdgrimes. Fixes #26069
Built from https://develop.svn.wordpress.org/trunk@26263


git-svn-id: http://core.svn.wordpress.org/trunk@26169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:17:09 +00:00
Dion Hulse
f29b2e02ac Plugin Deletion: Properly clear the cache when multiple plugins are deleted. Props jdgrimes. Fixes #26065
Built from https://develop.svn.wordpress.org/trunk@26262


git-svn-id: http://core.svn.wordpress.org/trunk@26168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 04:08:09 +00:00
Andrew Ozz
4a5e64e682 Widgets: remove some unused styles, props shaunandrews, see #25821
Built from https://develop.svn.wordpress.org/trunk@26259


git-svn-id: http://core.svn.wordpress.org/trunk@26165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:06:09 +00:00
Matt Thomas
929486f848 Make the item-controls elements on the Edit Menus page line up; use :before instead of :after for item-edit icons for better cross-browser performance; switch to :after instead of ::after for pseudo-elements so IE8 displays these icons properly. Fixes #26059, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26256


git-svn-id: http://core.svn.wordpress.org/trunk@26162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 22:10:10 +00:00
Matt Thomas
fe476702fc Make password inputs on profile.php match the width of other text inputs. Fixes #26079, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26253


git-svn-id: http://core.svn.wordpress.org/trunk@26159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 21:31:09 +00:00
Scott Taylor
da05f7435b For unit tests that call wpmu_create_blog(), Blog factory, or installation code that attempts to clear transients: suppress database errors on setUp and restore on tearDown.
There are a few places in core that were preventing this from working by explicity setting `$wpdb->suppress_errors` to `false`. Instead, they should inherit the value that existed before errors were suppressed.

This allows Multisite unit tests to run without explosive database errors, and allows `$wpdb->suppress_errors` to be overridden all the way down the chain.

Fixes #26102.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:45:11 +00:00
Sergey Biryukov
0df020b516 Remove unused global reference. props jeremyfelt. fixes #26103.
Built from https://develop.svn.wordpress.org/trunk@26251


git-svn-id: http://core.svn.wordpress.org/trunk@26157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 20:19:09 +00:00
Matt Thomas
116d02da86 Put the 'Safe Draft' button back in its place in the Publish box. Fixes #26081, props aubreypwd.
Built from https://develop.svn.wordpress.org/trunk@26248


git-svn-id: http://core.svn.wordpress.org/trunk@26154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:04:09 +00:00
Matt Thomas
7fe71ffe81 Style and positioning fixes to form elements in the Publish box:
- Make select element text #555 to match others
- Make Cancel links vertically align with buttons
- Make sure the spacing between buttons and cancel links is always consistent
- Override active button styles for responsive states so button size doesn't change when active
- Reduce font size of date select element to match date text inputs

Fixes #26082, props aubreypwd.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 18:53:10 +00:00
Sergey Biryukov
83adea3986 Remove debug cruft. props nbachiyski. see #25791.
Built from https://develop.svn.wordpress.org/trunk@26245


git-svn-id: http://core.svn.wordpress.org/trunk@26152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 13:18:09 +00:00
Andrew Nacin
89005c8b31 Add level-X classes to the posts list table rows.
props jhned.
fixes #25791.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 20:40:09 +00:00
Andrew Nacin
fb69ea9028 Stop using .rtl classes, instead relying on flipping LTR CSS to RTL.
props yoavf.
fixes #24977.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 16:18:11 +00:00
Sergey Biryukov
35ec8405f0 Fix date comparison in dashboard_relative_date(). fixes #26033.
Built from https://develop.svn.wordpress.org/trunk@26242


git-svn-id: http://core.svn.wordpress.org/trunk@26149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 03:30:09 +00:00
Sergey Biryukov
ecd594b5a6 PHPDoc and i18n fixes for dashboard widgets.
props dimadin for initial patch.
see #25824.
Built from https://develop.svn.wordpress.org/trunk@26241


git-svn-id: http://core.svn.wordpress.org/trunk@26148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 03:21:10 +00:00
Sergey Biryukov
507f47d03f Fix CSS formatting. Remove redundant rule. see #25976. see #25824.
Built from https://develop.svn.wordpress.org/trunk@26240


git-svn-id: http://core.svn.wordpress.org/trunk@26147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 01:11:09 +00:00
Sergey Biryukov
5965ca48ce Fix padding for Quick Draft dashboard widget when there are no drafts.
props aubreypwd.
fixes #26076.
Built from https://develop.svn.wordpress.org/trunk@26239


git-svn-id: http://core.svn.wordpress.org/trunk@26146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-17 00:38:09 +00:00
Andrew Nacin
7d1fda5b52 JSHint fixes for user-suggest.js.
props dougwollison.
fixes #26017.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 20:41:12 +00:00
Sergey Biryukov
38c5e9a668 Inline documentation for hooks in wp-admin/press-this.php.
props ninio, kpdesign.
fixes #25731.
Built from https://develop.svn.wordpress.org/trunk@26237


git-svn-id: http://core.svn.wordpress.org/trunk@26144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 19:13:10 +00:00
Sergey Biryukov
53d47bf514 Remove redundant current_user_can() check. props jeremyfelt. fixes #26057.
Built from https://develop.svn.wordpress.org/trunk@26236


git-svn-id: http://core.svn.wordpress.org/trunk@26143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 17:38:11 +00:00
Sergey Biryukov
c7a96bbf29 Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network().
fixes #25158.
Built from https://develop.svn.wordpress.org/trunk@26235


git-svn-id: http://core.svn.wordpress.org/trunk@26142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 13:46:10 +00:00
Sergey Biryukov
4e28c278a5 Fix replacement regex in wp-admin/js/nav-menu.js.
props rzen, jeremyfelt.
fixes #26047.
Built from https://develop.svn.wordpress.org/trunk@26233


git-svn-id: http://core.svn.wordpress.org/trunk@26140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-16 07:42:11 +00:00
Andrew Nacin
ef007d1a40 Fix JSHint errors in three files.
props tommcfarlin.
fixes #25942, #25943, #25944.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 23:19:09 +00:00
Andrew Nacin
c03d9d3f01 Revert these action blocks in wp-admin/post.php to their pre-[26144] state.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:29:09 +00:00
Andrew Nacin
791e807f08 More dash updates.
* Shuffle around some pixels.
 * Rename some things that weren't caught in [26220].
 * Revert default-widgets.php change from [26144].
props lessbloat.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 22:23:09 +00:00
Matt Thomas
7b06d5b0a9 Move media uploader responsive styles from wp-admin.css to media-views.css; clean up duplicated media queries. See #25977.
Built from https://develop.svn.wordpress.org/trunk@26229


git-svn-id: http://core.svn.wordpress.org/trunk@26136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:47:09 +00:00
Andrew Ozz
0395919b11 JSHint fixes for editor.js. Props dougwollison, fixes #25947
Built from https://develop.svn.wordpress.org/trunk@26224


git-svn-id: http://core.svn.wordpress.org/trunk@26131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:03:10 +00:00
Matt Thomas
114d47cf18 Make the Install Plugins search results page responsive, so the table doesn't overflow the viewport. Props joen, fixes #25976.
Built from https://develop.svn.wordpress.org/trunk@26223


git-svn-id: http://core.svn.wordpress.org/trunk@26130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:59:11 +00:00
Andrew Nacin
963b2aa574 Merge wp_dashboard_recent_quickdrafts() into wp_dashboard_quick_press(). see #25824.
Built from https://develop.svn.wordpress.org/trunk@26221


git-svn-id: http://core.svn.wordpress.org/trunk@26129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:40:15 +00:00
Andrew Nacin
2cc8ed1594 Dash cleanup.
* Use wp_add_dashboard_widget() rather than add_meta_box().
 * Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
 * Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
 * Remove some debug cruft that was preventing caching and invalidation.
 * Simplify lots of things where possible.
see #25824.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 20:15:10 +00:00
Matt Thomas
a9bab73408 Improvements to the media uploader at responsive sizes:
* Change load order so larger breakpoint loads before smaller breakpoint.
* Use absolute positioning rather than floats, to fix some overflow issues.
* Remove the max-height media query so desktop browsers benefit from the responsive styles.
* Reset text inputs to 16px so iOS doesn't force zoom.
* Adjust the position of the close button so it doesn't overlap the Create Gallery link.

See #25977. Props joen.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:54:10 +00:00