Commit Graph

510 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
6a5c878714 Dashboard: Use _draft_or_post_title() to display (no title) if no post title is set. see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26337 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 14:12:05 +00:00
Dominik Schilling (ocean90)
6a700e4199 Appearance Themes: Don't show theme actions if the current theme doesn't support menus or widgets.
props MikeHansenMe.
fixes #25949.

git-svn-id: https://develop.svn.wordpress.org/trunk@26335 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 12:14:19 +00:00
Dominik Schilling (ocean90)
e9b0911b2a Update the Iris color picker to version 1.0.4, which fixes a jQuery-UI CSS conflict.
props mattheu, mattwiebe.
fixes #26097.

git-svn-id: https://develop.svn.wordpress.org/trunk@26334 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 12:00:33 +00:00
Matt Thomas
830e72a481 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26331 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 19:55:33 +00:00
Matt Thomas
bd59dc63b1 Use the correct shade of blue for the default filled progress bar color, 0074a2 to match the default scheme's highlight color. See #26147.
git-svn-id: https://develop.svn.wordpress.org/trunk@26330 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 19:17:07 +00:00
Sergey Biryukov
494742302c Fix keyboard accessibility for row actions in list tables. Restore the CSS part of [25592], accidentally reverted in [26072].
fixes #26145.

git-svn-id: https://develop.svn.wordpress.org/trunk@26324 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 08:19:44 +00:00
Sergey Biryukov
2af4da91bb Fix thickbox positioning on Manage Themes screen. Adjust thickbox resizing code on various screens for new toolbar height.
see #26078. fixes #26140.

git-svn-id: https://develop.svn.wordpress.org/trunk@26323 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 08:05:42 +00:00
Sergey Biryukov
bb56197ae6 Remove gradient for invalid menu items. props melchoyce. fixes #26144.
git-svn-id: https://develop.svn.wordpress.org/trunk@26322 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 07:35:26 +00:00
Dion Hulse
353bec85ae Increase the click target to 100% of the add-new-theme element. Props scottbasgaard. Fixes #25960
git-svn-id: https://develop.svn.wordpress.org/trunk@26321 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 07:21:25 +00:00
Dion Hulse
347febe7f7 Themes: Remove some unused invalid CSS. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26320 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 06:39:38 +00:00
Dion Hulse
2388095150 Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
git-svn-id: https://develop.svn.wordpress.org/trunk@26317 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 04:02:37 +00:00
Dion Hulse
f2ce159ded 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
git-svn-id: https://develop.svn.wordpress.org/trunk@26316 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:33:19 +00:00
Dion Hulse
9240861283 Themes page: Don't display the Author as a link if the Author has no AuthorURI set. Props morganestes. Fixes #26098
git-svn-id: https://develop.svn.wordpress.org/trunk@26314 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:09:14 +00:00
Dion Hulse
90fda37ed4 Use static strings instead of a impossible-to-translate string in the Automatic updates debug email. Props SergeyBiryukov. Fixes #25667
git-svn-id: https://develop.svn.wordpress.org/trunk@26313 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 01:59:43 +00:00
Sergey Biryukov
11fb804e98 Correct @return value for wp_credits(). props morganestes. fixes #26150.
git-svn-id: https://develop.svn.wordpress.org/trunk@26312 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:24:01 +00:00
Matt Thomas
5667f2459e Make sure color schemes get the 1px white border around checkboxes on the media uploader. See #26147.
git-svn-id: https://develop.svn.wordpress.org/trunk@26311 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:21:27 +00:00
Matt Thomas
734e42c912 Making a few more adjustments to the uploader progress bar styles. See #26147.
git-svn-id: https://develop.svn.wordpress.org/trunk@26310 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:10:15 +00:00
Matt Thomas
c23257d7f2 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26309 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 00:02:44 +00:00
Matt Thomas
f22fcec003 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26308 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 20:03:42 +00:00
Andrew Ozz
3341352a3d 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26306 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:27:47 +00:00
Sergey Biryukov
731d102afb Use correct variable. props wet. fixes #26139.
git-svn-id: https://develop.svn.wordpress.org/trunk@26303 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 09:45:22 +00:00
Sergey Biryukov
4de639c01c Use correct variable name in _wp_credits_add_profile_link() inline docs.
props morganestes.
fixes #26134.

git-svn-id: https://develop.svn.wordpress.org/trunk@26301 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 03:43:45 +00:00
Matt Thomas
6ed7efe416 Switch to a fluid padding-top on #login so it aligns nicely on small screens. Fixes #26130.
git-svn-id: https://develop.svn.wordpress.org/trunk@26300 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:30:10 +00:00
Matt Thomas
9e59f73a0b 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26298 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:20:13 +00:00
Matt Thomas
c8e93a3e16 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26297 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:32:36 +00:00
Andrew Ozz
d0a8ff70ec Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26296 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:28:06 +00:00
Matt Thomas
9df3f0fde2 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26293 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:47:25 +00:00
Sergey Biryukov
a25d658720 Fix JSHint errors in image-edit.js.
props dougwollison.
fixes #26000.

git-svn-id: https://develop.svn.wordpress.org/trunk@26292 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:46:43 +00:00
Andrew Nacin
faee071ac0 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26291 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:43:36 +00:00
Matt Thomas
a63545e92b 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.



git-svn-id: https://develop.svn.wordpress.org/trunk@26289 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 16:53:05 +00:00
Sergey Biryukov
863cec8252 Only show "Add New Theme" block on Manage Themes screen if not Multisite and the user can install themes.
props markoheijnen.
see #25948.

git-svn-id: https://develop.svn.wordpress.org/trunk@26288 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 14:08:17 +00:00
Sergey Biryukov
09fa0c09bb Fix JSHint errors in widgets.js.
props jorbin.
fixes #26127.

git-svn-id: https://develop.svn.wordpress.org/trunk@26287 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 11:11:01 +00:00
Andrew Ozz
d8077eae05 Widgets: fix html for sidebars columns when the theme has only one sidebar. See #25952.
git-svn-id: https://develop.svn.wordpress.org/trunk@26286 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 05:08:22 +00:00
Andrew Ozz
b31a5258cd 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26285 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 04:44:21 +00:00
Drew Jaynes
dfd0c43896 Inline documentation for hooks in wp-admin/my-sites.php.
Props megane9988, kpdesign.
Fixes #25586.


git-svn-id: https://develop.svn.wordpress.org/trunk@26284 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 03:35:38 +00:00
Dion Hulse
642b466275 Remove the active row theme/plugin styling on Dashboard -> Updates. Fixes #26125
git-svn-id: https://develop.svn.wordpress.org/trunk@26283 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 03:02:30 +00:00
Dion Hulse
c49f6bbb5a Themes: Add a get_theme_update_available() function to retrieve an update link and use it on the Themes page. See #26078
git-svn-id: https://develop.svn.wordpress.org/trunk@26282 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:56:52 +00:00
Andrew Ozz
5d5571afe9 Widgets: fix the placeholders dimensions so the sidebars don't jump when dragging a widget, see #25821
git-svn-id: https://develop.svn.wordpress.org/trunk@26281 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:40:54 +00:00
Dion Hulse
d94a3690e5 Themes page: Remove a z-index which caused the Current Theme overlay to overlay menu's, that otherwise appears unused. See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26280 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:29:28 +00:00
Dion Hulse
4818ef5335 Translate the debug update email for development installs. Props Nao for initial patch. See #25667
git-svn-id: https://develop.svn.wordpress.org/trunk@26279 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 02:03:30 +00:00
Dion Hulse
56d0e4ae40 Appearance: Fix a PHP Notice when the update transient isn't available (for example, due to a timeout or being used offline). See #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26278 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 01:39:40 +00:00
Andrew Ozz
8da914b9ec 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26277 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 01:34:41 +00:00
Andrew Ozz
e45ca7cc89 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@26275 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:46:05 +00:00
Drew Jaynes
db8a601bf9 Inline documentation for hooks in wp-admin/edit-tags.php.
Props pauldewouters for the initial patch.
Fixes #25532.


git-svn-id: https://develop.svn.wordpress.org/trunk@26274 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:15:07 +00:00
Andrew Nacin
d8617e0fe9 Remove whitespace from the inside of a <textarea> element, added in [26138] with inline documentation.
see #25662.


git-svn-id: https://develop.svn.wordpress.org/trunk@26273 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 19:34:08 +00:00
Andrew Ozz
fdc08a857e 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
git-svn-id: https://develop.svn.wordpress.org/trunk@26271 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:02:14 +00:00
Sergey Biryukov
659b2758ff Fix JSHint errors in gallery.js.
props dougwollison.
fixes #25999.

git-svn-id: https://develop.svn.wordpress.org/trunk@26269 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 11:09:01 +00:00
Andrew Nacin
9cf1790265 Fix JShint errors in user-profile.js.
props dougwollison.
fixes #26016.


git-svn-id: https://develop.svn.wordpress.org/trunk@26266 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:39:05 +00:00
Andrew Nacin
114e544ffb JSHint fixes for inline-edit-tax.js.
props dougwollison.
fixes #26002.


git-svn-id: https://develop.svn.wordpress.org/trunk@26265 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:34:29 +00:00
Andrew Nacin
010fbd7866 JShint fixes for inline-edit-post.js.
props dougwollison.
fixes #26001.


git-svn-id: https://develop.svn.wordpress.org/trunk@26264 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:31:42 +00:00