Commit Graph

24151 Commits

Author SHA1 Message Date
Andrew Ozz
29af7b55f3 Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952.
Built from https://develop.svn.wordpress.org/trunk@26427


git-svn-id: http://core.svn.wordpress.org/trunk@26327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:42:09 +00:00
Andrew Ozz
f46e743343 Widgets: drop onto closed sidebars.
- Make dropping a widget easier by preventing the source sidebar from resizing while the widget is being dragged.
- Move widgets dropped on closed sidebars to the top. UI Sortable places them randomly near the bottom.
- Fix possible regression in wp_list_widget_controls(), add an optional argument to output the sidebar name inside the sortable container.
- Updated styles for sidebar description and widget-hover class.
Part props shaunandrews, fixes #25952.
Built from https://develop.svn.wordpress.org/trunk@26426


git-svn-id: http://core.svn.wordpress.org/trunk@26326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:30:10 +00:00
Sergey Biryukov
49a0254863 Fix the ability to save changes made to an image.
props markoheijnen.
fixes #26000.
Built from https://develop.svn.wordpress.org/trunk@26425


git-svn-id: http://core.svn.wordpress.org/trunk@26325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 23:31:10 +00:00
Matt Thomas
2205a0885a Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26424


git-svn-id: http://core.svn.wordpress.org/trunk@26324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:55:11 +00:00
Matt Thomas
bc4a8f6494 Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26423


git-svn-id: http://core.svn.wordpress.org/trunk@26323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:44:10 +00:00
Matt Thomas
5a3717d526 Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle.
Built from https://develop.svn.wordpress.org/trunk@26422


git-svn-id: http://core.svn.wordpress.org/trunk@26322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:36:11 +00:00
Andrew Ozz
758a07bfd3 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
Built from https://develop.svn.wordpress.org/trunk@26421


git-svn-id: http://core.svn.wordpress.org/trunk@26321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:19:14 +00:00
Matt Thomas
2fdde46bd8 Unify the style of button-small everywhere we use it, and make sure the edit slug input lines up with its button and label. Fixes #26261, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26420


git-svn-id: http://core.svn.wordpress.org/trunk@26320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:10:09 +00:00
Matt Thomas
252d16c501 Admin pointers don't work at responsive sizes because of responsive layout adjustments. Hide the pointers for now until they're made responsive. Fixes #25984.
Built from https://develop.svn.wordpress.org/trunk@26419


git-svn-id: http://core.svn.wordpress.org/trunk@26319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:47:11 +00:00
Sergey Biryukov
c85484e9cf Fix typo in a comment. props kovshenin. fixes #26266.
Built from https://develop.svn.wordpress.org/trunk@26418


git-svn-id: http://core.svn.wordpress.org/trunk@26318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:45:09 +00:00
Matt Thomas
f11e29b4ef Remove gradients and text-shadow from ui-slider-handle and restyle it to mimic buttons. Match the background color to the chosen color scheme's -color. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26417


git-svn-id: http://core.svn.wordpress.org/trunk@26317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:38:10 +00:00
Matt Thomas
36b2183f03 Hide registered and users columns in Sites table on small screens to prevent columms from becoming too narrow. Fixes #25973, props johnbillion.
Built from https://develop.svn.wordpress.org/trunk@26416


git-svn-id: http://core.svn.wordpress.org/trunk@26316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:37:09 +00:00
Matt Thomas
e682d6ba29 Match the background color of the responsive toggle button active state to -submenu-background, so it matches color schemes. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26415


git-svn-id: http://core.svn.wordpress.org/trunk@26315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:17:10 +00:00
Matt Thomas
126f6cec39 Eliminate the transition animation on the responsive sidebar; set the responsive sidebar to display: none by default so it doesn't appear momentarily when loading the page. Fixes #25969.
Built from https://develop.svn.wordpress.org/trunk@26414


git-svn-id: http://core.svn.wordpress.org/trunk@26314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 19:06:11 +00:00
Matt Thomas
d4eff70d07 Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.
Built from https://develop.svn.wordpress.org/trunk@26413


git-svn-id: http://core.svn.wordpress.org/trunk@26313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 18:20:10 +00:00
Matt Thomas
24d4ba3ac4 Adjust the mceResize handle so it matches the handle on the plain text editor. See #26241.
Built from https://develop.svn.wordpress.org/trunk@26412


git-svn-id: http://core.svn.wordpress.org/trunk@26312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:53:10 +00:00
Matt Thomas
6a61711d24 Better alignment of Visual and Text tabs with editor, better alignment of word count container with editor, eliminate gap between tabs and editor on Press This. Fixes #26238, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26411


git-svn-id: http://core.svn.wordpress.org/trunk@26311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:48:09 +00:00
Matt Thomas
47b5c62d3e Restore the bottom border to .wp-editor-container so it's not missing when the editor appears outside the main editor container. Fixes #26241, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26410


git-svn-id: http://core.svn.wordpress.org/trunk@26310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:42:10 +00:00
Lance Willett
96526c7c0c Twenty Fourteen: fix image alignment in editor styles, props azaozz and RDall. Fixes #26108.
Built from https://develop.svn.wordpress.org/trunk@26409


git-svn-id: http://core.svn.wordpress.org/trunk@26309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:38:11 +00:00
Matt Thomas
f02c3f3037 Keep the resize handle from jumping around when switching between the Visual and Text editors. Fixes #26246, props mattheu.
Built from https://develop.svn.wordpress.org/trunk@26408


git-svn-id: http://core.svn.wordpress.org/trunk@26308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:29:09 +00:00
Matt Thomas
268c0dd8d8 Improvements to hover and focus states on the adminbar:
* Add a clear hover state for top-level links in the adminbar.
* Add :focus styles to the adminbar for keyboard accessibility.
* Ensure that the username link in the profile submenu gets a :hover style.
* Add adminbar hover styles to color schemes.
* Set -webkit-font-smoothing to subpixel-antialiased on the adminbar so that Safari doesn't switch to standard antialiasing on mouseover.

Fixes #26152, props ryelle.


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


git-svn-id: http://core.svn.wordpress.org/trunk@26307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 17:18:11 +00:00
Sergey Biryukov
f0a4d5a991 Rename mp6_color_scheme JS global to wp_color_scheme.
props kovshenin.
see #26263.
Built from https://develop.svn.wordpress.org/trunk@26406


git-svn-id: http://core.svn.wordpress.org/trunk@26306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:58:10 +00:00
Sergey Biryukov
e93a99f1b5 Apply paragraph description class on wp-admin/network.php for consistency.
props Hanni.
fixes #26264.
Built from https://develop.svn.wordpress.org/trunk@26405


git-svn-id: http://core.svn.wordpress.org/trunk@26305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 13:23:09 +00:00
Sergey Biryukov
196f1b4647 Fix typo in rss.js feed templates. props Latz. fixes #26258.
Built from https://develop.svn.wordpress.org/trunk@26404


git-svn-id: http://core.svn.wordpress.org/trunk@26304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 12:40:09 +00:00
Sergey Biryukov
77882e1c20 Remove obsolete image reference from thickboxL10n. props kovshenin. fixes #26257.
Built from https://develop.svn.wordpress.org/trunk@26403


git-svn-id: http://core.svn.wordpress.org/trunk@26303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 11:46:10 +00:00
Andrew Ozz
b8984636c2 Clean up the sticky menu and responsive tweaks JS:
- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086, fixes #26088.
Built from https://develop.svn.wordpress.org/trunk@26402


git-svn-id: http://core.svn.wordpress.org/trunk@26302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:57:10 +00:00
Drew Jaynes
73f42e01a2 Inline documentation for hooks in wp-admin/includes/class-wp-list-table.php.
Props miyauchi, kpdesign.
Fixes 25848.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:12:09 +00:00
Drew Jaynes
04509a1b23 Inline documentation for hooks in wp-includes/media-template.php.
Props odysseygate for the initial patch. Props kpdesign.
Fixes #25847.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 07:52:08 +00:00
Drew Jaynes
89211ee8d6 Inline documentation for hooks in wp-admin/post.php.
Props nukaga, kpdesign.
Fixes #25846.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 07:44:10 +00:00
Helen Hou-Sandí
b51436a4de Make sure WP_Editor and Thickbox styles have Dashicons as a dependency, as they can be used on the front. props johnjamesjacoby. fixes #26236.
Built from https://develop.svn.wordpress.org/trunk@26398


git-svn-id: http://core.svn.wordpress.org/trunk@26298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:48:09 +00:00
Helen Hou-Sandí
e6a98258be Add some deleted images to the $_old_files array. see [26391], [26395], #26232, #26178.
Built from https://develop.svn.wordpress.org/trunk@26397


git-svn-id: http://core.svn.wordpress.org/trunk@26297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:42:09 +00:00
Matt Thomas
2d2d9c083e Remove the new thickbox styles from wp-admin.css. See #26178
Built from https://develop.svn.wordpress.org/trunk@26396


git-svn-id: http://core.svn.wordpress.org/trunk@26296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:35:10 +00:00
Matt Thomas
97319603e3 Move thickbox styles from wp-admin.css to thickbox.css. Remove old png close icons. Fixes #26178.
Built from https://develop.svn.wordpress.org/trunk@26395


git-svn-id: http://core.svn.wordpress.org/trunk@26295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:32:09 +00:00
Helen Hou-Sandí
236f388d6d Don't show the Activity widget on the Network Admin Dashboard. props ocean90. fixes #26184.
Built from https://develop.svn.wordpress.org/trunk@26394


git-svn-id: http://core.svn.wordpress.org/trunk@26294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:29:10 +00:00
Matt Thomas
e34a91cb56 Make ratings stars 20px to match dashicons native size so they're crisp on all screens. See #26170, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26393


git-svn-id: http://core.svn.wordpress.org/trunk@26293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:12:09 +00:00
Helen Hou-Sandí
2c9af1367e Dashboard columns:
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.

props SergeyBiryukov, kraftbj, lessbloat. fixes #26074.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:09:10 +00:00
Matt Thomas
c7bd838884 When MP6 was merged into core, the new MCE images weren't added. Replace old MCE gifs with new PNGs and correct the paths to their 2x versions. See #26232.
Built from https://develop.svn.wordpress.org/trunk@26391


git-svn-id: http://core.svn.wordpress.org/trunk@26291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:59:09 +00:00
Helen Hou-Sandí
e911c4272a Dashboard JS cleanup. props kadamwhite, helen. see #25824.
Built from https://develop.svn.wordpress.org/trunk@26390


git-svn-id: http://core.svn.wordpress.org/trunk@26290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:38:09 +00:00
Matt Thomas
1163eaeb7c Remove button-secondary class from Collapse link in theme installer; unify Collapse button styles in theme installer and Customize screen; add a border around the Collapse icon so it remains visible on dark backgrounds; move the color styles to colors-fresh. Fixes #26230.
Built from https://develop.svn.wordpress.org/trunk@26389


git-svn-id: http://core.svn.wordpress.org/trunk@26289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:14:09 +00:00
Drew Jaynes
223a2c7138 Inline documentation for the following filter hooks in wp-includes/pluggable.php:
* `comment_notification_recipients`
* `comment_notification_notify_author`

Also removes some generic `@uses` tags from various related doc blocks.

Props markjaquith.
Fixes #25699.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:10:09 +00:00
Matt Thomas
0e99fe6bb5 Add #adminmenu to this background color rule so it remains visible on mobile when the sidebar is longer than the main column, like on media-new.php. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26387


git-svn-id: http://core.svn.wordpress.org/trunk@26287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:51:09 +00:00
Matt Thomas
e86c507db0 Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968, props melchoyce.
Built from https://develop.svn.wordpress.org/trunk@26386


git-svn-id: http://core.svn.wordpress.org/trunk@26286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:36:09 +00:00
Matt Thomas
9f529e99e3 Style the color picker button to match the new standard button style. Adjust font size and height of 'Default' button to match color picker button. Fixes #26179.
Built from https://develop.svn.wordpress.org/trunk@26385


git-svn-id: http://core.svn.wordpress.org/trunk@26285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:28:09 +00:00
Matt Thomas
10dc5dc6a1 Make sure that select elements vertically align properly with other text. Fixes #26136, props jeremyfelt.
Built from https://develop.svn.wordpress.org/trunk@26384


git-svn-id: http://core.svn.wordpress.org/trunk@26284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 03:03:09 +00:00
Matt Thomas
eaa3690f2c Combine these selectors which both target the 'Menu Structure' heading on Edit Menus. Use .menu-edit instead of #post-body to ensure this margin applies only to the Edit Menus page. Fixes #26228.
Built from https://develop.svn.wordpress.org/trunk@26383


git-svn-id: http://core.svn.wordpress.org/trunk@26283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:54:09 +00:00
Matt Thomas
435c690d8f Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.
Built from https://develop.svn.wordpress.org/trunk@26382


git-svn-id: http://core.svn.wordpress.org/trunk@26282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:42:10 +00:00
Dion Hulse
d25288a7f7 Revert the change to use add_query_arg() for Open Sans, as it causes a fatal error when script concatenation is used. See #26063
Built from https://develop.svn.wordpress.org/trunk@26381


git-svn-id: http://core.svn.wordpress.org/trunk@26281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:41:09 +00:00
Dion Hulse
89dfee993d Replace the Star ratings in the dashboard with dashicons ratings.
This also moves the ratings to only displaying full, half, or empty stars (ie. 3.0, 3.5, 4.0, no 3.7 ratings - which are rounded).
Fixes #26170

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


git-svn-id: http://core.svn.wordpress.org/trunk@26280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:25:21 +00:00
Matt Thomas
43ef093ce1 Add padding to #wpbody at viewports < 600px so that content isn't overlapped by the absolute-positioned adminbar. See #25858.
Built from https://develop.svn.wordpress.org/trunk@26379


git-svn-id: http://core.svn.wordpress.org/trunk@26279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 02:05:10 +00:00
Dion Hulse
096fe2d4f0 Dashicons: Update to the latest dashicons files. Fixes #26251
These are imported from 9d78124720 [2013-11-25T11:03:44-08:00]


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


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