Commit Graph

24297 Commits

Author SHA1 Message Date
Sergey Biryukov
517e4681b1 Restore "Skip to toolbar" link color. fixes #26146.
git-svn-id: https://develop.svn.wordpress.org/trunk@26319 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 05:40:36 +00:00
Sergey Biryukov
27972a39a1 Skip image mime type tests if both fileinfo PHP extension and mime_content_type() function are missing.
fixes #26155.

git-svn-id: https://develop.svn.wordpress.org/trunk@26318 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 05:37:35 +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
Andrew Ozz
36536bce2f Fix the editor switching tabs position on small screens, props ryelle, fixes #26151.
git-svn-id: https://develop.svn.wordpress.org/trunk@26315 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 02:22:15 +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
Scott Taylor
926427e9ee In update_meta_cache(), ensure that meta is always stored in the same order. Removes an unnecessary $wpdb->prepare statement. Adds unit test.
Props mattheu.
Fixes #25511.



git-svn-id: https://develop.svn.wordpress.org/trunk@26307 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:30:35 +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
Scott Taylor
72a3c91855 Mark test skipped when not in multisite. See #25883.
git-svn-id: https://develop.svn.wordpress.org/trunk@26305 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:13:53 +00:00
Scott Taylor
36a5af537e Prefix the notoptions cache key in the multisite site-options group with $wpdb->siteid to avoid collisions and race conditions when using a fancy multi-network setup. Adds unit test.
Fixes #25883.



git-svn-id: https://develop.svn.wordpress.org/trunk@26304 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:06:26 +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
Matt Mullenweg
1b77c66fd8 Why hello there. Bumping for first beta of the 3.8 cycle.
git-svn-id: https://develop.svn.wordpress.org/trunk@26302 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 04:28:57 +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
ec65012ce7 Update error screens with the new visual design:
* Bring in new styles for backgrounds/text/link/borders/buttons
* Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes

Fixes #25956, props johnbillion.



git-svn-id: https://develop.svn.wordpress.org/trunk@26299 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 00:24:23 +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
Sergey Biryukov
6174ec6e56 Fix JSHint errors in media-models.js.
props kadamwhite.
fixes #26132.

git-svn-id: https://develop.svn.wordpress.org/trunk@26295 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 23:06:41 +00:00
Andrew Nacin
555703dff2 Add an experimental rssjs feed based on the experimental rss.js spec.
This is simply a JSON representation of the RSS 2.0 feed, accessible at /feed/rssjs/ anywhere.

props pento.
see #25639.


git-svn-id: https://develop.svn.wordpress.org/trunk@26294 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:57:09 +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
Andrew Ozz
7ae4a321e2 MP6: remove left-over plugin reference, see #25858
git-svn-id: https://develop.svn.wordpress.org/trunk@26290 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:23:32 +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
3fd189d063 Heartbeat: use cached $document instead of $(document), props TobiasBg, see #25073
git-svn-id: https://develop.svn.wordpress.org/trunk@26276 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:51:44 +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
Lance Willett
d4855bd5ec Twenty Fourteen: minor style adjustments for navigation and a new lighter pattern-dark graphic which makes easier to change the background color of the featured image content. Props iamtakashi.
Also update stylesheet tags. See #25946.

git-svn-id: https://develop.svn.wordpress.org/trunk@26272 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:26:20 +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
Lance Willett
c6a57c410a Twenty Fourteen: avoid premature creation of tags when using the tag suggestion for Featured Content. Props obenland, fixes #26080.
git-svn-id: https://develop.svn.wordpress.org/trunk@26270 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 15:26:56 +00:00