Skip to content

Commit

Permalink
Improve support for long file names.
Browse files Browse the repository at this point in the history
Also bump to 1.4.0.
  • Loading branch information
JJJ committed Apr 18, 2018
1 parent 3acd303 commit 907d26c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ Coming soon...
## Help

* Basic: https://wordpress.org/support/plugin/wp-user-avatars/
* Priority: https://chat.flox.io/support/channels/wp-user-avatars/
* Priority: https://jjj.software

## Contributors

Designed by @JJJ

Made better by @nash-ye
* Created by @JJJ
* Made better by @nash-ye
* Pull requests welcome!

## Support

Expand Down
9 changes: 6 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: johnjamesjacoby, stuttter
Tags: avatar, user, profile
Requires at least: 4.4
Tested up to: 4.8
Stable tag: 1.3.0
Tested up to: 4.9
Stable tag: 1.4.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9Q4F4EL5YJ62J
Expand Down Expand Up @@ -53,14 +53,17 @@ It works OK, but you'll want to consider exactly what level of privacy is best f
= Where can I get support? =

* Basic: https://wordpress.org/support/plugin/wp-user-avatars/
* Priority: https://chat.flox.io/support/channels/wp-user-avatars/
* Priority: https://jjj.software

= Where can I find documentation? =

http://github.com/stuttter/wp-user-avatars/

== Changelog ==

= 1.4.0 =
* Improved support for long file names

= 1.3.0 =
* Fix local avatars in comments

Expand Down
4 changes: 2 additions & 2 deletions wp-user-avatars.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Description: Allow registered users to upload & select their own avatars
* Version: 1.3.0
* Version: 1.4.0
* Text Domain: wp-user-avatars
* Domain Path: /wp-user-avatars/assets/languages/
*/
Expand Down Expand Up @@ -60,5 +60,5 @@ function wp_user_avatars_get_plugin_url() {
* @return int
*/
function wp_user_avatars_get_asset_version() {
return 201703250002;
return 201804180002;
}
11 changes: 8 additions & 3 deletions wp-user-avatars/assets/css/user-avatars.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@
width: 90px;
}

#wp-user-avatars-actions input[type=file]{
margin: 0 0 8px;
#wp-user-avatars-actions div,
#wp-user-avatars-actions input[type=file] {
text-overflow: ellipsis;
width: 100%;
}
#wp-user-avatars-actions input[type=file] {
margin: 0 0 10px;
}

/**
Expand Down Expand Up @@ -137,7 +142,7 @@ tr.user-profile-picture,
#side-sortables #wp-user-avatars-photo,
#side-sortables #wp-user-avatars-actions {
float: left;
width: 90%;
width: 100%;
}

#side-sortables #wp-user-avatars-photo {
Expand Down

0 comments on commit 907d26c

Please sign in to comment.