One User Avatar | User Profile Picture - Version 2.3.5

Version Description

  • Fix "Choose Image" button not triggering media uploader on admin discussion page
  • Remove jQuery UI dependency
  • Prettify avatar library table
Download this release

Release Info

Developer onedesigns
Plugin Icon 128x128 One User Avatar | User Profile Picture
Version 2.3.5
Comparing to
See all releases

Code changes from version 2.3.4 to 2.3.5

README.md CHANGED
@@ -42,13 +42,6 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
42
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43
  GNU General Public License for more details.
44
 
45
- One User Avatar bundles the following third-party resources:
46
-
47
- jQuery UI Slider v1.12.1
48
- Copyright (c) 2021 jQuery Foundation
49
- License: MIT
50
- Source: https://github.com/jquery/jquery-ui
51
-
52
  ## Installation
53
 
54
  1. Download, install, and activate the One User Avatar plugin.
@@ -385,6 +378,11 @@ This would output:
385
 
386
  ## Changelog
387
 
 
 
 
 
 
388
  ### 2.3.4
389
  * Add option to force the file uploader in avatar upload shortcode
390
 
42
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43
  GNU General Public License for more details.
44
 
 
 
 
 
 
 
 
45
  ## Installation
46
 
47
  1. Download, install, and activate the One User Avatar plugin.
378
 
379
  ## Changelog
380
 
381
+ ### 2.3.5
382
+ * Fix "Choose Image" button not triggering media uploader on admin discussion page
383
+ * Remove jQuery UI dependency
384
+ * Prettify avatar library table
385
+
386
  ### 2.3.4
387
  * Add option to force the file uploader in avatar upload shortcode
388
 
assets/css/tinymce-window.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! One User Avatar - 2.3.4
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
1
+ /*! One User Avatar - 2.3.5
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.4
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
@@ -71,11 +71,6 @@
71
  margin-left: 10px !important;
72
  }
73
 
74
- #wpua-slider {
75
- width: 22.75em;
76
- margin: 1em 0;
77
- }
78
-
79
  #wpua-upload-messages span {
80
  display: block;
81
  }
@@ -87,3 +82,18 @@
87
  .wpua-no-avatars {
88
  display: none;
89
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! One User Avatar - 2.3.5
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
71
  margin-left: 10px !important;
72
  }
73
 
 
 
 
 
 
74
  #wpua-upload-messages span {
75
  display: block;
76
  }
82
  .wpua-no-avatars {
83
  display: none;
84
  }
85
+
86
+ .avatars_page_wp-user-avatar-library .wp-list-table.media .manage-column.column-icon,
87
+ .avatars_page_wp-user-avatar-library .wp-list-table.media .column-icon.media-icon {
88
+ width: 62px;
89
+ }
90
+
91
+ .avatars_page_wp-user-avatar-library .wp-list-table.media .column-icon.media-icon a {
92
+ display: block;
93
+ }
94
+
95
+ .avatars_page_wp-user-avatar-library .wp-list-table.media .column-icon.media-icon img {
96
+ display: block;
97
+ max-width: 60px;
98
+ height: auto;
99
+ }
assets/js/tinymce-editor_plugin.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! One User Avatar - 2.3.4
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.4',
48
  };
49
  },
50
  });
1
+ /*! One User Avatar - 2.3.5
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.5',
48
  };
49
  },
50
  });
assets/js/tinymce-window.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! One User Avatar - 2.3.4
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
1
+ /*! One User Avatar - 2.3.5
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.4
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
@@ -25,22 +25,8 @@ jQuery(function($) {
25
  }
26
  });
27
 
28
- // Add size slider
29
- $('#wpua-slider').slider({
30
- value: parseInt(wpua_admin.upload_size_limit),
31
- min: 0,
32
- max: parseInt(wpua_admin.max_upload_size),
33
- step: 1,
34
- slide: function(event, ui) {
35
- $('#wp_user_avatar_upload_size_limit').val(ui.value);
36
- $('#wpua-readable-size').html(Math.floor(ui.value / 1024) + 'KB');
37
- $('#wpua-readable-size-error').hide();
38
- $('#wpua-readable-size').removeClass('wpua-error');
39
- }
40
- });
41
-
42
  // Update readable size on keyup
43
- $('#wp_user_avatar_upload_size_limit').keyup(function() {
44
  var wpuaUploadSizeLimit = $(this).val();
45
 
46
  wpuaUploadSizeLimit = wpuaUploadSizeLimit.replace(/\D/g, "");
@@ -51,6 +37,4 @@ jQuery(function($) {
51
  $('#wpua-readable-size-error').toggle( wpuaUploadSizeLimit > parseInt( wpua_admin.max_upload_size ) );
52
  $('#wpua-readable-size').toggleClass( 'wpua-error', wpuaUploadSizeLimit > parseInt( wpua_admin.max_upload_size ) );
53
  });
54
-
55
- $('#wp_user_avatar_upload_size_limit').val( $('#wpua-slider').slider('value') );
56
  });
1
+ /*! One User Avatar - 2.3.5
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
25
  }
26
  });
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  // Update readable size on keyup
29
+ $('#wp_user_avatar_upload_size_limit').on('input', function() {
30
  var wpuaUploadSizeLimit = $(this).val();
31
 
32
  wpuaUploadSizeLimit = wpuaUploadSizeLimit.replace(/\D/g, "");
37
  $('#wpua-readable-size-error').toggle( wpuaUploadSizeLimit > parseInt( wpua_admin.max_upload_size ) );
38
  $('#wpua-readable-size').toggleClass( 'wpua-error', wpuaUploadSizeLimit > parseInt( wpua_admin.max_upload_size ) );
39
  });
 
 
40
  });
assets/js/wp-user-avatar-user.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! One User Avatar - 2.3.4
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
1
+ /*! One User Avatar - 2.3.5
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.4
2
  * Copyright One Designs
3
  * Copyright ProfilePress
4
  * Copyright Flippercode
1
+ /*! One User Avatar - 2.3.5
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.4
15
  */
16
 
17
  class WP_User_Avatar_Admin {
@@ -116,8 +116,9 @@ class WP_User_Avatar_Admin {
116
  return;
117
  }
118
 
 
 
119
  wp_enqueue_script( 'wp-ajax-response' );
120
- wp_enqueue_script( 'jquery-ui-draggable' );
121
  wp_enqueue_script( 'media' );
122
  }
123
 
@@ -419,7 +420,7 @@ class WP_User_Avatar_Admin {
419
  $avatar_thumb_img = sprintf( '<div id="wpua-preview"><img src="%s" width="32" /></div>', esc_url( $avatar_thumb ) );
420
 
421
  // Add WPUA to list
422
- $wpua_list = sprintf(
423
  '<label><input type="radio" name="avatar_default" id="wp_user_avatar_radio" value="wp_user_avatar" %s /> ',
424
  $selected_avatar
425
  );
@@ -430,6 +431,7 @@ class WP_User_Avatar_Admin {
430
  $wpua_list .= '<span id="wpua-remove-button"' . $hide_remove . '><a href="#" id="wpua-remove">' . __('Remove','one-user-avatar') . '</a></span><span id="wpua-undo-button"><a href="#" id="wpua-undo">' . __('Undo','one-user-avatar') . '</a></span></p>';
431
  $wpua_list .= '<input type="hidden" id="wp-user-avatar" name="avatar_default_wp_user_avatar" value="' . $wpua_avatar_default . '">';
432
  $wpua_list .= '<div id="wpua-modal"></div>';
 
433
  if ( 1 != (bool) $wpua_disable_gravatar ) {
434
  return $wpua_list . '<div id="wp-avatars">' . $avatar_list . '</div>';
435
  } else {
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
15
  */
16
 
17
  class WP_User_Avatar_Admin {
116
  return;
117
  }
118
 
119
+ wp_enqueue_style( 'wp-user-avatar', WPUA_CSS_URL . 'wp-user-avatar.css', '', WPUA_VERSION );
120
+
121
  wp_enqueue_script( 'wp-ajax-response' );
 
122
  wp_enqueue_script( 'media' );
123
  }
124
 
420
  $avatar_thumb_img = sprintf( '<div id="wpua-preview"><img src="%s" width="32" /></div>', esc_url( $avatar_thumb ) );
421
 
422
  // Add WPUA to list
423
+ $wpua_list = sprintf(
424
  '<label><input type="radio" name="avatar_default" id="wp_user_avatar_radio" value="wp_user_avatar" %s /> ',
425
  $selected_avatar
426
  );
431
  $wpua_list .= '<span id="wpua-remove-button"' . $hide_remove . '><a href="#" id="wpua-remove">' . __('Remove','one-user-avatar') . '</a></span><span id="wpua-undo-button"><a href="#" id="wpua-undo">' . __('Undo','one-user-avatar') . '</a></span></p>';
432
  $wpua_list .= '<input type="hidden" id="wp-user-avatar" name="avatar_default_wp_user_avatar" value="' . $wpua_avatar_default . '">';
433
  $wpua_list .= '<div id="wpua-modal"></div>';
434
+
435
  if ( 1 != (bool) $wpua_disable_gravatar ) {
436
  return $wpua_list . '<div id="wp-avatars">' . $avatar_list . '</div>';
437
  } else {
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.4
15
  */
16
 
17
  class WP_User_Avatar_Functions {
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
15
  */
16
 
17
  class WP_User_Avatar_Functions {
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.4
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.5
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.4
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.5
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.4
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.4' );
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.5
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.5' );
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.4
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.5
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.4
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.5
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.4
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.5
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.4
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.5
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.4
15
  */
16
 
17
  class WP_User_Avatar {
@@ -141,7 +141,7 @@ class WP_User_Avatar {
141
 
142
  wp_enqueue_script( 'jquery' );
143
 
144
- if ( $wp_user_avatar->wpua_is_author_or_above() && ! $wpua_force_file_uploader ) {
145
  wp_enqueue_script( 'admin-bar' );
146
  wp_enqueue_media( array( 'post' => $post ) );
147
  wp_enqueue_script( 'wp-user-avatar', WPUA_JS_URL . 'wp-user-avatar.js', array( 'jquery', 'media-editor' ), WPUA_VERSION, true );
@@ -151,11 +151,6 @@ class WP_User_Avatar {
151
 
152
  // Admin scripts
153
  if ( $pagenow == 'options-discussion.php' || $wpua_admin->wpua_is_menu_page() ) {
154
- // Size limit slider
155
- wp_enqueue_script( 'jquery-ui-slider' );
156
- wp_enqueue_style( 'wp-user-avatar-jqueryui', WPUA_CSS_URL . 'jquery-ui.css', '', null );
157
-
158
- // Default avatar
159
  wp_localize_script( 'wp-user-avatar', 'wpua_custom', array(
160
  'avatar_thumb' => $mustache_admin,
161
  ) );
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
15
  */
16
 
17
  class WP_User_Avatar {
141
 
142
  wp_enqueue_script( 'jquery' );
143
 
144
+ if ( ( $wp_user_avatar->wpua_is_author_or_above() && ! $wpua_force_file_uploader ) || 'options-discussion.php' == $pagenow ) {
145
  wp_enqueue_script( 'admin-bar' );
146
  wp_enqueue_media( array( 'post' => $post ) );
147
  wp_enqueue_script( 'wp-user-avatar', WPUA_JS_URL . 'wp-user-avatar.js', array( 'jquery', 'media-editor' ), WPUA_VERSION, true );
151
 
152
  // Admin scripts
153
  if ( $pagenow == 'options-discussion.php' || $wpua_admin->wpua_is_menu_page() ) {
 
 
 
 
 
154
  wp_localize_script( 'wp-user-avatar', 'wpua_custom', array(
155
  'avatar_thumb' => $mustache_admin,
156
  ) );
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.4
15
  */
16
 
17
  /**
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
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.4
15
  */
16
 
17
  /**
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
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.4
15
  */
16
 
17
  /**
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
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.4
15
  */
16
 
17
  /**
@@ -196,7 +196,7 @@ $wpua_options_page_title = apply_filters( 'wpua_options_page_title', $wpua_optio
196
  </span>
197
  </legend>
198
 
199
- <input name="wp_user_avatar_upload_size_limit" type="text" id="wp_user_avatar_upload_size_limit" value="<?php echo esc_attr( $wpua_upload_size_limit ); ?>" class="regular-text" />
200
 
201
  <span id="wpua-readable-size"><?php echo $wpua_upload_size_limit_with_units; ?></span>
202
 
@@ -206,9 +206,7 @@ $wpua_options_page_title = apply_filters( 'wpua_options_page_title', $wpua_optio
206
  ''
207
  ); ?></span>
208
 
209
- <div id="wpua-slider"></div>
210
-
211
- <span class="description">
212
  <?php
213
  printf(
214
  /* translators: file size in KB */
@@ -216,7 +214,7 @@ $wpua_options_page_title = apply_filters( 'wpua_options_page_title', $wpua_optio
216
  esc_html( wp_max_upload_size() ) . esc_html( sprintf( ' bytes (%s)', $upload_size_limit_with_units ) )
217
  );
218
  ?>
219
- </span>
220
  </fieldset>
221
 
222
  <fieldset>
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
15
  */
16
 
17
  /**
196
  </span>
197
  </legend>
198
 
199
+ <input name="wp_user_avatar_upload_size_limit" type="range" id="wp_user_avatar_upload_size_limit" value="<?php echo esc_attr( $wpua_upload_size_limit ); ?>" min="0" max="<?php echo esc_attr( wp_max_upload_size() ); ?>" class="regular-text" />
200
 
201
  <span id="wpua-readable-size"><?php echo $wpua_upload_size_limit_with_units; ?></span>
202
 
206
  ''
207
  ); ?></span>
208
 
209
+ <p class="description">
 
 
210
  <?php
211
  printf(
212
  /* translators: file size in KB */
214
  esc_html( wp_max_upload_size() ) . esc_html( sprintf( ' bytes (%s)', $upload_size_limit_with_units ) )
215
  );
216
  ?>
217
+ </p>
218
  </fieldset>
219
 
220
  <fieldset>
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.4
15
  */
16
 
17
  /**
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
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.4
15
  */
16
 
17
  /**
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
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.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 21:34+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.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 21:34+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.4\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"
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: One User Avatar 2.3.5\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.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 21:35+0200\n"
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: One User Avatar 2.3.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 21:35+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.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 21:35+0200\n"
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: One User Avatar 2.3.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 21:35+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.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 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.5\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/one-user-avatar\n"
7
  "POT-Creation-Date: 2021-06-22T19:28:30+00:00\n"
8
  "PO-Revision-Date: 2021-06-22 21:38+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.4
9
  Text Domain: one-user-avatar
10
  Domain Path: /languages/
11
 
@@ -32,13 +32,6 @@ This program is distributed in the hope that it will be useful,
32
  but WITHOUT ANY WARRANTY; without even the implied warranty of
33
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34
  GNU General Public License for more details.
35
-
36
- One User Avatar bundles the following third-party resources:
37
-
38
- jQuery UI Slider v1.12.1
39
- Copyright (c) 2021 jQuery Foundation
40
- License: MIT
41
- Source: https://github.com/jquery/jquery-ui
42
  */
43
 
44
  if ( ! defined( 'ABSPATH' ) ) {
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.5
9
  Text Domain: one-user-avatar
10
  Domain Path: /languages/
11
 
32
  but WITHOUT ANY WARRANTY; without even the implied warranty of
33
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34
  GNU General Public License for more details.
 
 
 
 
 
 
 
35
  */
36
 
37
  if ( ! defined( 'ABSPATH' ) ) {
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  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.7.2
7
- Stable tag: 2.3.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -50,13 +50,6 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
50
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51
  GNU General Public License for more details.
52
 
53
- One User Avatar bundles the following third-party resources:
54
-
55
- jQuery UI Slider v1.12.1
56
- Copyright (c) 2021 jQuery Foundation
57
- License: MIT
58
- Source: https://github.com/jquery/jquery-ui
59
-
60
  == Installation ==
61
 
62
  1. Download, install, and activate the One User Avatar plugin.
@@ -398,6 +391,11 @@ This would output:
398
 
399
  == Changelog ==
400
 
 
 
 
 
 
401
  = 2.3.4 =
402
  * Add option to force the file uploader in avatar upload shortcode
403
 
3
  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.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
50
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51
  GNU General Public License for more details.
52
 
 
 
 
 
 
 
 
53
  == Installation ==
54
 
55
  1. Download, install, and activate the One User Avatar plugin.
391
 
392
  == Changelog ==
393
 
394
+ = 2.3.5 =
395
+ * Fix "Choose Image" button not triggering media uploader on admin discussion page
396
+ * Remove jQuery UI dependency
397
+ * Prettify avatar library table
398
+
399
  = 2.3.4 =
400
  * Add option to force the file uploader in avatar upload shortcode
401
 
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.4
15
  */
16
 
17
  /**
11
  * @copyright 2014-2020 Flippercode
12
  * @copyright 2020-2021 ProfilePress
13
  * @copyright 2021 One Designs
14
+ * @version 2.3.5
15
  */
16
 
17
  /**