User Profile Picture - Version 2.3.9

Version Description

  • Released 2019-12-06
  • Removing adverts for User Profile Picture Enhanced.
Download this release

Release Info

Developer ronalfy
Plugin Icon 128x128 User Profile Picture
Version 2.3.9
Comparing to
See all releases

Code changes from version 2.3.8 to 2.3.9

Files changed (2) hide show
  1. metronet-profile-picture.php +2 -16
  2. readme.txt +5 -5
metronet-profile-picture.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: User Profile Picture
4
  Plugin URI: http://wordpress.org/extend/plugins/metronet-profile-picture/
5
  Description: Use the native WP uploader on your user profile page.
6
  Author: Ronald Huereca
7
- Version: 2.3.8
8
  Requires at least: 4.6
9
  Author URI: https://www.mediaron.com
10
  Contributors: ronalfy
@@ -12,7 +12,7 @@ Text Domain: metronet-profile-picture
12
  Domain Path: /languages
13
  */
14
 
15
- define( 'METRONET_PROFILE_PICTURE_VERSION', '2.3.8' );
16
  define( 'METRONET_PROFILE_PICTURE_PLUGIN_NAME', 'User Profile Picture' );
17
  define( 'METRONET_PROFILE_PICTURE_DIR', plugin_dir_path( __FILE__ ) );
18
  define( 'METRONET_PROFILE_PICTURE_URL', plugins_url( '/', __FILE__ ) );
@@ -188,13 +188,6 @@ class Metronet_Profile_Picture {
188
  <?php wp_nonce_field( 'save_mpp_options' ); ?>
189
  <h1><svg id="Layer_1" width="30" height="30" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 753.53 979.74"><title>upp</title><path d="M806.37,185.9c0,40.27-30.49,72.9-68.11,72.9s-68.17-32.63-68.17-72.9S700.62,113,738.26,113,806.37,145.64,806.37,185.9Z" transform="translate(-123.47 -11)" fill="#4063ad"/><path d="M330.36,183.8c0,40.27-30.49,72.9-68.12,72.9s-68.17-32.63-68.17-72.9,30.52-72.87,68.17-72.87S330.36,143.56,330.36,183.8Z" transform="translate(-123.47 -11)" fill="#a34d9c"/><path d="M331.3,888.13V698.21H329c-31.64,0-57.28-27.45-57.28-61.29V336.5a118.37,118.37,0,0,1,5.43-34.79H179.84c-31.94,0-56.37,31.57-56.37,56.34V601.46h48.32V888.13Z" transform="translate(-123.47 -11)" fill="#a34d9c"/><path d="M388.59,636.92V990.74H611.88V636.92H671.5V336.5c0-30.63-27.64-69.57-69.6-69.57H398.56c-39.44,0-69.61,38.94-69.61,69.57V636.92Z" transform="translate(-123.47 -11)" fill="#f4831f"/><path d="M584.3,101c0,49.69-37.63,90-84,90S416.12,150.67,416.12,101s37.66-90,84.14-90S584.3,51.27,584.3,101Z" transform="translate(-123.47 -11)" fill="#f4831f"/><path d="M820.61,303.79H724.08a121.69,121.69,0,0,1,4.7,32.71V636.92c0,33.84-25.64,61.29-57.28,61.29h-2.33v192H828.7V603.54H877V360.16C877,335.36,854.62,303.79,820.61,303.79Z" transform="translate(-123.47 -11)" fill="#4063ad"/></svg> <?php esc_html_e( 'User Profile Picture', 'metronet-profile-picture' ); ?></h1>
190
  <p><?php esc_html_e( 'Welcome to User Profile Picture!', 'metronet-profile-picture' ); ?></p>
191
- <?php
192
- if ( ! defined( 'USER_PROFILE_PICTURE_ENHANCED' ) ) :
193
- ?>
194
- <p><?php esc_html_e( 'Please try: ', 'metronet-profile-picture' ); ?><a target="_blank" href="https://mediaron.com/downloads/user-profile-picture-enhanced/"><?php esc_html_e( 'User Profile Picture Enhanced', 'metronet-profile-picture' ); ?></a></p>
195
- <?php
196
- endif;
197
- ?>
198
  <table class="form-table">
199
  <tbody>
200
  <tr>
@@ -761,13 +754,6 @@ class Metronet_Profile_Picture {
761
  esc_html__( 'Settings', 'metronet-profile-picture' )
762
  );
763
  }
764
- if ( ! defined( 'USER_PROFILE_PICTURE_ENHANCED' ) ) {
765
- $admin_anchor .= sprintf(
766
- ' | <a href="%s">%s</a>',
767
- esc_url( 'https://mediaron.com/downloads/user-profile-picture-enhanced/' ),
768
- esc_html__( 'Get Enhanced!', 'metronet-profile-picture' )
769
- );
770
- }
771
  if ( ! is_array( $settings ) ) {
772
  return array( $admin_anchor );
773
  } else {
4
  Plugin URI: http://wordpress.org/extend/plugins/metronet-profile-picture/
5
  Description: Use the native WP uploader on your user profile page.
6
  Author: Ronald Huereca
7
+ Version: 2.3.9
8
  Requires at least: 4.6
9
  Author URI: https://www.mediaron.com
10
  Contributors: ronalfy
12
  Domain Path: /languages
13
  */
14
 
15
+ define( 'METRONET_PROFILE_PICTURE_VERSION', '2.3.9' );
16
  define( 'METRONET_PROFILE_PICTURE_PLUGIN_NAME', 'User Profile Picture' );
17
  define( 'METRONET_PROFILE_PICTURE_DIR', plugin_dir_path( __FILE__ ) );
18
  define( 'METRONET_PROFILE_PICTURE_URL', plugins_url( '/', __FILE__ ) );
188
  <?php wp_nonce_field( 'save_mpp_options' ); ?>
189
  <h1><svg id="Layer_1" width="30" height="30" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 753.53 979.74"><title>upp</title><path d="M806.37,185.9c0,40.27-30.49,72.9-68.11,72.9s-68.17-32.63-68.17-72.9S700.62,113,738.26,113,806.37,145.64,806.37,185.9Z" transform="translate(-123.47 -11)" fill="#4063ad"/><path d="M330.36,183.8c0,40.27-30.49,72.9-68.12,72.9s-68.17-32.63-68.17-72.9,30.52-72.87,68.17-72.87S330.36,143.56,330.36,183.8Z" transform="translate(-123.47 -11)" fill="#a34d9c"/><path d="M331.3,888.13V698.21H329c-31.64,0-57.28-27.45-57.28-61.29V336.5a118.37,118.37,0,0,1,5.43-34.79H179.84c-31.94,0-56.37,31.57-56.37,56.34V601.46h48.32V888.13Z" transform="translate(-123.47 -11)" fill="#a34d9c"/><path d="M388.59,636.92V990.74H611.88V636.92H671.5V336.5c0-30.63-27.64-69.57-69.6-69.57H398.56c-39.44,0-69.61,38.94-69.61,69.57V636.92Z" transform="translate(-123.47 -11)" fill="#f4831f"/><path d="M584.3,101c0,49.69-37.63,90-84,90S416.12,150.67,416.12,101s37.66-90,84.14-90S584.3,51.27,584.3,101Z" transform="translate(-123.47 -11)" fill="#f4831f"/><path d="M820.61,303.79H724.08a121.69,121.69,0,0,1,4.7,32.71V636.92c0,33.84-25.64,61.29-57.28,61.29h-2.33v192H828.7V603.54H877V360.16C877,335.36,854.62,303.79,820.61,303.79Z" transform="translate(-123.47 -11)" fill="#4063ad"/></svg> <?php esc_html_e( 'User Profile Picture', 'metronet-profile-picture' ); ?></h1>
190
  <p><?php esc_html_e( 'Welcome to User Profile Picture!', 'metronet-profile-picture' ); ?></p>
 
 
 
 
 
 
 
191
  <table class="form-table">
192
  <tbody>
193
  <tr>
754
  esc_html__( 'Settings', 'metronet-profile-picture' )
755
  );
756
  }
 
 
 
 
 
 
 
757
  if ( ! is_array( $settings ) ) {
758
  return array( $admin_anchor );
759
  } else {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: ronalfy, Alaadiaa
3
  Tags: users, user profile, gravatar, avatar, blocks, block
4
  Requires at least: 3.5
5
  Tested up to: 5.3
6
- Stable tag: 2.3.8
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -14,8 +14,6 @@ Set a custom profile image (avatar) for a user using the standard WordPress medi
14
 
15
  Set or remove a custom profile image for a user using the standard WordPress media upload tool.
16
 
17
- > Get <a href="https://mediaron.com/downloads/user-profile-picture-enhanced/">User Profile Picture Enhanced</a>, an add-on for User Profile Picture.
18
-
19
  <a href="https://mediaron.com/user-profile-picture/">View Documentation and Examples</a>
20
 
21
  https://www.youtube.com/watch?v=9icnOWWZUpA&rel=0
@@ -126,6 +124,10 @@ Yes, but you'll have to set a new profile image per site. This is currently a l
126
 
127
  == Changelog ==
128
 
 
 
 
 
129
  = 2.3.8 =
130
  * Released 2019-10-30
131
  * Removing top-level navigation.
@@ -145,7 +147,6 @@ Yes, but you'll have to set a new profile image per site. This is currently a l
145
 
146
  = 2.3.2 =
147
  * Released 2019-07-14
148
- * Added top level navigation menu in anticipation for User Profile Picture Enhanced.
149
  * Adding more filters for third-party plugin integration.
150
 
151
  = 2.3.0 =
@@ -154,7 +155,6 @@ Yes, but you'll have to set a new profile image per site. This is currently a l
154
  * New filters for add-on extensibility
155
  * Added Options page so you can disable the Gutenberg blocks if you so desire.
156
  * Bug fix: Adding user display name to post title when User Profile Picture creates the user page.
157
- * New add-on in the works: <a href="https://mediaron.com/downloads/user-profile-picture-enhanced/">User Profile Picture Enhanced</a>.
158
 
159
  = 2.2.8 =
160
  * Released 2019-06-11
3
  Tags: users, user profile, gravatar, avatar, blocks, block
4
  Requires at least: 3.5
5
  Tested up to: 5.3
6
+ Stable tag: 2.3.9
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
15
  Set or remove a custom profile image for a user using the standard WordPress media upload tool.
16
 
 
 
17
  <a href="https://mediaron.com/user-profile-picture/">View Documentation and Examples</a>
18
 
19
  https://www.youtube.com/watch?v=9icnOWWZUpA&rel=0
124
 
125
  == Changelog ==
126
 
127
+ = 2.3.9 =
128
+ * Released 2019-12-06
129
+ * Removing adverts for User Profile Picture Enhanced.
130
+
131
  = 2.3.8 =
132
  * Released 2019-10-30
133
  * Removing top-level navigation.
147
 
148
  = 2.3.2 =
149
  * Released 2019-07-14
 
150
  * Adding more filters for third-party plugin integration.
151
 
152
  = 2.3.0 =
155
  * New filters for add-on extensibility
156
  * Added Options page so you can disable the Gutenberg blocks if you so desire.
157
  * Bug fix: Adding user display name to post title when User Profile Picture creates the user page.
 
158
 
159
  = 2.2.8 =
160
  * Released 2019-06-11