Commit Graph

24420 Commits

Author SHA1 Message Date
Drew Jaynes
91fb5e641a Inline documentation for hooks in wp-admin/includes/class-wp-ms-users-list-table.php.
Props ShinichiN, kpdesign.
Fixes #25612.


git-svn-id: https://develop.svn.wordpress.org/trunk@26342 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 22:24:25 +00:00
Drew Jaynes
b8ac8fac34 Inline documentation for hooks in wp-admin/includes/class-wp-ms-sites-list-table.php.
Props ShinichiN, kpdesign.
Fixes #25607.


git-svn-id: https://develop.svn.wordpress.org/trunk@26341 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 21:57:24 +00:00
Drew Jaynes
30600cefa0 Inline documentation for hooks in wp-admin/includes/class-wp-links-list-table.php.
Props JoshuaAbenazer, kpdesign.
Fixes #26052.


git-svn-id: https://develop.svn.wordpress.org/trunk@26340 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 21:27:05 +00:00
Drew Jaynes
5b90a5b6e3 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26339 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 21:17:24 +00:00
Dominik Schilling (ocean90)
695499f318 Add a missing semicolon.
git-svn-id: https://develop.svn.wordpress.org/trunk@26338 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 16:29:12 +00:00
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)
13f6641cba Revert property change in [26335].
git-svn-id: https://develop.svn.wordpress.org/trunk@26336 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 12:16:53 +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
Dominik Schilling (ocean90)
cb1641b14b Suggest.js: Trigger change event when value is selected.
props obenland.
fixes #26110.

git-svn-id: https://develop.svn.wordpress.org/trunk@26333 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 11:53:49 +00:00
Lance Willett
1a5d00b986 Twenty Fourteen: standardize comment blocks and jQuery function wrapper calls in JavaScript files. Props seanchayes for initial patch, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26332 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 22:41:21 +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
Scott Taylor
18a088a4e1 In get_posts(), alter the doc block and default args to make orderby equal to date, not post_date.
Props ounziw.
Fixes #26128.



git-svn-id: https://develop.svn.wordpress.org/trunk@26329 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 17:38:34 +00:00
Scott Taylor
1dc930ba13 Add unit tests for links_add_target(). Alter the patterns in links_add_target() and _links_add_target() slightly based on learnings after running tests.
Props mdbitz.
Fixes #26164.



git-svn-id: https://develop.svn.wordpress.org/trunk@26328 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 16:24:25 +00:00
Scott Taylor
b209e63234 Introduce unit tests for the normalize_whitespace() function.
Props mdbitz.
Fixes #26163.



git-svn-id: https://develop.svn.wordpress.org/trunk@26327 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 16:17:59 +00:00
Lance Willett
e5a4834633 Twenty Fourteen: style cite element correctly when not in a blockquote. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26326 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 11:21:57 +00:00
Lance Willett
72b219809f Twenty Fourteen: fix typos and a correct @return value, props morganestes. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26325 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 11:19:57 +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
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