WP User Avatar - Version 2.2.6

Version Description

  • Improve compatibility with latest WordPress version.
Download this release

Release Info

Developer Collizo4sky
Plugin Icon 128x128 WP User Avatar
Version 2.2.6
Comparing to
See all releases

Code changes from version 2.2.5 to 2.2.6

includes/mo-notice.php ADDED
@@ -0,0 +1,180 @@
1
+ <?php
2
+
3
+ if ( ! class_exists( 'MO_Admin_Notice' ) ) {
4
+
5
+ class MO_Admin_Notice {
6
+ public function __construct() {
7
+ add_action( 'admin_notices', array( $this, 'admin_notice' ) );
8
+ add_action( 'network_admin_notices', array( $this, 'admin_notice' ) );
9
+
10
+ add_action( 'admin_init', array( $this, 'dismiss_admin_notice' ) );
11
+ }
12
+
13
+ public function dismiss_admin_notice() {
14
+ if ( ! isset( $_GET['mo-adaction'] ) || $_GET['mo-adaction'] != 'mo_dismiss_adnotice' ) {
15
+ return;
16
+ }
17
+
18
+ $url = admin_url();
19
+ update_option( 'mo_dismiss_adnotice', 'true' );
20
+
21
+ wp_redirect( $url );
22
+ exit;
23
+ }
24
+
25
+ public function admin_notice() {
26
+
27
+ global $pagenow;
28
+
29
+ if($pagenow == 'index.php' || (isset($_GET['page']) && strpos($_GET['page'], 'wp-user-avatar') !== false)) {
30
+
31
+ if (get_option('mo_dismiss_adnotice', 'false') == 'true') {
32
+ return;
33
+ }
34
+
35
+ if ($this->is_plugin_installed() && $this->is_plugin_active()) {
36
+ return;
37
+ }
38
+
39
+ $dismiss_url = esc_url_raw(
40
+ add_query_arg(
41
+ array(
42
+ 'mo-adaction' => 'mo_dismiss_adnotice'
43
+ ),
44
+ admin_url()
45
+ )
46
+ );
47
+ $this->notice_css();
48
+ $install_url = wp_nonce_url(
49
+ admin_url('update.php?action=install-plugin&plugin=mailoptin'),
50
+ 'install-plugin_mailoptin'
51
+ );
52
+
53
+ $activate_url = wp_nonce_url(admin_url('plugins.php?action=activate&plugin=mailoptin%2Fmailoptin.php'), 'activate-plugin_mailoptin/mailoptin.php');
54
+ ?>
55
+ <div class="mo-admin-notice notice notice-success">
56
+ <div class="mo-notice-first-half">
57
+ <p>
58
+ <?php
59
+ printf(
60
+ __('Free optin form plugin that will increase revenue, %1$sincrease your email subscribers%2$s and keep them engaged with %1$sautomated and schedule newsletters%2$s.'),
61
+ '<span class="mo-stylize"><strong>', '</strong></span>');
62
+ ?>
63
+ </p>
64
+ <p style="text-decoration: underline;font-size: 12px;">Recommended by WP User Avatar</p>
65
+ </div>
66
+ <div class="mo-notice-other-half">
67
+ <?php if ( ! $this->is_plugin_installed()) : ?>
68
+ <a class="button button-primary button-hero" id="mo-install-mailoptin-plugin" href="<?php echo $install_url; ?>">
69
+ <?php _e('Install MailOptin Now for Free!'); ?>
70
+ </a>
71
+ <?php endif; ?>
72
+ <?php if ($this->is_plugin_installed() && ! $this->is_plugin_active()) : ?>
73
+ <a class="button button-primary button-hero" id="mo-activate-mailoptin-plugin" href="<?php echo $activate_url; ?>">
74
+ <?php _e('Activate MailOptin Now!'); ?>
75
+ </a>
76
+ <?php endif; ?>
77
+ <div class="mo-notice-learn-more">
78
+ <a target="_blank" href="https://mailoptin.io">Learn more</a>|<a target="_blank" href="<?php echo $dismiss_url;?>">Dismiss notice</a>
79
+ </div>
80
+ </div>
81
+ <a href="<?php echo $dismiss_url; ?>">
82
+ <button type="button" class="notice-dismiss">
83
+ <span class="screen-reader-text"><?php _e('Dismiss this notice'); ?>.</span>
84
+ </button>
85
+ </a>
86
+ </div>
87
+ <?php
88
+ }
89
+ }
90
+
91
+ public function current_admin_url() {
92
+ $parts = parse_url( home_url() );
93
+ $uri = $parts['scheme'] . '://' . $parts['host'];
94
+
95
+ if ( array_key_exists( 'port', $parts ) ) {
96
+ $uri .= ':' . $parts['port'];
97
+ }
98
+
99
+ $uri .= add_query_arg( array() );
100
+
101
+ return $uri;
102
+ }
103
+
104
+ public function is_plugin_installed() {
105
+ $installed_plugins = get_plugins();
106
+
107
+ return isset( $installed_plugins['mailoptin/mailoptin.php'] );
108
+ }
109
+
110
+ public function is_plugin_active() {
111
+ return is_plugin_active( 'mailoptin/mailoptin.php' );
112
+ }
113
+
114
+ public function notice_css() {
115
+ ?>
116
+ <style type="text/css">
117
+ .mo-admin-notice {
118
+ background: #fff;
119
+ color: #000;
120
+ border-left-color: #46b450;
121
+ position: relative;
122
+ }
123
+
124
+ .mo-admin-notice .notice-dismiss:before {
125
+ color: #72777c;
126
+ }
127
+
128
+ .mo-admin-notice .mo-stylize {
129
+ line-height: 2;
130
+ }
131
+
132
+ .mo-admin-notice .button-primary {
133
+ background: #006799;
134
+ text-shadow: none;
135
+ border: 0;
136
+ box-shadow: none;
137
+ }
138
+
139
+ .mo-notice-first-half {
140
+ width: 66%;
141
+ display: inline-block;
142
+ margin: 10px 0;
143
+ }
144
+
145
+ .mo-notice-other-half {
146
+ width: 33%;
147
+ display: inline-block;
148
+ padding: 20px 0;
149
+ position: absolute;
150
+ text-align: center;
151
+ }
152
+
153
+ .mo-notice-first-half p {
154
+ font-size: 14px;
155
+ }
156
+
157
+ .mo-notice-learn-more a {
158
+ margin: 10px;
159
+ }
160
+
161
+ .mo-notice-learn-more {
162
+ margin-top: 10px;
163
+ }
164
+ </style>
165
+ <?php
166
+ }
167
+
168
+ public static function instance() {
169
+ static $instance = null;
170
+
171
+ if ( is_null( $instance ) ) {
172
+ $instance = new self();
173
+ }
174
+
175
+ return $instance;
176
+ }
177
+ }
178
+
179
+ MO_Admin_Notice::instance();
180
+ }
includes/wpua-functions.php CHANGED
@@ -171,24 +171,6 @@ function wpua_do_after_avatar_admin() {
171
}
172
add_action('wpua_after_avatar_admin', 'wpua_do_after_avatar_admin');
173
174
- /**
175
- * Filter for the inevitable complaints about the donation message :(
176
- * @since 1.6.6
177
- * @uses do_action()
178
- */
179
- function wpua_donation_message() {
180
- do_action('wpua_donation_message');
181
- }
182
-
183
- /**
184
- * Donation message
185
- * @since 1.6.6
186
- */
187
- function wpua_do_donation_message() { ?>
188
- <?php
189
- }
190
- //add_action('wpua_donation_message', 'wpua_do_donation_message');
191
-
192
/**
193
* Register widget
194
* @since 1.9.4
171
}
172
add_action('wpua_after_avatar_admin', 'wpua_do_after_avatar_admin');
173
174
/**
175
* Register widget
176
* @since 1.9.4
includes/wpua-options-page.php CHANGED
@@ -56,7 +56,6 @@ $wpua_options_page_title = apply_filters('wpua_options_page_title', $wpua_option
56
<form method="post" action="<?php echo admin_url('options.php'); ?>">
57
<?php settings_fields('wpua-settings-group'); ?>
58
<?php do_settings_fields('wpua-settings-group', ""); ?>
59
- <?php do_action('wpua_donation_message'); ?>
60
<table class="form-table">
61
<?php
62
// Format settings in table rows
@@ -205,29 +204,5 @@ $wpua_options_page_title = apply_filters('wpua_options_page_title', $wpua_option
205
</form>
206
207
</td>
208
- <td>
209
- <div id="fc-sidebar">
210
- <div class="fc-box">
211
- <h3>WP User Avatar Pro</h3>
212
- <p><a target="_blank" href="http://www.wpuseravatar.com"><img width="500" src="<?php echo WPUA_URL.'images/wp-user-avatar-banner.png'; ?>" /></a></p>
213
- <p><em>Introducing awesome features to enhance user experience when they upload own avatar.</em></p>
214
- <p>Pro features include webcam, custom folder, amazon s3 storage, dropbox storage, cropping and priority support.</p>
215
- <p><a class="button button-primary button-large" target="_blank" href="http://www.wpuseravatar.com">View Features »</a></p>
216
- </div>
217
- <div class="fc-box">
218
- <h4>Looking for support?</h4>
219
- <p>Use the <a target="_blank" href="http://www.flippercode.com/forums">support forums</a> on flippercode.com.</p>
220
- </div>
221
-
222
- <div class="fc-box">
223
- <h4>Your Appreciation</h4>
224
- <ul class="ul-square">
225
- <li><a target="_blank" href="http://www.wpuseravatar.com/">Upgrade to WP User Avatar Pro</a></li>
226
- <li><a target="_blank" href="https://wordpress.org/support/view/plugin-reviews/wp-user-avatar?rate=5#postform">Leave a ★★★★★ plugin review on WordPress.org</a></li>
227
- <li><a target="_blank" href="https://wordpress.org/plugins/wp-user-avatar/">Vote "works" on the WordPress.org plugin page</a></li>
228
- </ul>
229
- </div>
230
- </div>
231
- </td>
232
</tr></table>
233
</div>
56
<form method="post" action="<?php echo admin_url('options.php'); ?>">
57
<?php settings_fields('wpua-settings-group'); ?>
58
<?php do_settings_fields('wpua-settings-group', ""); ?>
59
<table class="form-table">
60
<?php
61
// Format settings in table rows
204
</form>
205
206
</td>
207
</tr></table>
208
</div>
lang/wp-user-avatar-en_US.mo CHANGED
Binary file
lang/wp-user-avatar-en_US.po CHANGED
@@ -2,10 +2,10 @@ msgid ""
2
msgstr ""
3
"Project-Id-Version: WP USER AVATAR\n"
4
"Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2020-02-20 11:46+0530\n"
6
- "PO-Revision-Date: 2020-02-20 11:46+0530\n"
7
- "Last-Translator: Flipper Code <hello@flippercode.com>\n"
8
- "Language-Team: Flipper Code <hello@flippercode.com>\n"
9
"Language: en_US\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=UTF-8\n"
@@ -13,7 +13,7 @@ msgstr ""
13
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
"X-Poedit-Basepath: ..\n"
15
"X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Generator: Poedit 1.8.7.1\n"
17
"X-Poedit-SearchPath-0: .\n"
18
19
#: includes/class-wp-user-avatar-admin.php:113
@@ -30,7 +30,7 @@ msgstr ""
30
31
#: includes/class-wp-user-avatar-admin.php:114
32
#: includes/class-wp-user-avatar-admin.php:298
33
- #: includes/wpua-options-page.php:73
34
msgid "Settings"
35
msgstr ""
36
@@ -73,7 +73,7 @@ msgstr ""
73
74
#: includes/class-wp-user-avatar-admin.php:267
75
#: includes/class-wp-user-avatar-admin.php:381
76
- #: includes/wpua-options-page.php:194 includes/wpua-options-page.php:197
77
msgid "Default Avatar"
78
msgstr ""
79
@@ -200,7 +200,7 @@ msgstr ""
200
msgid "Upload"
201
msgstr ""
202
203
- #: includes/class-wp-user-avatar.php:185 includes/wpua-options-page.php:125
204
#, php-format
205
msgid "Maximum upload file size: %d%s."
206
msgstr ""
@@ -338,80 +338,80 @@ msgstr ""
338
msgid "Search"
339
msgstr ""
340
341
- #: includes/wpua-options-page.php:81
342
msgid "Add avatar button to Visual Editor"
343
msgstr ""
344
345
- #: includes/wpua-options-page.php:87
346
msgid "Allow Contributors & Subscribers to upload avatars"
347
msgstr ""
348
349
- #: includes/wpua-options-page.php:93
350
msgid "Disable Gravatar and use only local avatars"
351
msgstr ""
352
353
- #: includes/wpua-options-page.php:115 includes/wpua-options-page.php:120
354
msgid "Upload Size Limit"
355
msgstr ""
356
357
- #: includes/wpua-options-page.php:115 includes/wpua-options-page.php:120
358
msgid "(only for Contributors & Subscribers)"
359
msgstr ""
360
361
- #: includes/wpua-options-page.php:123
362
#, php-format
363
msgid "%s exceeds the maximum upload size for this site."
364
msgstr ""
365
366
- #: includes/wpua-options-page.php:130
367
msgid "Allow users to edit avatars"
368
msgstr ""
369
370
- #: includes/wpua-options-page.php:136
371
msgid "Resize avatars on upload"
372
msgstr ""
373
374
- #: includes/wpua-options-page.php:140
375
msgid "Width"
376
msgstr ""
377
378
- #: includes/wpua-options-page.php:142
379
msgid "Height"
380
msgstr ""
381
382
- #: includes/wpua-options-page.php:146
383
msgid "Crop avatars to exact dimensions"
384
msgstr ""
385
386
- #: includes/wpua-options-page.php:162 includes/wpua-options-page.php:165
387
msgid "Avatar Display"
388
msgstr ""
389
390
- #: includes/wpua-options-page.php:168
391
msgid "Show Avatars"
392
msgstr ""
393
394
- #: includes/wpua-options-page.php:174 includes/wpua-options-page.php:177
395
msgid "Maximum Rating"
396
msgstr ""
397
398
- #: includes/wpua-options-page.php:180
399
msgid "G &#8212; Suitable for all audiences"
400
msgstr ""
401
402
- #: includes/wpua-options-page.php:181
403
msgid "PG &#8212; Possibly offensive, usually for audiences 13 and above"
404
msgstr ""
405
406
- #: includes/wpua-options-page.php:182
407
msgid "R &#8212; Intended for adult audiences above 17"
408
msgstr ""
409
410
- #: includes/wpua-options-page.php:183
411
msgid "X &#8212; Even more mature than above"
412
msgstr ""
413
414
- #: includes/wpua-options-page.php:198
415
msgid ""
416
"For users without a custom avatar of their own, you can either display a "
417
"generic logo or a generated one based on their e-mail address."
2
msgstr ""
3
"Project-Id-Version: WP USER AVATAR\n"
4
"Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-04-22 11:23+0100\n"
6
+ "PO-Revision-Date: 2020-04-22 11:27+0100\n"
7
+ "Last-Translator: ProfilePress <https://profilepress.net/>\n"
8
+ "Language-Team: ProfilePress <https://profilepress.net/>\n"
9
"Language: en_US\n"
10
"MIME-Version: 1.0\n"
11
"Content-Type: text/plain; charset=UTF-8\n"
13
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
14
"X-Poedit-Basepath: ..\n"
15
"X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Poedit 1.8.12\n"
17
"X-Poedit-SearchPath-0: .\n"
18
19
#: includes/class-wp-user-avatar-admin.php:113
30
31
#: includes/class-wp-user-avatar-admin.php:114
32
#: includes/class-wp-user-avatar-admin.php:298
33
+ #: includes/wpua-options-page.php:72
34
msgid "Settings"
35
msgstr ""
36
73
74
#: includes/class-wp-user-avatar-admin.php:267
75
#: includes/class-wp-user-avatar-admin.php:381
76
+ #: includes/wpua-options-page.php:193 includes/wpua-options-page.php:196
77
msgid "Default Avatar"
78
msgstr ""
79
200
msgid "Upload"
201
msgstr ""
202
203
+ #: includes/class-wp-user-avatar.php:185 includes/wpua-options-page.php:124
204
#, php-format
205
msgid "Maximum upload file size: %d%s."
206
msgstr ""
338
msgid "Search"
339
msgstr ""
340
341
+ #: includes/wpua-options-page.php:80
342
msgid "Add avatar button to Visual Editor"
343
msgstr ""
344
345
+ #: includes/wpua-options-page.php:86
346
msgid "Allow Contributors & Subscribers to upload avatars"
347
msgstr ""
348
349
+ #: includes/wpua-options-page.php:92
350
msgid "Disable Gravatar and use only local avatars"
351
msgstr ""
352
353
+ #: includes/wpua-options-page.php:114 includes/wpua-options-page.php:119
354
msgid "Upload Size Limit"
355
msgstr ""
356
357
+ #: includes/wpua-options-page.php:114 includes/wpua-options-page.php:119
358
msgid "(only for Contributors & Subscribers)"
359
msgstr ""
360
361
+ #: includes/wpua-options-page.php:122
362
#, php-format
363
msgid "%s exceeds the maximum upload size for this site."
364
msgstr ""
365
366
+ #: includes/wpua-options-page.php:129
367
msgid "Allow users to edit avatars"
368
msgstr ""
369
370
+ #: includes/wpua-options-page.php:135
371
msgid "Resize avatars on upload"
372
msgstr ""
373
374
+ #: includes/wpua-options-page.php:139
375
msgid "Width"
376
msgstr ""
377
378
+ #: includes/wpua-options-page.php:141
379
msgid "Height"
380
msgstr ""
381
382
+ #: includes/wpua-options-page.php:145
383
msgid "Crop avatars to exact dimensions"
384
msgstr ""
385
386
+ #: includes/wpua-options-page.php:161 includes/wpua-options-page.php:164
387
msgid "Avatar Display"
388
msgstr ""
389
390
+ #: includes/wpua-options-page.php:167
391
msgid "Show Avatars"
392
msgstr ""
393
394
+ #: includes/wpua-options-page.php:173 includes/wpua-options-page.php:176
395
msgid "Maximum Rating"
396
msgstr ""
397
398
+ #: includes/wpua-options-page.php:179
399
msgid "G &#8212; Suitable for all audiences"
400
msgstr ""
401
402
+ #: includes/wpua-options-page.php:180
403
msgid "PG &#8212; Possibly offensive, usually for audiences 13 and above"
404
msgstr ""
405
406
+ #: includes/wpua-options-page.php:181
407
msgid "R &#8212; Intended for adult audiences above 17"
408
msgstr ""
409
410
+ #: includes/wpua-options-page.php:182
411
msgid "X &#8212; Even more mature than above"
412
msgstr ""
413
414
+ #: includes/wpua-options-page.php:197
415
msgid ""
416
"For users without a custom avatar of their own, you can either display a "
417
"generic logo or a generated one based on their e-mail address."
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
- === WP User Avatar ===
2
3
Contributors: properfraction, collizo4sky
4
- Tags: author image, author photo, author avatar, avatar, bbPress, profile avatar, profile image, user avatar, user image, user photo, widget
5
Requires at least: 4.0
6
Tested up to: 5.4
7
- Stable tag: 2.2.5
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
- Use any image from your WordPress Media Library as a custom user avatar. Add your own Default Avatar.
12
13
== Description ==
14
@@ -25,28 +25,6 @@ WordPress currently only allows you to use custom avatars that are uploaded thro
25
* Allow Contributors and Subscribers to upload their own avatars.
26
* Limit upload file size and image dimensions for Contributors and Subscribers.
27
28
- **Introducing Support Desk**
29
-
30
- We're at [FlipperCode](http://www.flippercode.com/), committed to excellent support to make every download worth for the user. Happily announcing [Support Desk](http://www.flippercode.com/forums/) for our valuable users to engaged with multiple support desk person for fast turnout.
31
-
32
- **Introducing Pro Version of WP USER AVATAR**
33
-
34
- We have developed a [Pro Version](http://www.wpuseravatar.com/) of WP USER AVATAR by getting valuable features request from thousands of users especially about Storage options and how user upload the avatar. Here is a quick highlight on the numerous customizable features offered by the [WP USER AVATAR PRO](http://www.wpuseravatar.com/) .
35
-
36
- <ul>
37
- <li>Easy Upload and Capture functionality with crop avatar options.</li>
38
- <li>Use Webcam to get Avatar instantly.</li>
39
- <li>Allow user to upload avatar on Registration Page.</li>
40
- <li>Easy to adjust avatar dimensions.</li>
41
- <li>Enable to add or edit avatar while adding existing user to the blog in multi-site network.</li>
42
- <li>Keep Avatars in Custom Folder instead of Media Manager.</li>
43
- <li>Keep Avatars on Amazon S3 Storage</li>
44
- <li>Keep Avatars on Dropbox</li>
45
- <li>Keep Avatars in Media Manager</li>
46
- <li>Easy to use Settings to control every functionality.</li>
47
- <li>Multi-lingual, Multi-Site, BBPRESS and Buddypress Supported.</li>
48
- </ul>
49
-
50
== Installation ==
51
52
Visit [WP User Avatar](http://www.wpuseravatar.com/) for more information and documentation.
@@ -204,10 +182,6 @@ Yes!
204
205
No, BuddyPress has its own custom avatar functions and WP User Avatar will override only some of them. It's best to use BuddyPress without WP User Avatar.
206
207
- = Will WP User Avatar work with WordPress Multisite? =
208
-
209
- Yes, however, each site has its own avatar settings. If you set a WP User Avatar image on one site, you have to set it again for different sites in your network.
210
-
211
= How can I see which users have an avatar? =
212
213
For Administrators, WP User Avatar adds a column with avatar thumbnails to your Users list table. If "Show Avatars" is enabled in your WP User Avatar settings, you will see avatars to the left of each username instead of in a new column.
@@ -288,11 +262,6 @@ Outputs:
288
* <code>has_wp_user_avatar</code>: checks if the user has a WP User Avatar image
289
* [See example usage here](http://wordpress.org/extend/plugins/wp-user-avatar/installation/)
290
291
- = There's a call for donations in the WP User Avatar settings. How can I remove it? =
292
- I've spent countless hours developing this plugin for free. If you're able to give a donation I'd appreciate it, but it's by no means a requirement. You can remove the message by adding this to the <code>functions.php</code> file of your theme:
293
-
294
- `remove_action('wpua_donation_message', 'wpua_do_donation_message');`
295
-
296
== Advanced Settings ==
297
298
Visit [WP User Avatar](http://wpuseravatar.com/) for more information and documentation.
@@ -401,6 +370,9 @@ This would output:
401
402
== Changelog ==
403
404
= 2.2.5 =
405
* Fix: Missing translation strings added.
406
1
+ === WP User Avatar | User Profile Picture ===
2
3
Contributors: 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.4
7
+ Stable tag: 2.2.6
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
11
+ Use any image from your WordPress Media Library as a custom user avatar or user profile picture. Add your own Default Avatar.
12
13
== Description ==
14
25
* Allow Contributors and Subscribers to upload their own avatars.
26
* Limit upload file size and image dimensions for Contributors and Subscribers.
27
28
== Installation ==
29
30
Visit [WP User Avatar](http://www.wpuseravatar.com/) for more information and documentation.
182
183
No, BuddyPress has its own custom avatar functions and WP User Avatar will override only some of them. It's best to use BuddyPress without WP User Avatar.
184
185
= How can I see which users have an avatar? =
186
187
For Administrators, WP User Avatar adds a column with avatar thumbnails to your Users list table. If "Show Avatars" is enabled in your WP User Avatar settings, you will see avatars to the left of each username instead of in a new column.
262
* <code>has_wp_user_avatar</code>: checks if the user has a WP User Avatar image
263
* [See example usage here](http://wordpress.org/extend/plugins/wp-user-avatar/installation/)
264
265
== Advanced Settings ==
266
267
Visit [WP User Avatar](http://wpuseravatar.com/) for more information and documentation.
370
371
== Changelog ==
372
373
+ = 2.2.6 =
374
+ * Improve compatibility with latest WordPress version.
375
+
376
= 2.2.5 =
377
* Fix: Missing translation strings added.
378
wp-user-avatar.php CHANGED
@@ -1,16 +1,11 @@
1
<?php
2
- /**
3
- * @package WP User Avatar
4
- * @version 2.2.5
5
- */
6
-
7
/*
8
Plugin Name: WP User Avatar
9
Plugin URI: http://wordpress.org/plugins/wp-user-avatar/
10
Description: Use any image from your WordPress Media Library as a custom user avatar. Add your own Default Avatar.
11
- Author: flippercode
12
- Author URI: http://www.flippercode.com/
13
- Version: 2.2.5
14
Text Domain: wp-user-avatar
15
Domain Path: /lang/
16
*/
@@ -83,6 +78,7 @@ class WP_User_Avatar_Setup {
83
require_once(WPUA_INC.'class-wp-user-avatar-subscriber.php');
84
require_once(WPUA_INC.'class-wp-user-avatar-update.php');
85
require_once(WPUA_INC.'class-wp-user-avatar-widget.php');
86
87
// Load TinyMCE only if enabled
88
if((bool) $wpua_tinymce == 1) {
1
<?php
2
/*
3
Plugin Name: WP User Avatar
4
Plugin URI: http://wordpress.org/plugins/wp-user-avatar/
5
Description: Use any image from your WordPress Media Library as a custom user avatar. Add your own Default Avatar.
6
+ Author: ProfilePress
7
+ Author URI: https://profilepress.net/
8
+ Version: 2.2.6
9
Text Domain: wp-user-avatar
10
Domain Path: /lang/
11
*/
78
require_once(WPUA_INC.'class-wp-user-avatar-subscriber.php');
79
require_once(WPUA_INC.'class-wp-user-avatar-update.php');
80
require_once(WPUA_INC.'class-wp-user-avatar-widget.php');
81
+ require_once(WPUA_INC.'mo-notice.php');
82
83
// Load TinyMCE only if enabled
84
if((bool) $wpua_tinymce == 1) {