Version Description
- Pass $args parameter from get_avatar to custom avatar filter
- Replace png icon with svg icon in admin menu
Download this release
Release Info
Developer | onedesigns |
Plugin | One User Avatar | User Profile Picture |
Version | 2.3.8 |
Comparing to | |
See all releases |
Code changes from version 2.3.7 to 2.3.8
- README.md +4 -0
- assets/css/tinymce-window.css +1 -1
- assets/css/wp-user-avatar.css +1 -1
- assets/js/tinymce-editor_plugin.js +2 -2
- assets/js/tinymce-window.js +1 -1
- assets/js/wp-user-avatar-admin.js +1 -1
- assets/js/wp-user-avatar-user.js +1 -1
- assets/js/wp-user-avatar.js +1 -1
- includes/class-wp-user-avatar-admin.php +5 -2
- includes/class-wp-user-avatar-functions.php +9 -8
- includes/class-wp-user-avatar-list-table.php +1 -1
- includes/class-wp-user-avatar-resource-manager.php +1 -1
- includes/class-wp-user-avatar-setup.php +2 -2
- includes/class-wp-user-avatar-shortcode.php +1 -1
- includes/class-wp-user-avatar-subscriber.php +1 -1
- includes/class-wp-user-avatar-update.php +1 -1
- includes/class-wp-user-avatar-widget.php +1 -1
- includes/class-wp-user-avatar.php +1 -1
- includes/wpua-functions.php +1 -1
- includes/wpua-globals.php +1 -1
- includes/wpua-media-page.php +1 -1
- includes/wpua-options-page.php +1 -1
- includes/wpua-tinymce-window.php +1 -1
- includes/wpua-tinymce.php +1 -1
- languages/nl_NL.po +1 -1
- languages/one-user-avatar.pot +1 -1
- languages/pt_BR.po +1 -1
- languages/pt_PT.po +1 -1
- languages/ro_RO.po +1 -1
- one-user-avatar.php +1 -1
- readme.txt +5 -1
- uninstall.php +1 -1
README.md
CHANGED
@@ -378,6 +378,10 @@ This would output:
|
|
378 |
|
379 |
## Changelog
|
380 |
|
|
|
|
|
|
|
|
|
381 |
### 2.3.7
|
382 |
* Fix XSS vulnerability
|
383 |
|
378 |
|
379 |
## Changelog
|
380 |
|
381 |
+
### 2.3.8
|
382 |
+
* Pass $args parameter from get_avatar to custom avatar filter
|
383 |
+
* Replace png icon with svg icon in admin menu
|
384 |
+
|
385 |
### 2.3.7
|
386 |
* Fix XSS vulnerability
|
387 |
|
assets/css/tinymce-window.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.8
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/css/wp-user-avatar.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.8
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/js/tinymce-editor_plugin.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
@@ -44,7 +44,7 @@
|
|
44 |
author: 'One Designs',
|
45 |
authorurl: 'https://onedesigns.com/',
|
46 |
infourl: 'https://onedesigns.com/plugins/one-user-avatar/',
|
47 |
-
version: '2.3.
|
48 |
};
|
49 |
},
|
50 |
});
|
1 |
+
/*! One User Avatar - 2.3.8
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
44 |
author: 'One Designs',
|
45 |
authorurl: 'https://onedesigns.com/',
|
46 |
infourl: 'https://onedesigns.com/plugins/one-user-avatar/',
|
47 |
+
version: '2.3.8',
|
48 |
};
|
49 |
},
|
50 |
});
|
assets/js/tinymce-window.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.8
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/js/wp-user-avatar-admin.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.8
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/js/wp-user-avatar-user.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.8
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
assets/js/wp-user-avatar.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
/*! One User Avatar - 2.3.
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
1 |
+
/*! One User Avatar - 2.3.8
|
2 |
* Copyright One Designs
|
3 |
* Copyright ProfilePress
|
4 |
* Copyright Flippercode
|
includes/class-wp-user-avatar-admin.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Admin {
|
@@ -226,13 +226,16 @@ class WP_User_Avatar_Admin {
|
|
226 |
* @uses add_submenu_page()
|
227 |
*/
|
228 |
public function wpua_admin() {
|
|
|
|
|
|
|
229 |
add_menu_page(
|
230 |
__( 'One User Avatar', 'one-user-avatar' ),
|
231 |
__( 'Avatars', 'one-user-avatar' ),
|
232 |
'manage_options',
|
233 |
'one-user-avatar',
|
234 |
array( $this, 'wpua_options_page' ),
|
235 |
-
|
236 |
);
|
237 |
|
238 |
add_submenu_page(
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Admin {
|
226 |
* @uses add_submenu_page()
|
227 |
*/
|
228 |
public function wpua_admin() {
|
229 |
+
$svg = '
|
230 |
+
<svg width="512.001" height="512.001" viewBox="0 0 135.467 135.467" xmlns="http://www.w3.org/2000/svg"><path style="display:inline;stroke-width:.999999" d="M180.002.174a17.987 17.987 0 0 0-18.025 18.025v98.602a131.325 188.897 0 0 0-4.612 7.365h-96.43a19.573 19.573 0 0 0-19.615 19.615v11.795a19.573 19.573 0 0 0 19.616 19.615h73.267a131.325 188.897 0 0 0-11.213 75.838 131.325 188.897 0 0 0 12.43 79.385 217.103 217.103 0 0 0-17.617 13.379c-5.428 4.581-15.387 13.939-14.553 13.676.254-.08 4.902-2.39 10.326-5.131a313.886 313.886 0 0 1 25.432-11.455 131.325 188.897 0 0 0 16.637 34.185H22.795A22.48 22.48 0 0 0 .265 397.6v112.545a22.48 22.48 0 0 0 22.53 22.53h466.674A22.482 22.482 0 0 0 512 510.146V397.6a22.482 22.482 0 0 0-22.531-22.532H352.986a131.325 188.897 0 0 0 16.36-33.38c10.991 4.467 22.222 9.58 29.336 13.544 2.668 1.487 5.05 2.725 5.293 2.75.673.07-3.04-3.618-9.452-9.388a220.278 220.278 0 0 0-21.664-17.155 131.325 188.897 0 0 0 12.782-80.41 131.325 188.897 0 0 0-11.213-75.838H453.7a19.573 19.573 0 0 0 19.615-19.615v-11.795a19.573 19.573 0 0 0-19.615-19.615H351.266a131.325 188.897 0 0 0-6.922-10.28V18.2c0-9.985-8.04-18.025-18.026-18.025zM149.725 175.19h208.718a116.879 171.16 0 0 1 12.52 76.352 116.879 171.16 0 0 1-10.791 71.719c-25.29-15.015-53.398-24.497-84.356-28.408-8.029-1.015-35.42-1.137-43.212-.194-31.229 3.78-59.46 13.1-84.844 27.953a116.879 171.16 0 0 1-10.555-71.07 116.879 171.16 0 0 1 12.52-76.352zm45.226 44.707a12.472 12.473 0 0 0-12.472 12.473 12.472 12.473 0 0 0 12.472 12.475 12.472 12.473 0 0 0 12.473-12.475 12.472 12.473 0 0 0-12.473-12.473zm120.113 0a12.472 12.472 0 0 0-12.472 12.473 12.472 12.472 0 0 0 12.472 12.473 12.472 12.472 0 0 0 12.471-12.473 12.472 12.472 0 0 0-12.47-12.473zm-63.097 99.147c34.639-.12 69.336 5.53 102.135 16.826.374.13.82.312 1.2.445a116.879 171.16 0 0 1-24.325 44.06 116.845 171.704 0 0 1-1.079 1.315 116.879 171.16 0 0 1-75.814 41.012 116.879 171.16 0 0 1-61.354-25.705 116.845 171.704 0 0 1-2.482-2.176 116.879 171.16 0 0 1-9.478-10.39 116.845 171.704 0 0 1-4.801-5.842 116.879 171.16 0 0 1-23.295-42.783 310.482 310.482 0 0 1 37.428-10.287c20.318-4.254 41.081-6.403 61.865-6.475z" transform="scale(.26458)"/></svg>';
|
231 |
+
|
232 |
add_menu_page(
|
233 |
__( 'One User Avatar', 'one-user-avatar' ),
|
234 |
__( 'Avatars', 'one-user-avatar' ),
|
235 |
'manage_options',
|
236 |
'one-user-avatar',
|
237 |
array( $this, 'wpua_options_page' ),
|
238 |
+
'data:image/svg+xml;base64,' . base64_encode( $svg )
|
239 |
);
|
240 |
|
241 |
add_submenu_page(
|
includes/class-wp-user-avatar-functions.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Functions {
|
@@ -500,7 +500,7 @@ class WP_User_Avatar_Functions {
|
|
500 |
* @uses get_option()
|
501 |
* @return string $avatar
|
502 |
*/
|
503 |
-
public function wpua_get_avatar_filter( $avatar, $id_or_email = '', $size = '', $default = '', $alt = '') {
|
504 |
global $avatar_default,
|
505 |
$mustache_admin,
|
506 |
$mustache_avatar,
|
@@ -658,7 +658,7 @@ class WP_User_Avatar_Functions {
|
|
658 |
}
|
659 |
|
660 |
// Enable get_avatar filter
|
661 |
-
add_filter( 'get_avatar', array( $this, 'wpua_get_avatar_filter' ), 10,
|
662 |
add_filter( 'get_avatar_url', array( $this, 'wpua_get_avatar_url' ), 10, 3 );
|
663 |
|
664 |
/**
|
@@ -766,6 +766,8 @@ class WP_User_Avatar_Functions {
|
|
766 |
// Add alignment class
|
767 |
$alignclass = ! empty( $align ) && ( 'left' == $align || 'right' == $align || 'center' == $align ) ? ' align' . $align : ' alignnone';
|
768 |
|
|
|
|
|
769 |
// User has WPUA, check if on excluded list and bypass get_avatar
|
770 |
if ( ! empty( $wpua_meta ) && $wpua_functions->wpua_attachment_is_image( $wpua_meta ) ) {
|
771 |
// Numeric size use size array
|
@@ -781,16 +783,15 @@ class WP_User_Avatar_Functions {
|
|
781 |
esc_attr( $wpua_image[2] )
|
782 |
) : '';
|
783 |
|
784 |
-
$class_string = ! empty( $class ) ? ' ' . $class : '';
|
785 |
-
|
786 |
// Construct the img tag
|
787 |
$avatar = sprintf(
|
788 |
-
'<img src="%1$s"%2$s alt="%3$s" class="avatar avatar-%4$s wp-user-avatar wp-user-avatar-%4$s%5$s photo" />',
|
789 |
esc_url( $wpua_image[0] ),
|
790 |
$dimensions,
|
791 |
esc_attr( $alt ),
|
792 |
esc_attr( $size ),
|
793 |
-
esc_attr( $alignclass )
|
|
|
794 |
);
|
795 |
} else {
|
796 |
// Check for custom image sizes
|
@@ -827,7 +828,7 @@ class WP_User_Avatar_Functions {
|
|
827 |
'',
|
828 |
'',
|
829 |
'avatar-' . $size,
|
830 |
-
'wp-user-avatar wp-user-avatar-' . $size . $alignclass . ' photo'
|
831 |
);
|
832 |
$avatar = str_replace( $replace, $replacements, $avatar );
|
833 |
}
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Functions {
|
500 |
* @uses get_option()
|
501 |
* @return string $avatar
|
502 |
*/
|
503 |
+
public function wpua_get_avatar_filter( $avatar, $id_or_email = '', $size = '', $default = '', $alt = '', $args = null ) {
|
504 |
global $avatar_default,
|
505 |
$mustache_admin,
|
506 |
$mustache_avatar,
|
658 |
}
|
659 |
|
660 |
// Enable get_avatar filter
|
661 |
+
add_filter( 'get_avatar', array( $this, 'wpua_get_avatar_filter' ), 10, 6 );
|
662 |
add_filter( 'get_avatar_url', array( $this, 'wpua_get_avatar_url' ), 10, 3 );
|
663 |
|
664 |
/**
|
766 |
// Add alignment class
|
767 |
$alignclass = ! empty( $align ) && ( 'left' == $align || 'right' == $align || 'center' == $align ) ? ' align' . $align : ' alignnone';
|
768 |
|
769 |
+
$class_string = ! empty( $class ) ? ' ' . $class : '';
|
770 |
+
|
771 |
// User has WPUA, check if on excluded list and bypass get_avatar
|
772 |
if ( ! empty( $wpua_meta ) && $wpua_functions->wpua_attachment_is_image( $wpua_meta ) ) {
|
773 |
// Numeric size use size array
|
783 |
esc_attr( $wpua_image[2] )
|
784 |
) : '';
|
785 |
|
|
|
|
|
786 |
// Construct the img tag
|
787 |
$avatar = sprintf(
|
788 |
+
'<img src="%1$s"%2$s alt="%3$s" class="avatar avatar-%4$s wp-user-avatar wp-user-avatar-%4$s%5$s photo%6$s" />',
|
789 |
esc_url( $wpua_image[0] ),
|
790 |
$dimensions,
|
791 |
esc_attr( $alt ),
|
792 |
esc_attr( $size ),
|
793 |
+
esc_attr( $alignclass ),
|
794 |
+
esc_attr( $class_string )
|
795 |
);
|
796 |
} else {
|
797 |
// Check for custom image sizes
|
828 |
'',
|
829 |
'',
|
830 |
'avatar-' . $size,
|
831 |
+
'wp-user-avatar wp-user-avatar-' . esc_attr( $size ) . esc_attr( $alignclass ) . ' photo' . esc_attr( $class_string )
|
832 |
);
|
833 |
$avatar = str_replace( $replace, $replacements, $avatar );
|
834 |
}
|
includes/class-wp-user-avatar-list-table.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_List_Table extends WP_List_Table {
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_List_Table extends WP_List_Table {
|
includes/class-wp-user-avatar-resource-manager.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* @copyright 2014-2020 Flippercode
|
13 |
* @copyright 2020-2021 ProfilePress
|
14 |
* @copyright 2021 One Designs
|
15 |
-
* @version 2.3.
|
16 |
*/
|
17 |
|
18 |
class WP_User_Avatar_Resource_Manager {
|
12 |
* @copyright 2014-2020 Flippercode
|
13 |
* @copyright 2020-2021 ProfilePress
|
14 |
* @copyright 2021 One Designs
|
15 |
+
* @version 2.3.8
|
16 |
*/
|
17 |
|
18 |
class WP_User_Avatar_Resource_Manager {
|
includes/class-wp-user-avatar-setup.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Setup {
|
@@ -30,7 +30,7 @@ class WP_User_Avatar_Setup {
|
|
30 |
* @since 1.9.2
|
31 |
*/
|
32 |
private function _define_constants() {
|
33 |
-
define( 'WPUA_VERSION', '2.3.
|
34 |
define( 'WPUA_FOLDER', basename( dirname( One_User_Avatar::plugin_file_path() ) ) );
|
35 |
define( 'WPUA_DIR', One_User_Avatar::plugin_dir_path() );
|
36 |
define( 'WPUA_INC', WPUA_DIR . 'includes' . '/' );
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Setup {
|
30 |
* @since 1.9.2
|
31 |
*/
|
32 |
private function _define_constants() {
|
33 |
+
define( 'WPUA_VERSION', '2.3.8' );
|
34 |
define( 'WPUA_FOLDER', basename( dirname( One_User_Avatar::plugin_file_path() ) ) );
|
35 |
define( 'WPUA_DIR', One_User_Avatar::plugin_dir_path() );
|
36 |
define( 'WPUA_INC', WPUA_DIR . 'includes' . '/' );
|
includes/class-wp-user-avatar-shortcode.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Shortcode {
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Shortcode {
|
includes/class-wp-user-avatar-subscriber.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Subscriber {
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Subscriber {
|
includes/class-wp-user-avatar-update.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Update {
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Update {
|
includes/class-wp-user-avatar-widget.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar_Profile_Widget extends WP_Widget {
|
includes/class-wp-user-avatar.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar {
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
class WP_User_Avatar {
|
includes/wpua-functions.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
/**
|
includes/wpua-globals.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
/**
|
includes/wpua-media-page.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
/**
|
includes/wpua-options-page.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
/**
|
includes/wpua-tinymce-window.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
/**
|
includes/wpua-tinymce.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
/**
|
languages/nl_NL.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:38+0200\n"
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.8\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:38+0200\n"
|
languages/one-user-avatar.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.8\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
languages/pt_BR.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:42+0200\n"
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.8\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:42+0200\n"
|
languages/pt_PT.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:43+0200\n"
|
2 |
# This file is distributed under the GPLv2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.8\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:43+0200\n"
|
languages/ro_RO.po
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: One User Avatar 2.3.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:44+0200\n"
|
2 |
# This file is distributed under the same license as the One User Avatar plugin.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: One User Avatar 2.3.8\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
|
7 |
"POT-Creation-Date: 2021-08-05T19:36:27+00:00\n"
|
8 |
"PO-Revision-Date: 2021-08-05 21:44+0200\n"
|
one-user-avatar.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://onedesigns.com/plugins/one-user-avatar/
|
|
5 |
Description: Use any image from your WordPress Media Library as a custom user avatar. Add your own Default Avatar. Fork of WP User Avatar v2.2.16.
|
6 |
Author: One Designs
|
7 |
Author URI: https://onedesigns.com/
|
8 |
-
Version: 2.3.
|
9 |
Text Domain: one-user-avatar
|
10 |
Domain Path: /languages/
|
11 |
|
5 |
Description: Use any image from your WordPress Media Library as a custom user avatar. Add your own Default Avatar. Fork of WP User Avatar v2.2.16.
|
6 |
Author: One Designs
|
7 |
Author URI: https://onedesigns.com/
|
8 |
+
Version: 2.3.8
|
9 |
Text Domain: one-user-avatar
|
10 |
Domain Path: /languages/
|
11 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: onedesigns, properfraction, collizo4sky
|
|
4 |
Tags: user profile, avatar, gravatar, author image, author photo, author avatar, bbPress, profile avatar, profile image, user avatar, user image, user photo, widget
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 2.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -391,6 +391,10 @@ This would output:
|
|
391 |
|
392 |
== Changelog ==
|
393 |
|
|
|
|
|
|
|
|
|
394 |
= 2.3.7 =
|
395 |
* Fix XSS vulnerability
|
396 |
|
4 |
Tags: user profile, avatar, gravatar, author image, author photo, author avatar, bbPress, profile avatar, profile image, user avatar, user image, user photo, widget
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 2.3.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
391 |
|
392 |
== Changelog ==
|
393 |
|
394 |
+
= 2.3.8 =
|
395 |
+
* Pass $args parameter from get_avatar to custom avatar filter
|
396 |
+
* Replace png icon with svg icon in admin menu
|
397 |
+
|
398 |
= 2.3.7 =
|
399 |
* Fix XSS vulnerability
|
400 |
|
uninstall.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
-
* @version 2.3.
|
15 |
*/
|
16 |
|
17 |
/**
|
11 |
* @copyright 2014-2020 Flippercode
|
12 |
* @copyright 2020-2021 ProfilePress
|
13 |
* @copyright 2021 One Designs
|
14 |
+
* @version 2.3.8
|
15 |
*/
|
16 |
|
17 |
/**
|