Commit Graph

24231 Commits

Author SHA1 Message Date
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
Andrew Ozz
dcb22eb75f TinyMCE: use CSS classes instead of instance specific IDs for styling, props mattheu, fixes #26197.
git-svn-id: https://develop.svn.wordpress.org/trunk@26364 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 21:46:17 +00:00
Lance Willett
d5bdc1a526 Twenty Fourteen: fix overlap issue when aligning consecutive images in the same direction. Props koki4a and janhenckens, fixes #26194.
git-svn-id: https://develop.svn.wordpress.org/trunk@26363 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:59:35 +00:00
Peter Westwood
5b81212ba1 Wrap the settings in the main Network Admin settings page in the expected paragraph tags so that the css applies correctly and the layout doesn't look off. Fixes #26211 props hanni.
git-svn-id: https://develop.svn.wordpress.org/trunk@26362 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:57:07 +00:00
Lance Willett
c4cf7603ac Twenty Fourteen: update Customizer inline help text. Props siobhan, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26361 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:56:07 +00:00
Lance Willett
30f06be6f9 Twenty Fourteen: update theme description to be less instructional and more promotional. Pushing the how-to to the Codex and other documentation. Props siobhan, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26360 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:55:06 +00:00
Peter Westwood
fd24c90205 Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props hanni, iandunn, kovshenin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26359 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:29:19 +00:00
Peter Westwood
92ee005ea0 Deprecate the second argument for wp_notify_postauthor because it is unecessary. Fixes #17862 props scribu and wonderboymusic.
git-svn-id: https://develop.svn.wordpress.org/trunk@26358 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:25:44 +00:00
Lance Willett
80b7fe4af7 Twenty Fourteen: fix inconsistency with search-box padding. Props thomasguillot, fixes #26204.
git-svn-id: https://develop.svn.wordpress.org/trunk@26357 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:07:28 +00:00
Lance Willett
94a186663f Twenty Fourteen: fix case where edit link goes to the top of content when only one left-aligned element exists. Props iamtakashi, fixes #26201.
git-svn-id: https://develop.svn.wordpress.org/trunk@26356 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:06:13 +00:00
Lance Willett
9f60483575 Twenty Fourteen: remove redundant gettext call, props defries. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26355 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 15:18:20 +00:00
Peter Westwood
6d2c07dbaf Replace link to Codex with link to new Make page. Fixes #25806 props siobhyb.
git-svn-id: https://develop.svn.wordpress.org/trunk@26354 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 15:17:57 +00:00