Commit Graph

24492 Commits

Author SHA1 Message Date
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
Helen Hou-Sandi 88bd8b4d87 Dashboard columns:
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.

props SergeyBiryukov, kraftbj, lessbloat. fixes #26074.


git-svn-id: https://develop.svn.wordpress.org/trunk@26392 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:08:37 +00:00
Matt Thomas 90b6c4006a 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26391 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 04:58:22 +00:00
Helen Hou-Sandi 3d55dbb82f Dashboard JS cleanup. props kadamwhite, helen. see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26390 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 04:37:27 +00:00
Matt Thomas 1668b4ab1b 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26389 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 04:13:10 +00:00
Drew Jaynes a736126e83 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.


git-svn-id: https://develop.svn.wordpress.org/trunk@26388 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 04:09:30 +00:00
Matt Thomas 1af7b4fed0 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26387 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:50:26 +00:00
Matt Thomas 10990e9a37 Move responsive button styles from wp-admin.css to buttons.css. Fixes #25968, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26386 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:35:41 +00:00
Matt Thomas d1e69984c7 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26385 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:27:09 +00:00
Matt Thomas 557ecd7b6d Make sure that select elements vertically align properly with other text. Fixes #26136, props jeremyfelt.
git-svn-id: https://develop.svn.wordpress.org/trunk@26384 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 03:02:38 +00:00
Matt Thomas 27d2677273 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.
git-svn-id: https://develop.svn.wordpress.org/trunk@26383 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:53:42 +00:00
Matt Thomas 183ac18d83 Allow #wpwrap to scroll horizontally if needed, and hide overflow only on specific elements that need it. See #26169.
git-svn-id: https://develop.svn.wordpress.org/trunk@26382 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:41:35 +00:00
Dion Hulse 16a44dfb6a Revert the change to use add_query_arg() for Open Sans, as it causes a fatal error when script concatenation is used. See #26063
git-svn-id: https://develop.svn.wordpress.org/trunk@26381 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:40:09 +00:00
Dion Hulse 696014fff5 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


git-svn-id: https://develop.svn.wordpress.org/trunk@26380 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:24:25 +00:00
Matt Thomas 34d12c41c5 Add padding to #wpbody at viewports < 600px so that content isn't overlapped by the absolute-positioned adminbar. See #25858.
git-svn-id: https://develop.svn.wordpress.org/trunk@26379 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:04:15 +00:00
Dion Hulse e64d1e8eb7 Dashicons: Update to the latest dashicons files. Fixes #26251
These are imported from 9d78124720 [2013-11-25T11:03:44-08:00]



git-svn-id: https://develop.svn.wordpress.org/trunk@26378 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 02:03:27 +00:00
Dion Hulse b3ad458945 Use dashicons.min.css for concantenation requests. See #26250
git-svn-id: https://develop.svn.wordpress.org/trunk@26377 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 01:54:53 +00:00
Sergey Biryukov f5dde473d7 Allow Open Sans to be disabled per language. props dimadin. fixes #26063.
git-svn-id: https://develop.svn.wordpress.org/trunk@26376 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 01:53:17 +00:00
Dion Hulse 2c69dba78f Bump $wp_version to clear CSS caches. See #26250
git-svn-id: https://develop.svn.wordpress.org/trunk@26375 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 01:48:41 +00:00
Dion Hulse c15ef05674 Style Concatenation: Fix loading of dashicons non-woff files when concatenation is in use. Fixes #26250
git-svn-id: https://develop.svn.wordpress.org/trunk@26374 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 01:46:11 +00:00
Matt Thomas 868ada7dfb Make the responsive layout behave better when the user zooms the page:
* Change the smartphone media query from 480 to 600px so it captures large screen phones in landscape mode.
* Set #wpadminbar to position: absolute at smartphone sizes so it scrolls with the page, freeing up the viewport.
* Remove the transition states on #adminmenu for better performance on mobile devices
* Make the responsive sidebar scroll with the page instead of using a fixed position
* Remove the -webkit-overflow-scrolling rule that was disabling scroll-to-top when tapping the iOS status bar.
* Remove unnecessary zoom declaration from -ms-viewport.

See #25858.



git-svn-id: https://develop.svn.wordpress.org/trunk@26373 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 01:37:02 +00:00
Helen Hou-Sandi 25fd558a75 Contain Dashboard widget dragging. props lessbloat. fixes #26026.
git-svn-id: https://develop.svn.wordpress.org/trunk@26372 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 00:54:07 +00:00
Matt Thomas da9a057ee4 Darken light gray text on dashboard widgets to ensure adequate color contrast. Fixes #26162, props melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26371 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-25 23:49:25 +00:00
Scott Taylor 3c671f031e When setting `WP_TESTS_FORCE_KNOWN_BUGS` to `true`, it is preferable that some forced tests are still skipped when they call classes or functions that do not exist, producing fatal errors.
Fixes #26248.



git-svn-id: https://develop.svn.wordpress.org/trunk@26370 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-25 22:49:51 +00:00
Dion Hulse e683a6eb84 Themes: Fix the Customize button for the current theme. Props jacklenox. Fixes #26214
git-svn-id: https://develop.svn.wordpress.org/trunk@26369 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-25 07:03:44 +00:00
Mark Jaquith 7b3eec6bf0 Remove unnecessarily gendered pronouns.
fixes #26225


git-svn-id: https://develop.svn.wordpress.org/trunk@26368 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-25 02:04:18 +00:00
Mark Jaquith 9cbffc9222 Fix `comment_notification_recipients` filter behavior so that it is still respected even on comments left by the post author
The code was bailing on this-is-a-comment-on-your-own-post detection, ignoring additional recipients. Now:

* Logic check is done within `wp_notify_postauthor()`
* Logic check is overridable via `comment_notification_notify_author` filter (default still false)
* The code doesn't bail on comment-on-own-post detection, but just removes the author from the array
* The code instead now bails if the recipients list is empty, so `comment_notification_recipients` works properly

props ethitter.
fixes #25699


git-svn-id: https://develop.svn.wordpress.org/trunk@26367 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-25 01:46:49 +00:00
Andrew Ozz 89d0be9d3d Widgets:
- Don't deactivate "draggable" on the widget when the chooser is open. Makes it possible to still drag the "widget-in-question".
- Change the chooser's HTML id to a class to avoid collisions when cloning.
- Refresh the "sortable" positions when an open widget is dragged. Fixes problems moving the widget up or down in the same sidebar.
See #25821

git-svn-id: https://develop.svn.wordpress.org/trunk@26366 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 22:06:13 +00:00
Dominik Schilling (ocean90) a0f913563c Cron Request: Fix incorrect use of add_query_arg() arguments.
props datafeedrcom, dimadin.
see [26267].
fixes #26218.

git-svn-id: https://develop.svn.wordpress.org/trunk@26365 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 21:48:32 +00:00