Commit Graph

24492 Commits

Author SHA1 Message Date
Lance Willett 37c9f8df03 Twenty Fourteen: remove unused variable in slider.js, see #26191.
git-svn-id: https://develop.svn.wordpress.org/trunk@26666 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 08:29:34 +00:00
Lance Willett c38599ff03 Twenty Fourteen: fix two usability issues with touch events on mobile devices with the Featured Content slider:
* Try to avoid the slight delay when swiping from one slide to the next.
 * Fix bug where second to last slide was animating like it was the last.

Fixes #26191.

git-svn-id: https://develop.svn.wordpress.org/trunk@26665 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 08:20:03 +00:00
Andrew Nacin 006045395c Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons.
Both of these icons can be colored to match the color scheme, including hover states.
Both are accepted for register_post_type()'s menu_icon argument, and also add_menu_page()'s $icon_url argument.

To use a Dashicon, pass the name of the helper class, e.g. 'dashicons-piechart'.
To use an SVG, pass a valid data URI string starting with 'data:image/svg+xml;base64,'.

props helen.
fixes #25147.


git-svn-id: https://develop.svn.wordpress.org/trunk@26664 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:37:20 +00:00
Andrew Nacin 721ffcbb07 Fix svg-painter in Chrome. see #26333.
git-svn-id: https://develop.svn.wordpress.org/trunk@26663 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:30:56 +00:00
Lance Willett 3b9ec0a887 Twenty Fourteen: rework "current menu" submenu icons to use Genericons for simplicity and to inherit colors better. Props celloexpressions, fixes #26424.
git-svn-id: https://develop.svn.wordpress.org/trunk@26662 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:14:27 +00:00
Lance Willett 60b24d673a Twenty Fourteen: partial revert of r26558 to avoid blocking access to the Menu Toggle in IE when in small viewports. See #26189 and #26379.
git-svn-id: https://develop.svn.wordpress.org/trunk@26661 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 06:12:24 +00:00
Andrew Nacin f883e31e3c Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
props matveb.
fixes #25962.


git-svn-id: https://develop.svn.wordpress.org/trunk@26660 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:56:48 +00:00
Andrew Nacin 3edf1401aa Remove the shadow on the TinyMCE editor.
This removes it from distraction-free writing and also gives the editor a bit of a lighter feel.

fixes #26421.


git-svn-id: https://develop.svn.wordpress.org/trunk@26659 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:25:01 +00:00
Matt Mullenweg cdbcccf498 Create a new tag for themes that have passed the theme check guidelines for accessibility. Fixes #26157
Props lancewillett.



git-svn-id: https://develop.svn.wordpress.org/trunk@26658 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 03:48:36 +00:00
Lance Willett 49e03cf097 Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427; see #24863.
git-svn-id: https://develop.svn.wordpress.org/trunk@26657 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 03:15:47 +00:00
Helen Hou-Sandi 679fb7dddb Restore CSS for the Site Content, née Right Now, Dashboard widget. Removes a nice large swath of unnecessary styles. fixes #26392, see #25824.
git-svn-id: https://develop.svn.wordpress.org/trunk@26656 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:36:35 +00:00
Lance Willett 6f1956d479 Twenty Fourteen: avoid overflow for `audio` and similar elements. Fixes #26426.
git-svn-id: https://develop.svn.wordpress.org/trunk@26655 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:34:41 +00:00
Lance Willett a960424025 Twenty Fourteen: add author description below author name on author archive view, and update styles for archive header area. Props iamtakashi, closes #26420.
git-svn-id: https://develop.svn.wordpress.org/trunk@26654 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:32:46 +00:00
Lance Willett 812b2b43bf Twenty Fourteen: fix display of required comment field asterisk in comment instruction text. Props chellycat, fixes #26423.
git-svn-id: https://develop.svn.wordpress.org/trunk@26653 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 02:18:36 +00:00
Andrew Nacin e75582f9c8 Themes: When only one theme is available, show just the details view.
Only one theme may be available when no other themes are allowed (multisite), no other themes are installed, or when the user is denied the switch_themes capability but still has edit_theme_options.

props matveb, markjaquith.
see #25962.


git-svn-id: https://develop.svn.wordpress.org/trunk@26652 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:15:59 +00:00
Andrew Ozz f90e3dc450 Widgets: on clicking Add, don't move the chooser out of the widget early as that makes is visible at the bottom of the screen. Remove the cloned copy of it instead. Part-props jeremyfelt, fixes #26417.
git-svn-id: https://develop.svn.wordpress.org/trunk@26651 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:01:42 +00:00
Drew Jaynes fa376b16cd Two more hook docs fixes.
`image_memory_limit` filter:
* Go with int|string on the limit, and simply notate '256M' as an acceptable string value.

`wp_editor_set_quality` filter:
* Add a missing parameter description for the mime type.

See #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26650 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:50:33 +00:00
Andrew Ozz 2d254241c7 DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934.
git-svn-id: https://develop.svn.wordpress.org/trunk@26649 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:50:05 +00:00
Drew Jaynes ba4187de33 Hook docs fixes following [26645].
See #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26648 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:31:21 +00:00
Lance Willett 62ce5c7a8c Twenty Fourteen: remove unneeded CSS rule, props iamtakashi. Closes #26418.
git-svn-id: https://develop.svn.wordpress.org/trunk@26647 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:02:32 +00:00
Lance Willett 1d87737d07 Twenty Fourteen: fix typo, props DrewAPicture. See #26414.
git-svn-id: https://develop.svn.wordpress.org/trunk@26646 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:51:53 +00:00
Andrew Nacin 8a3c33c861 Improvements to image quality handling in the image editor classes.
props markoheijnen, DH-Shredder.
fixes #25721.


git-svn-id: https://develop.svn.wordpress.org/trunk@26645 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:48:45 +00:00
Dion Hulse 22738bc3d5 Remove the experimental RSS.JS feed, and move it to a plugin for feature development. Unprops pento. See #25639
git-svn-id: https://develop.svn.wordpress.org/trunk@26644 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:23:02 +00:00
Lance Willett 51c975e409 Twenty Fourteen: minor code cleanup in Customizer file, props obenland. Fixes #26414.
git-svn-id: https://develop.svn.wordpress.org/trunk@26643 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:08:59 +00:00
Lance Willett 3039fb9903 Twenty Fourteen: add visual divider lines to child list items in widgets. Props iamtakashi, fixes #26415.
git-svn-id: https://develop.svn.wordpress.org/trunk@26642 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 22:05:42 +00:00
Andrew Nacin 8b29fa45f7 westi forgot my full stop. see #23569.
git-svn-id: https://develop.svn.wordpress.org/trunk@26641 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:56:29 +00:00
Peter Westwood d78778e51f Improve the description of the Network Admin Email option to better describe what the address will be used for. Fixes #23569 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@26640 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:53:59 +00:00
Lance Willett 8a4b4e0382 Twenty Fourteen: fix editor style discrepancies for `mark` and `ins`. Props sixhours, fixes #26413.
git-svn-id: https://develop.svn.wordpress.org/trunk@26639 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:46:05 +00:00
Andrew Nacin 7750ea96cd Allow HTML in the theme name for the themes.php template.
props matveb.
fixes #26411.


git-svn-id: https://develop.svn.wordpress.org/trunk@26638 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 21:40:20 +00:00
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