Version Description
- Updated Stripe API to 2022-08-01.
- Fixed blurry gravatar in member directory.
- Fixed bug with custom fields not showing up in checkout
- Fixed bug where content protection listing page had missing Access info.
- Fixed bug with add new content protection page displaying multiple sidebars.
- Fixed bug with children of core pages not getting protected.
Download this release
Release Info
Developer | Collizo4sky |
Plugin | WP User Avatar |
Version | 4.1.4 |
Comparing to | |
See all releases |
Code changes from version 4.1.3 to 4.1.4
- changelog.txt +7 -0
- languages/wp-user-avatar.pot +3 -3
- readme.txt +9 -8
- src/Classes/UserAvatar.php +2 -0
- src/ContentProtection/Frontend/Redirect.php +8 -6
- src/ContentProtection/SettingsPage.php +2 -2
- src/ContentProtection/WPListTable.php +7 -1
- src/Functions/MSFunctions.php +2 -0
- src/Membership/CheckoutFields.php +1 -1
- third-party/vendor/autoload.php +1 -1
- third-party/vendor/composer/autoload_real.php +7 -7
- third-party/vendor/composer/autoload_static.php +4 -4
- third-party/vendor/composer/installed.php +1 -1
- third-party/vendor/scoper-autoload.php +2 -2
- wp-user-avatar.php +3 -3
changelog.txt
CHANGED
@@ -1,5 +1,12 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 4.1.3 =
|
4 |
* Added [navigation menu protection](https://profilepress.com/article/wordpress-navigation-menu-restriction/).
|
5 |
* Added [Elementor content restriction](https://profilepress.com/article/restrict-elementor-sections-widgets/).
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 4.1.4 =
|
4 |
+
* Fixed blurry gravatar in member directory.
|
5 |
+
* Fixed bug with [custom fields](https://profilepress.com/addons/custom-fields/) not showing up in checkout
|
6 |
+
* Fixed bug where content protection listing page had missing Access info.
|
7 |
+
* Fixed bug with add new content protection page displaying multiple sidebars.
|
8 |
+
* Fixed bug with children of core pages not getting protected.
|
9 |
+
|
10 |
= 4.1.3 =
|
11 |
* Added [navigation menu protection](https://profilepress.com/article/wordpress-navigation-menu-restriction/).
|
12 |
* Added [Elementor content restriction](https://profilepress.com/article/restrict-elementor-sections-widgets/).
|
languages/wp-user-avatar.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the ProfilePress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ProfilePress 4.1.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
|
7 |
-
"POT-Creation-Date: 2022-09-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -739,7 +739,7 @@ msgstr ""
|
|
739 |
#: src/Admin/SettingsPages/Membership/views/plans-page-sidebar.php:12
|
740 |
#: src/Admin/SettingsPages/Membership/views/subscriptions/submit-sidebar.php:16
|
741 |
#: src/ContentProtection/WPListTable.php:96
|
742 |
-
#: src/ContentProtection/WPListTable.php:
|
743 |
#: src/ContentProtection/views/include.view-sidebar.php:12
|
744 |
msgid "Delete"
|
745 |
msgstr ""
|
2 |
# This file is distributed under the same license as the ProfilePress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ProfilePress 4.1.4\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
|
7 |
+
"POT-Creation-Date: 2022-09-08 09:38:57+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
739 |
#: src/Admin/SettingsPages/Membership/views/plans-page-sidebar.php:12
|
740 |
#: src/Admin/SettingsPages/Membership/views/subscriptions/submit-sidebar.php:16
|
741 |
#: src/ContentProtection/WPListTable.php:96
|
742 |
+
#: src/ContentProtection/WPListTable.php:322
|
743 |
#: src/ContentProtection/views/include.view-sidebar.php:12
|
744 |
msgid "Delete"
|
745 |
msgstr ""
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: membership, ecommerce, user registration, user profile, stripe, paypal, lo
|
|
5 |
Requires at least: 5.3
|
6 |
Requires PHP: 7.1.8
|
7 |
Tested up to: 6.0
|
8 |
-
Stable tag: 4.1.
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Paid membership plugin: accept payments, sell subscriptions, restrict content, user registration, frontend login form, user profile & member directory.
|
@@ -146,6 +146,14 @@ No. You can create and manage your forms, user profiles, and member directories
|
|
146 |
|
147 |
== Changelog ==
|
148 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
149 |
= 4.1.3 =
|
150 |
* Added [navigation menu protection](https://profilepress.com/article/wordpress-navigation-menu-restriction/).
|
151 |
* Added [Elementor content restriction](https://profilepress.com/article/restrict-elementor-sections-widgets/).
|
@@ -158,11 +166,4 @@ No. You can create and manage your forms, user profiles, and member directories
|
|
158 |
* Fixed bug where cancelled one-time subscription was still active.
|
159 |
* Fixed bug where non-completed order email receipt can be sent.
|
160 |
|
161 |
-
= 4.1.2 =
|
162 |
-
* Added "ppress_disable_google_fonts" filter to disable google fonts globally.
|
163 |
-
* Added Oxygen builder compatibility to Admin Bar Control.
|
164 |
-
* Fixed bug where new order creation with missing payment method failed.
|
165 |
-
* Fixed bug where content protection failed to identify some posts/pages.
|
166 |
-
* Fixed date related output and queries.
|
167 |
-
|
168 |
See the [changelog file](https://plugins.svn.wordpress.org/wp-user-avatar/trunk/changelog.txt) for full change log information.
|
5 |
Requires at least: 5.3
|
6 |
Requires PHP: 7.1.8
|
7 |
Tested up to: 6.0
|
8 |
+
Stable tag: 4.1.4
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Paid membership plugin: accept payments, sell subscriptions, restrict content, user registration, frontend login form, user profile & member directory.
|
146 |
|
147 |
== Changelog ==
|
148 |
|
149 |
+
= 4.1.4 =
|
150 |
+
* Updated Stripe API to 2022-08-01.
|
151 |
+
* Fixed blurry gravatar in member directory.
|
152 |
+
* Fixed bug with [custom fields](https://profilepress.com/addons/custom-fields/) not showing up in checkout
|
153 |
+
* Fixed bug where content protection listing page had missing Access info.
|
154 |
+
* Fixed bug with add new content protection page displaying multiple sidebars.
|
155 |
+
* Fixed bug with children of core pages not getting protected.
|
156 |
+
|
157 |
= 4.1.3 =
|
158 |
* Added [navigation menu protection](https://profilepress.com/article/wordpress-navigation-menu-restriction/).
|
159 |
* Added [Elementor content restriction](https://profilepress.com/article/restrict-elementor-sections-widgets/).
|
166 |
* Fixed bug where cancelled one-time subscription was still active.
|
167 |
* Fixed bug where non-completed order email receipt can be sent.
|
168 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
See the [changelog file](https://plugins.svn.wordpress.org/wp-user-avatar/trunk/changelog.txt) for full change log information.
|
src/Classes/UserAvatar.php
CHANGED
@@ -170,6 +170,8 @@ class UserAvatar
|
|
170 |
|
171 |
$size = apply_filters('ppress_user_avatar_image_size', absint($size), $id_or_email);
|
172 |
|
|
|
|
|
173 |
$avatar_url = get_avatar_url($id_or_email, ['size' => $size, 'ppress-full' => $original]);
|
174 |
|
175 |
$alt_attr = apply_filters('ppress_avatar_img_alt', ! empty($alt) ? " alt=\"{$alt}\"" : '', $id_or_email);
|
170 |
|
171 |
$size = apply_filters('ppress_user_avatar_image_size', absint($size), $id_or_email);
|
172 |
|
173 |
+
if ($original === true) $size = 800;
|
174 |
+
|
175 |
$avatar_url = get_avatar_url($id_or_email, ['size' => $size, 'ppress-full' => $original]);
|
176 |
|
177 |
$alt_attr = apply_filters('ppress_avatar_img_alt', ! empty($alt) ? " alt=\"{$alt}\"" : '', $id_or_email);
|
src/ContentProtection/Frontend/Redirect.php
CHANGED
@@ -32,7 +32,9 @@ class Redirect
|
|
32 |
|
33 |
$redirect_url = '';
|
34 |
|
35 |
-
$
|
|
|
|
|
36 |
|
37 |
if ('custom_url' == ppress_var($access_condition, 'noaccess_action_redirect_url')) {
|
38 |
$redirect_url = ppress_var($access_condition, 'noaccess_action_redirect_custom_url');
|
@@ -51,11 +53,11 @@ class Redirect
|
|
51 |
$password_reset_url = untrailingslashit(strtok(ppress_password_reset_url(), '?'));
|
52 |
$edit_profile_url = untrailingslashit(strtok(ppress_edit_profile_url(), '?'));
|
53 |
|
54 |
-
if (
|
55 |
-
if (
|
56 |
-
if (
|
57 |
-
if (
|
58 |
-
if (
|
59 |
|
60 |
$who_can_access = ppress_var($access_condition, 'who_can_access', 'everyone');
|
61 |
|
32 |
|
33 |
$redirect_url = '';
|
34 |
|
35 |
+
$current_url_raw = ppress_get_current_url_query_string();
|
36 |
+
|
37 |
+
$current_url = untrailingslashit(strtok($current_url_raw, '?'));
|
38 |
|
39 |
if ('custom_url' == ppress_var($access_condition, 'noaccess_action_redirect_url')) {
|
40 |
$redirect_url = ppress_var($access_condition, 'noaccess_action_redirect_custom_url');
|
53 |
$password_reset_url = untrailingslashit(strtok(ppress_password_reset_url(), '?'));
|
54 |
$edit_profile_url = untrailingslashit(strtok(ppress_edit_profile_url(), '?'));
|
55 |
|
56 |
+
if ($current_url == $comp_redirect_url) continue;
|
57 |
+
if ($current_url == $login_url) continue;
|
58 |
+
if ($current_url == $registration_url) continue;
|
59 |
+
if ($current_url == $password_reset_url) continue;
|
60 |
+
if ($current_url == $edit_profile_url) continue;
|
61 |
|
62 |
$who_can_access = ppress_var($access_condition, 'who_can_access', 'everyone');
|
63 |
|
src/ContentProtection/SettingsPage.php
CHANGED
@@ -168,7 +168,7 @@ class SettingsPage extends AbstractSettingsPage
|
|
168 |
add_action('wp_cspa_main_content_area', array($this, 'admin_settings_page_callback'), 10, 2);
|
169 |
add_action('wp_cspa_before_closing_header', [$this, 'add_new_button']);
|
170 |
|
171 |
-
$is_sidebar = ! isset($_GET['action'], $_GET['id']);
|
172 |
|
173 |
$instance = Custom_Settings_Page_Api::instance();
|
174 |
$instance->option_name('ppview'); // adds ppview css class to #poststuff
|
@@ -197,7 +197,7 @@ class SettingsPage extends AbstractSettingsPage
|
|
197 |
]
|
198 |
];
|
199 |
|
200 |
-
if(defined('ELEMENTOR_VERSION')) {
|
201 |
$sidebar_args[] = [
|
202 |
'section_title' => esc_html__('Elementor Restriction', 'wp-user-avatar'),
|
203 |
'content' => (function () {
|
168 |
add_action('wp_cspa_main_content_area', array($this, 'admin_settings_page_callback'), 10, 2);
|
169 |
add_action('wp_cspa_before_closing_header', [$this, 'add_new_button']);
|
170 |
|
171 |
+
$is_sidebar = ! isset($_GET['action'], $_GET['id']) && ! isset($_GET['add']);
|
172 |
|
173 |
$instance = Custom_Settings_Page_Api::instance();
|
174 |
$instance->option_name('ppview'); // adds ppview css class to #poststuff
|
197 |
]
|
198 |
];
|
199 |
|
200 |
+
if (defined('ELEMENTOR_VERSION')) {
|
201 |
$sidebar_args[] = [
|
202 |
'section_title' => esc_html__('Elementor Restriction', 'wp-user-avatar'),
|
203 |
'content' => (function () {
|
src/ContentProtection/WPListTable.php
CHANGED
@@ -238,7 +238,13 @@ class WPListTable extends \WP_List_Table
|
|
238 |
}
|
239 |
}
|
240 |
|
241 |
-
if ( ! empty($logged_in_users_rules)) {
|
|
|
|
|
|
|
|
|
|
|
|
|
242 |
foreach ($logged_in_users_rules as $rule) {
|
243 |
$html .= sprintf(
|
244 |
'<p><strong>%s</strong>%s', $who_can_access,
|
238 |
}
|
239 |
}
|
240 |
|
241 |
+
if ( ! empty($who_can_access) && empty($logged_in_users_rules)) {
|
242 |
+
$html .= sprintf(
|
243 |
+
'<p><strong>%s</strong>', $who_can_access
|
244 |
+
);
|
245 |
+
}
|
246 |
+
|
247 |
+
if ( ! empty($who_can_access) && ! empty($logged_in_users_rules)) {
|
248 |
foreach ($logged_in_users_rules as $rule) {
|
249 |
$html .= sprintf(
|
250 |
'<p><strong>%s</strong>%s', $who_can_access,
|
src/Functions/MSFunctions.php
CHANGED
@@ -734,6 +734,8 @@ function ppress_business_tax_id($default = '')
|
|
734 |
}
|
735 |
|
736 |
/**
|
|
|
|
|
737 |
* @param int $user_id
|
738 |
* @param int $plan_id
|
739 |
* @param bool $by_customer_id
|
734 |
}
|
735 |
|
736 |
/**
|
737 |
+
* Check if a user/customer has an active subscription to a membership plan.
|
738 |
+
*
|
739 |
* @param int $user_id
|
740 |
* @param int $plan_id
|
741 |
* @param bool $by_customer_id
|
src/Membership/CheckoutFields.php
CHANGED
@@ -358,7 +358,7 @@ class CheckoutFields
|
|
358 |
if (in_array($field_id, $standard_billing_fields_keys) || in_array($field_id, array_keys($custom_fields))) {
|
359 |
|
360 |
$args = [
|
361 |
-
'key' => $payment_method . '_' . $field_id,
|
362 |
'type' => $field_type,
|
363 |
'id' => self::get_field_id($field_id, $payment_method),
|
364 |
'class' => 'ppress-checkout-field__input ' . $field_id,
|
358 |
if (in_array($field_id, $standard_billing_fields_keys) || in_array($field_id, array_keys($custom_fields))) {
|
359 |
|
360 |
$args = [
|
361 |
+
'key' => in_array($field_id, $standard_billing_fields_keys) ? $payment_method . '_' . $field_id : $field_id,
|
362 |
'type' => $field_type,
|
363 |
'id' => self::get_field_id($field_id, $payment_method),
|
364 |
'class' => 'ppress-checkout-field__input ' . $field_id,
|
third-party/vendor/autoload.php
CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
|
9 |
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
-
return
|
9 |
|
10 |
require_once __DIR__ . '/composer/autoload_real.php';
|
11 |
|
12 |
+
return ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e::getLoader();
|
third-party/vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,19 +24,19 @@ class ComposerAutoloaderInitb725de4e20fd550cc55f90c2d51990ec
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
-
call_user_func(\Composer\Autoload\
|
33 |
|
34 |
$loader->setClassMapAuthoritative(true);
|
35 |
$loader->register(true);
|
36 |
|
37 |
-
$includeFiles = \Composer\Autoload\
|
38 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
39 |
-
|
40 |
}
|
41 |
|
42 |
return $loader;
|
@@ -48,7 +48,7 @@ class ComposerAutoloaderInitb725de4e20fd550cc55f90c2d51990ec
|
|
48 |
* @param string $file
|
49 |
* @return void
|
50 |
*/
|
51 |
-
function
|
52 |
{
|
53 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
54 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e', 'loadClassLoader'));
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit13871557f7044ac7e50e2cd95ebfff1e::getInitializer($loader));
|
33 |
|
34 |
$loader->setClassMapAuthoritative(true);
|
35 |
$loader->register(true);
|
36 |
|
37 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInit13871557f7044ac7e50e2cd95ebfff1e::$files;
|
38 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
39 |
+
composerRequire13871557f7044ac7e50e2cd95ebfff1e($fileIdentifier, $file);
|
40 |
}
|
41 |
|
42 |
return $loader;
|
48 |
* @param string $file
|
49 |
* @return void
|
50 |
*/
|
51 |
+
function composerRequire13871557f7044ac7e50e2cd95ebfff1e($fileIdentifier, $file)
|
52 |
{
|
53 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
54 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
third-party/vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
@@ -563,9 +563,9 @@ class ComposerStaticInitb725de4e20fd550cc55f90c2d51990ec
|
|
563 |
public static function getInitializer(ClassLoader $loader)
|
564 |
{
|
565 |
return \Closure::bind(function () use ($loader) {
|
566 |
-
$loader->prefixLengthsPsr4 =
|
567 |
-
$loader->prefixDirsPsr4 =
|
568 |
-
$loader->classMap =
|
569 |
|
570 |
}, null, ClassLoader::class);
|
571 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit13871557f7044ac7e50e2cd95ebfff1e
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
|
563 |
public static function getInitializer(ClassLoader $loader)
|
564 |
{
|
565 |
return \Closure::bind(function () use ($loader) {
|
566 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit13871557f7044ac7e50e2cd95ebfff1e::$prefixLengthsPsr4;
|
567 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit13871557f7044ac7e50e2cd95ebfff1e::$prefixDirsPsr4;
|
568 |
+
$loader->classMap = ComposerStaticInit13871557f7044ac7e50e2cd95ebfff1e::$classMap;
|
569 |
|
570 |
}, null, ClassLoader::class);
|
571 |
}
|
third-party/vendor/composer/installed.php
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
|
3 |
namespace ProfilePressVendor;
|
4 |
|
5 |
-
return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '
|
2 |
|
3 |
namespace ProfilePressVendor;
|
4 |
|
5 |
+
return array('root' => array('name' => '__root__', 'pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'e91e9f36ef1e25d81dbfdd72a98d5e18a38c1879', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => 'e91e9f36ef1e25d81dbfdd72a98d5e18a38c1879', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'barryvdh/composer-cleanup-plugin' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'reference' => '74d878666436c99f5b671b90312e85479afeedb0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../barryvdh/composer-cleanup-plugin', 'aliases' => array(0 => '0.1.x-dev'), 'dev_requirement' => \false), 'brick/math' => array('pretty_version' => '0.9.3', 'version' => '0.9.3.0', 'reference' => 'ca57d18f028f84f777b2168cd1911b0dee2343ae', 'type' => 'library', 'install_path' => __DIR__ . '/../brick/math', 'aliases' => array(), 'dev_requirement' => \false), 'collizo4sky/persist-admin-notices-dismissal' => array('pretty_version' => '1.4.4', 'version' => '1.4.4.0', 'reference' => '900739eb6b0ec0210465f5983a6d4e0e420289e4', 'type' => 'library', 'install_path' => __DIR__ . '/../collizo4sky/persist-admin-notices-dismissal', 'aliases' => array(), 'dev_requirement' => \false), 'nesbot/carbon' => array('pretty_version' => '2.62.1', 'version' => '2.62.1.0', 'reference' => '01bc4cdefe98ef58d1f9cb31bdbbddddf2a88f7a', 'type' => 'library', 'install_path' => __DIR__ . '/../nesbot/carbon', 'aliases' => array(), 'dev_requirement' => \false), 'pelago/emogrifier' => array('pretty_version' => 'v3.1.0', 'version' => '3.1.0.0', 'reference' => 'f6a5c7d44612d86c3901c93f1592f5440e6b2cd8', 'type' => 'library', 'install_path' => __DIR__ . '/../pelago/emogrifier', 'aliases' => array(), 'dev_requirement' => \false), 'sniccowp/php-scoper-wordpress-excludes' => array('pretty_version' => '6.0.1', 'version' => '6.0.1.0', 'reference' => '6fce87f9c5463223013745ec5489967198c11348', 'type' => 'library', 'install_path' => __DIR__ . '/../sniccowp/php-scoper-wordpress-excludes', 'aliases' => array(), 'dev_requirement' => \true), 'stripe/stripe-php' => array('pretty_version' => 'v7.128.0', 'version' => '7.128.0.0', 'reference' => 'c704949c49b72985c76cc61063aa26fefbd2724e', 'type' => 'library', 'install_path' => __DIR__ . '/../stripe/stripe-php', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/css-selector' => array('pretty_version' => 'v4.4.44', 'version' => '4.4.44.0', 'reference' => 'bd0a6737e48de45b4b0b7b6fc98c78404ddceaed', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/css-selector', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => '9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.26.0', 'version' => '1.26.0.0', 'reference' => 'cfa0ae98841b9e461207c13ab093d76b0fa7bace', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation' => array('pretty_version' => 'v4.4.45', 'version' => '4.4.45.0', 'reference' => '4e6b4c0dbeb04d6f004ed7f43eb0905ce8396def', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-contracts' => array('pretty_version' => 'v1.1.13', 'version' => '1.1.13.0', 'reference' => '7462e5c4cb8b9cd152f992e8f10963b5641921f6', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/translation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/translation-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0'))));
|
third-party/vendor/scoper-autoload.php
CHANGED
@@ -6,8 +6,8 @@ $loader = require_once __DIR__.'/autoload.php';
|
|
6 |
|
7 |
// Exposed classes. For more information see:
|
8 |
// https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#exposing-classes
|
9 |
-
if (!class_exists('
|
10 |
-
spl_autoload_call('ProfilePressVendor\
|
11 |
}
|
12 |
if (!class_exists('PAnD', false) && !interface_exists('PAnD', false) && !trait_exists('PAnD', false)) {
|
13 |
spl_autoload_call('ProfilePressVendor\PAnD');
|
6 |
|
7 |
// Exposed classes. For more information see:
|
8 |
// https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#exposing-classes
|
9 |
+
if (!class_exists('ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e', false) && !interface_exists('ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e', false) && !trait_exists('ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e', false)) {
|
10 |
+
spl_autoload_call('ProfilePressVendor\ComposerAutoloaderInit13871557f7044ac7e50e2cd95ebfff1e');
|
11 |
}
|
12 |
if (!class_exists('PAnD', false) && !interface_exists('PAnD', false) && !trait_exists('PAnD', false)) {
|
13 |
spl_autoload_call('ProfilePressVendor\PAnD');
|
wp-user-avatar.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: ProfilePress
|
4 |
* Plugin URI: https://profilepress.com
|
5 |
* Description: The modern WordPress membership and user profile plugin.
|
6 |
-
* Version: 4.1.
|
7 |
* Author: ProfilePress Membership Team
|
8 |
* Author URI: https://profilepress.com
|
9 |
* Text Domain: wp-user-avatar
|
@@ -13,10 +13,10 @@
|
|
13 |
defined('ABSPATH') or die("No script kiddies please!");
|
14 |
|
15 |
define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
|
16 |
-
define('PPRESS_VERSION_NUMBER', '4.1.
|
17 |
|
18 |
if ( ! defined('PPRESS_STRIPE_API_VERSION')) {
|
19 |
-
define('PPRESS_STRIPE_API_VERSION', '
|
20 |
}
|
21 |
|
22 |
require __DIR__ . '/autoloader.php';
|
3 |
* Plugin Name: ProfilePress
|
4 |
* Plugin URI: https://profilepress.com
|
5 |
* Description: The modern WordPress membership and user profile plugin.
|
6 |
+
* Version: 4.1.4
|
7 |
* Author: ProfilePress Membership Team
|
8 |
* Author URI: https://profilepress.com
|
9 |
* Text Domain: wp-user-avatar
|
13 |
defined('ABSPATH') or die("No script kiddies please!");
|
14 |
|
15 |
define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
|
16 |
+
define('PPRESS_VERSION_NUMBER', '4.1.4');
|
17 |
|
18 |
if ( ! defined('PPRESS_STRIPE_API_VERSION')) {
|
19 |
+
define('PPRESS_STRIPE_API_VERSION', '2022-08-01');
|
20 |
}
|
21 |
|
22 |
require __DIR__ . '/autoloader.php';
|