Commit Graph

24420 Commits

Author SHA1 Message Date
Matt Thomas
af4c711238 Prevent submenu flyouts from appearing below elements in the main column. Fixes #26280.
git-svn-id: https://develop.svn.wordpress.org/trunk@26442 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:01:53 +00:00
Matt Thomas
acb98dc95a Updating the #wp-auth-check login form to match the new admin design:
* Remove border-radius on the container and add a box shadow
* Style the top bar background to match the new #eee page background
* Replace the close button PNG with a Dashicon
* Remove a no-longer-needed button style override in buttons.css that caused padding to change when clicking the submit button.

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26441 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 22:35:25 +00:00
Peter Westwood
d428ac9a5d KSES: Extend support in wp_kses_normalize_entities to named entities with up to two numbers on the end of the name so as to support a wider list of valid entities.
Fixes â#26290


git-svn-id: https://develop.svn.wordpress.org/trunk@26440 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 22:31:04 +00:00
Andrew Ozz
fb115b009e Widgets: fix no-js and accessibility modes, props shaunandrews, fixes #26165.
git-svn-id: https://develop.svn.wordpress.org/trunk@26439 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 22:16:27 +00:00
Matt Thomas
902a3571b6 Fix the alignment of checkboxes in menu location settings, and add responsive adjustments for those checkboxes. Fixes #26259, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26438 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 20:19:56 +00:00
Matt Thomas
e31bda9bf4 Set the font size for all text within .form-table to 14px. Fixes #26271.
git-svn-id: https://develop.svn.wordpress.org/trunk@26437 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 20:11:43 +00:00
Matt Thomas
ae0d35a7ed Give th.th-full font-weight: 400 so its label doesn't get emboldened. Fixes #26272.
git-svn-id: https://develop.svn.wordpress.org/trunk@26436 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:56:05 +00:00
Matt Thomas
4be0cfa019 Design fixes to the color picker:
* Apply top: 0 to .wp-color-result (open and closed).
* Reduce text size in hex-value field.
* Move hex-value-field styles to color-picker.css.

Fixes #26289, props mattheu.



git-svn-id: https://develop.svn.wordpress.org/trunk@26435 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:50:48 +00:00
Matt Thomas
8b21aa420c Style the hr element in the admin. Fixes #23856.
git-svn-id: https://develop.svn.wordpress.org/trunk@26434 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:36:36 +00:00
Matt Thomas
e029951d27 Press This fixes:
* Override responsive styles for the Press This window
* Remove the old header logo in Press This
* Add the new Dashicon WP logo

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26433 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 19:15:29 +00:00
Andrew Ozz
33abd3765e Widgets: prevent the sidebars from getting too wide, add a little more space between Available Widgets and the sidebars, props shaunandrews, see #25821.
git-svn-id: https://develop.svn.wordpress.org/trunk@26432 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 17:44:26 +00:00
Peter Westwood
be669106d5 Unit Tests: Add the ticket number to the new tests. See #26290
git-svn-id: https://develop.svn.wordpress.org/trunk@26431 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 14:47:03 +00:00
Peter Westwood
02ab2c69bb Unit Tests: Add some simple test cases to highlight the types of html entity that kses currently blocks. See #26290
git-svn-id: https://develop.svn.wordpress.org/trunk@26430 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 14:44:57 +00:00
Andrew Ozz
5ec7a534a9 Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026.
git-svn-id: https://develop.svn.wordpress.org/trunk@26429 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 02:02:19 +00:00
Andrew Ozz
3b2dc8f443 Heartbeat: introduce "suspend" functionality and enable it after 20 min. of inactivity, see #25073.
git-svn-id: https://develop.svn.wordpress.org/trunk@26428 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:55:59 +00:00
Andrew Ozz
c83ea1d936 Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952.
git-svn-id: https://develop.svn.wordpress.org/trunk@26427 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:41:27 +00:00
Andrew Ozz
f4264f9446 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26426 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 01:29:49 +00:00
Sergey Biryukov
60a28aa61a Fix the ability to save changes made to an image.
props markoheijnen.
fixes #26000.

git-svn-id: https://develop.svn.wordpress.org/trunk@26425 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 23:30:59 +00:00
Matt Thomas
c294a6bd3e Correct the alignment of sortable list table headers. Fixes #26131, props jeremyfelt.
git-svn-id: https://develop.svn.wordpress.org/trunk@26424 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:54:20 +00:00
Matt Thomas
d797d9955e Prevent horizontal scrolling when the responsive sidebar is open, pushing the main column off to the right. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26423 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:43:39 +00:00
Matt Thomas
8a8f55024a Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle.
git-svn-id: https://develop.svn.wordpress.org/trunk@26422 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:35:38 +00:00
Andrew Ozz
4ccea9a8f6 Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
git-svn-id: https://develop.svn.wordpress.org/trunk@26421 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:18:14 +00:00
Matt Thomas
eb4dccce32 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26420 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:09:28 +00:00
Matt Thomas
8dcf785e95 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26419 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 21:46:55 +00:00
Sergey Biryukov
9366fb85dc Fix typo in a comment. props kovshenin. fixes #26266.
git-svn-id: https://develop.svn.wordpress.org/trunk@26418 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 21:44:33 +00:00
Matt Thomas
03f2da69e2 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26417 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 21:37:20 +00:00
Matt Thomas
7e7d1b5690 Hide registered and users columns in Sites table on small screens to prevent columms from becoming too narrow. Fixes #25973, props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@26416 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 19:36:14 +00:00
Matt Thomas
866af8ad2c Match the background color of the responsive toggle button active state to -submenu-background, so it matches color schemes. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26415 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 19:16:19 +00:00
Matt Thomas
b0d441f5e4 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26414 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 19:05:41 +00:00
Matt Thomas
22509e807b Reintroduce a drop zone indicator in empty sidebars on the Widgets page. Fixes #26168, props shaunandrews.
git-svn-id: https://develop.svn.wordpress.org/trunk@26413 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 18:19:17 +00:00
Matt Thomas
32973b914f Adjust the mceResize handle so it matches the handle on the plain text editor. See #26241.
git-svn-id: https://develop.svn.wordpress.org/trunk@26412 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:52:09 +00:00
Matt Thomas
47772b85ca 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26411 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:47:08 +00:00
Matt Thomas
46a4342c67 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26410 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:41:59 +00:00
Lance Willett
f0c99974c2 Twenty Fourteen: fix image alignment in editor styles, props azaozz and RDall. Fixes #26108.
git-svn-id: https://develop.svn.wordpress.org/trunk@26409 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:37:52 +00:00
Matt Thomas
68f7b803bc Keep the resize handle from jumping around when switching between the Visual and Text editors. Fixes #26246, props mattheu.
git-svn-id: https://develop.svn.wordpress.org/trunk@26408 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:28:53 +00:00
Matt Thomas
ec10ecbebf 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26407 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:18:00 +00:00
Sergey Biryukov
42da7f3053 Rename mp6_color_scheme JS global to wp_color_scheme.
props kovshenin.
see #26263.

git-svn-id: https://develop.svn.wordpress.org/trunk@26406 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 13:57:58 +00:00
Sergey Biryukov
316a125c4c Apply paragraph description class on wp-admin/network.php for consistency.
props Hanni.
fixes #26264.

git-svn-id: https://develop.svn.wordpress.org/trunk@26405 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 13:22:47 +00:00
Sergey Biryukov
f89db723ee Fix typo in rss.js feed templates. props Latz. fixes #26258.
git-svn-id: https://develop.svn.wordpress.org/trunk@26404 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 12:39:47 +00:00
Sergey Biryukov
2dc121f134 Remove obsolete image reference from thickboxL10n. props kovshenin. fixes #26257.
git-svn-id: https://develop.svn.wordpress.org/trunk@26403 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 11:45:50 +00:00
Andrew Ozz
0329fb83e3 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26402 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 08:56:11 +00:00
Drew Jaynes
7c6dfbf0f8 Inline documentation for hooks in wp-admin/includes/class-wp-list-table.php.
Props miyauchi, kpdesign.
Fixes 25848.


git-svn-id: https://develop.svn.wordpress.org/trunk@26401 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 08:11:33 +00:00
Drew Jaynes
98a06a0deb Inline documentation for hooks in wp-includes/media-template.php.
Props odysseygate for the initial patch. Props kpdesign.
Fixes #25847.


git-svn-id: https://develop.svn.wordpress.org/trunk@26400 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 07:51:49 +00:00
Drew Jaynes
0cf54f5344 Inline documentation for hooks in wp-admin/post.php.
Props nukaga, kpdesign.
Fixes #25846.


git-svn-id: https://develop.svn.wordpress.org/trunk@26399 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 07:43:02 +00:00
Helen Hou-Sandi
470d6106b0 Make sure WP_Editor and Thickbox styles have Dashicons as a dependency, as they can be used on the front. props johnjamesjacoby. fixes #26236.
git-svn-id: https://develop.svn.wordpress.org/trunk@26398 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:47:34 +00:00
Helen Hou-Sandi
3d89ca8f6b Add some deleted images to the $_old_files array. see [26391], [26395], #26232, #26178.
git-svn-id: https://develop.svn.wordpress.org/trunk@26397 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:41:10 +00:00
Matt Thomas
ad57f2b7db Remove the new thickbox styles from wp-admin.css. See #26178
git-svn-id: https://develop.svn.wordpress.org/trunk@26396 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:34:56 +00:00
Matt Thomas
19caa51a02 Move thickbox styles from wp-admin.css to thickbox.css. Remove old png close icons. Fixes #26178.
git-svn-id: https://develop.svn.wordpress.org/trunk@26395 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:31:32 +00:00
Helen Hou-Sandi
2fbde17aba Don't show the Activity widget on the Network Admin Dashboard. props ocean90. fixes #26184.
git-svn-id: https://develop.svn.wordpress.org/trunk@26394 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:28:46 +00:00
Matt Thomas
c32b78bac1 Make ratings stars 20px to match dashicons native size so they're crisp on all screens. See #26170, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26393 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:11:46 +00:00