Commit Graph

24463 Commits

Author SHA1 Message Date
Matt Thomas
fcce7b1a20 Remove unneeded transition styles on adminmenu links that make the transition between expanded and collapsed menubars choppy in Safari and Chrome. Fixes #26406.
git-svn-id: https://develop.svn.wordpress.org/trunk@26637 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:39:02 +00:00
Lance Willett
5777eeb642 Twenty Fourteen: sanitize the values of Featured Content layout option, props kwight. Fixes #26408.
git-svn-id: https://develop.svn.wordpress.org/trunk@26636 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:32:48 +00:00
Helen Hou-Sandi
17c5e87089 Remove more references to MP6 and standardize on .wp-ui-* for prefixed generic class names. props nacin, kovshenin, fixes #26263.
git-svn-id: https://develop.svn.wordpress.org/trunk@26635 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:15:59 +00:00
Sergey Biryukov
86d9ba6ada Avoid a PHP notice on Edit Menus screen when a menu is attached to a non-existing location.
props nofearinc.
fixes #26287.

git-svn-id: https://develop.svn.wordpress.org/trunk@26634 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:36:10 +00:00
Matt Thomas
ceb5e97102 Add more columns in the theme browser on screens over 2000px wide to ensure that theme screenshots never appear larger than their resolution allows. Fixes #26172, props shaunandrews.
git-svn-id: https://develop.svn.wordpress.org/trunk@26633 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:31:24 +00:00
Sergey Biryukov
3d1bcce2ff Fix JSHint error. props atimmer. see #26061.
git-svn-id: https://develop.svn.wordpress.org/trunk@26632 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:17:52 +00:00
Drew Jaynes
98fe4a5aed Hook docs pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@26631 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 20:02:53 +00:00
Lance Willett
132aed5113 Twenty Fourteen: add link to Codex documentation in Help text, and minor cleanup based on siobhan feedback. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26630 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:52:45 +00:00
Andrew Nacin
ed73413105 Add a copyright notice to zxcvbn. fixes #25926.
git-svn-id: https://develop.svn.wordpress.org/trunk@26629 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:52:45 +00:00
Matt Thomas
69dabd809f Reset responsive button styles in the Customizer, which uses fixed widths and positioning and is otherwise non-responsive. See #21890.
git-svn-id: https://develop.svn.wordpress.org/trunk@26628 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:44:01 +00:00
Andrew Nacin
bda43fd107 Pinking shears. see #26086 props atimmer.
git-svn-id: https://develop.svn.wordpress.org/trunk@26627 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:33:45 +00:00
Andrew Nacin
589653b4b7 Heartbeat: Don't use a variable of the same name as the function it is in.
fixes #25073.


git-svn-id: https://develop.svn.wordpress.org/trunk@26626 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:23:39 +00:00
Andrew Nacin
9194c6593e Add wp_prepare_themes_for_js filter to wp_prepare_themes_for_js().
props kovshenin.
fixes #25948.


git-svn-id: https://develop.svn.wordpress.org/trunk@26625 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:20:10 +00:00
Matt Thomas
4188b67398 Prevent the spinner from bumping the Cancel button to a new line in de_DE and ru_RU. Fixes #21890; props SergeyBiryukov, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@26624 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:14:40 +00:00
Andrew Nacin
fe7bfcdf9c Return some semicolons. fixes #25594.
git-svn-id: https://develop.svn.wordpress.org/trunk@26623 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:07:40 +00:00
Andrew Nacin
26fcb00dd8 RTL fix for themes.php. props yoavf. fixes #26405.
git-svn-id: https://develop.svn.wordpress.org/trunk@26622 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:57:07 +00:00
Andrew Ozz
44024c21be Revert [26618], no longer needed after reverting [26593], also fails to remove a border-top from .widget-inside when the widget is in a sidebar. See #26391.
git-svn-id: https://develop.svn.wordpress.org/trunk@26621 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:53:30 +00:00
Matt Thomas
5215809f2a Allow error messages to push the adminmenu down. Fixes #26312, props SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@26620 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:50:25 +00:00
Lance Willett
048ad11f3b Twenty Fourteen: fix site title color preview in Customizer, props kwight. Closes #26404.
git-svn-id: https://develop.svn.wordpress.org/trunk@26619 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:41:31 +00:00
Matt Thomas
24240d260c Ensure that .widget-inside gets the necessary interior padding regardless of its containing element. Fixes #26391, props cainm.
git-svn-id: https://develop.svn.wordpress.org/trunk@26618 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 18:16:38 +00:00
Andrew Nacin
6cad5246df Include columns-# CSS class in wp_dashboard() for when the screen supports it.
props westi.
fixes #26354.


git-svn-id: https://develop.svn.wordpress.org/trunk@26617 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:27:34 +00:00
Andrew Nacin
b4daec8b8c Build RTL stylesheets for color schemes.
props dd32.
fixes #26315.


git-svn-id: https://develop.svn.wordpress.org/trunk@26616 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:21:01 +00:00
Matt Thomas
c4849c6307 Improve the styling of browser file input controls. Fixes #26393.
git-svn-id: https://develop.svn.wordpress.org/trunk@26615 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:20:13 +00:00
Andrew Nacin
8faee176db Nav Menu admin: Suppress outlines on expand/collapse arrows. fixes #26398.
git-svn-id: https://develop.svn.wordpress.org/trunk@26614 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:15:36 +00:00
Andrew Nacin
1913b4c665 Nav Menus: Delegate click events for move links.
props ankit.gade.
fixes #25594.


git-svn-id: https://develop.svn.wordpress.org/trunk@26613 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:09:20 +00:00
Andrew Nacin
2d5ebb65fc Restore min-width for toolbar menus. This allows the menus to expand to the width of the element above them.
props nvwd.
fixes #26389.


git-svn-id: https://develop.svn.wordpress.org/trunk@26612 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:59:58 +00:00
Andrew Nacin
3dcc14f58c Restore original properties of the right now (activity) and primary (news) dashboard widgets.
This avoids issues with those trying to remove/disable core meta boxes.

fixes #26392.


git-svn-id: https://develop.svn.wordpress.org/trunk@26611 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:55:58 +00:00
Andrew Nacin
1ae2cf0efb Temporarily switch to a pinned version of grunt-cssjanus. This in turn temporarily pins cssjanus to a patched fork.
fixes #26181, #26182.


git-svn-id: https://develop.svn.wordpress.org/trunk@26610 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:38:38 +00:00
Lance Willett
4e8477ed8c Twenty Fourteen: fix broken selector, props celloexpressions. See #26212. [This IE browser no le gusta chile, ese.]
git-svn-id: https://develop.svn.wordpress.org/trunk@26609 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:38:09 +00:00
Matt Thomas
71588c2933 Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26608 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 16:30:05 +00:00
Andrew Nacin
d4a2c7d2a0 Twenty Fourteen: Flip genericons in RTL.
props yoavf.
see #25801.


git-svn-id: https://develop.svn.wordpress.org/trunk@26607 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 15:12:56 +00:00
Andrew Nacin
aa8baaabf5 Twenty Fourteen: RTL for the slider.
props yoavf.
see #25801.


git-svn-id: https://develop.svn.wordpress.org/trunk@26606 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 15:08:32 +00:00
Andrew Nacin
0b6e655a2d Add Open Sans as a dependency to install.css and add Dashicons as a dependency to some other CSS files. see #26255.
git-svn-id: https://develop.svn.wordpress.org/trunk@26605 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 11:18:52 +00:00
Matt Mullenweg
c5a3e02aa5 3.8 is ready for widespread, release candidate level of testing.
git-svn-id: https://develop.svn.wordpress.org/trunk@26604 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 09:27:00 +00:00
Andrew Ozz
d690d821aa Svg-painter: fix couple of jshint warnings, see #26333.
git-svn-id: https://develop.svn.wordpress.org/trunk@26603 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:36:22 +00:00
Helen Hou-Sandi
55d4555b68 Utilize a more widely-adopted CSS method for hiding screen reader text, as seen in projects like jQuery UI and HTML5 Boilerplate. props codebykat for the initial patch. fixes #23684, #26107.
git-svn-id: https://develop.svn.wordpress.org/trunk@26602 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:31:13 +00:00
Andrew Ozz
93a5bff7a7 Svg-painter:
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333.

git-svn-id: https://develop.svn.wordpress.org/trunk@26601 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:12:41 +00:00
Lance Willett
eb41771db6 Twenty Fourteen: avoid a potential gap in menu-toggle content. Props kwight, fixes #26383.
git-svn-id: https://develop.svn.wordpress.org/trunk@26600 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:31:20 +00:00
Lance Willett
9edcb0e862 Twenty Fourteen: remove wp_is_mobile() call from post thumbnail size logic as it's not intended for front-end use. Props kwight, fixes #26221.
git-svn-id: https://develop.svn.wordpress.org/trunk@26599 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:28:31 +00:00
Lance Willett
7cf4102f39 Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384.
git-svn-id: https://develop.svn.wordpress.org/trunk@26598 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:23:41 +00:00
Lance Willett
37a37b5fc5 Twenty Fourteen: pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@26597 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 03:23:11 +00:00
Andrew Nacin
6da6e5daad Declare dashicons dependency for wp-pointer.css and media-views.css.
props dd32.
see #26255.


git-svn-id: https://develop.svn.wordpress.org/trunk@26596 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 00:34:00 +00:00
Matt Thomas
408041ca39 Add .ab-empty-item to the responsive adminbar sizing adjustments. Ensure that hidden text in responsive adminbar stays properly hidden in Firefox. See #26299.
git-svn-id: https://develop.svn.wordpress.org/trunk@26595 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:52:34 +00:00
Andrew Nacin
fdc32636fa Rename the new custom-background arguments passed to add_theme_support().
* background-position becomes default-position-x
 * background-attachment becomes default-attachment
 * background-repeat becomes default-repeat

These are in line with existing default-image and default-color arguments, and also makes the position argument unambiguous and forwards compatible.

fixes #20816.


git-svn-id: https://develop.svn.wordpress.org/trunk@26594 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:35:26 +00:00
Matt Thomas
933a5f252f Set Available and Inactive Widget areas to not collapse, since they don't look like collapsing elements. Fixes #26327, props MikeHansenMe.
git-svn-id: https://develop.svn.wordpress.org/trunk@26593 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:31:37 +00:00
Matt Thomas
3ce67886f4 Ensure that theme customizer buttons don't overlap on small screens; allow small-screen theme popup to use the full height of the viewport since the adminmenu is no longer fixed; ensure that buttons in the theme customizer wrap as efficiently as they can on mobile. Fixes #26361, props mattheu, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26592 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:13:14 +00:00
Lance Willett
a7fa393ef9 Twenty Fourteen: fix JS lint errors in customizer.js file, see r26573.
git-svn-id: https://develop.svn.wordpress.org/trunk@26591 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:12:57 +00:00
Andrew Nacin
57bede1005 Use current_user_can('manage_network_plugins') in validate_active_plugins() instead of is_super_admin().
props jdgrimes.
fixes #26068.


git-svn-id: https://develop.svn.wordpress.org/trunk@26590 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 21:11:21 +00:00
Andrew Nacin
21c76b2340 Allow wp_enqueue_media() to "just work" in a customizer control.
props westonruter.
fixes #25618.


git-svn-id: https://develop.svn.wordpress.org/trunk@26589 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:53:47 +00:00
Andrew Nacin
1962b24925 wp_list_categories(): Add cat-item-none and cat-item-all classes to the none/all options.
props SergeyBiryukov.
fixes #24428.


git-svn-id: https://develop.svn.wordpress.org/trunk@26588 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:50:41 +00:00