Andrew Nacin
74ea276315
Theme: When showing an author in the grid (during a search), don't include the author's link.
...
fixes #26433 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26684 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:08:01 +00:00
Matt Thomas
ecb200553c
More consistent vertical alignment of the .awaiting-mod/new updates indicator. See #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26682 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:47:02 +00:00
Andrew Nacin
2cf98e4e00
Themes: Refine how we display the current theme.
...
props shaunandrews, kwight, matveb.
see #26003 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26681 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:41:44 +00:00
Helen Hou-Sandi
3706de38db
Bring screen reader shortcuts and image edit controls in line with admin design. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26677 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:16:18 +00:00
Helen Hou-Sandi
c27c592062
Lovingly restore corners that had previously been nibbled upon by a mouse. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26676 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:06:44 +00:00
Matt Thomas
f2200af9f2
Line up ALL the things:
...
* Make folded adminmenu icons line up with the W icon in the toolbar
* Make the W link in the toolbar the same width as the folded adminmenu
* Reduce padding on toolbar links to match reduced padding between W and Globe icons
* Reduce right-side padding on toolbar links to account for 1px of extra padding around icons on the left
See #25858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26675 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 18:02:33 +00:00
Helen Hou-Sandi
df454bb0b6
More targeted background image styling for admin menu SVG icons. fixes #25147 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26671 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 17:52:48 +00:00
Andrew Nacin
1ac4bceecd
Define globals and add semicolons to wp-fullscreen.js.
...
`grunt jshint` now runs clean for WordPress core!
props mattwiebe.
fixes #26029 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26667 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 16:04:59 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Matt Thomas
8722b53c96
Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26584 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:28:50 +00:00
Matt Thomas
a8a4ce9f0d
Reset the login form inputs to the standard sans-serif font in IE8 to prevent invisible password field inputs when webfonts are used. Fixes #26348 , props SergeyBiryukov, iammattthomas.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26583 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:11:22 +00:00
Matt Thomas
768fd40c04
Correct the alignment of Activate and Live Preview buttons in responsive Themes page. Fixes #26373 , props mattheu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26582 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 20:03:45 +00:00
Andrew Nacin
f38ae9cc6c
Use jQuery.prop('checked') instead of jQuery.attr.
...
props Frank Klein.
fixes #26378 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26571 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:20:19 +00:00
Andrew Nacin
2cb2a1b86e
Rename colors-fresh.css to colors.css. fixes #26137 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26570 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:15:52 +00:00
Andrew Nacin
f627d23555
In dbDelta(), ensure we are not running CREATE TABLE queries for global tables we wish to not upgrade.
...
props fliespl.
fixes #22134 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26566 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:43:52 +00:00