Peter’s Login Redirect - Version 3.0.1.1

Version Description

  • Added logout support to all Pro conditions.
  • Pro features support for Uncanny Toolkit.
Download this release

Release Info

Developer Collizo4sky
Plugin Icon 128x128 Peter’s Login Redirect
Version 3.0.1.1
Comparing to
See all releases

Code changes from version 3.0.1.0 to 3.0.1.1

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  == Changelog ==
2
 
 
 
 
 
3
  = 3.0.1.0 =
4
  * Added [TutorLMS integration](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4010#pro-conditions).
5
  * Improved admin page loading speed.
1
  == Changelog ==
2
 
3
+ = 3.0.1.1 =
4
+ * Added logout support to all [Pro conditions](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4011#pro-conditions).
5
+ * [Pro features](https://loginwp.com/pricing/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4011) support for Uncanny Toolkit.
6
+
7
  = 3.0.1.0 =
8
  * Added [TutorLMS integration](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4010#pro-conditions).
9
  * Improved admin page loading speed.
languages/peters-login-redirect.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the LoginWP (Formerly Peter's Login Redirect) package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: LoginWP (Formerly Peter's Login Redirect) 3.0.1.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/peters-login-redirect\n"
7
- "POT-Creation-Date: 2022-05-25 19:09:18+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -36,32 +36,32 @@ msgstr ""
36
  msgid "Need Support?"
37
  msgstr ""
38
 
39
- #: src/core/src/Admin/AbstractSettingsPage.php:123
40
  msgid "Enhance the power of LoginWP with the Pro version featuring integrations with many plugins. %sLearn more%s"
41
  msgstr ""
42
 
43
- #: src/core/src/Admin/AbstractSettingsPage.php:130
44
  msgid "Redirect to referrer or previous page"
45
  msgstr ""
46
 
47
- #: src/core/src/Admin/AbstractSettingsPage.php:131
48
  msgid "Redirect to currently viewing page"
49
  msgstr ""
50
 
51
- #: src/core/src/Admin/AbstractSettingsPage.php:139
52
  #: src/core/src/Admin/views/view.pro-conditions.php:37
53
  msgid "Get LoginWP Pro →"
54
  msgstr ""
55
 
56
- #: src/core/src/Admin/AbstractSettingsPage.php:157
57
  msgid "Whether you need help or have a new feature request, let us know. %sRequest Support%s"
58
  msgstr ""
59
 
60
- #: src/core/src/Admin/AbstractSettingsPage.php:165
61
  msgid "Detailed documentation is also available on the plugin website. %sView Knowledge Base%s"
62
  msgstr ""
63
 
64
- #: src/core/src/Admin/AbstractSettingsPage.php:173
65
  msgid "If you are enjoying LoginWP and find it useful, please consider leaving a ★★★★★ review on WordPress.org. %sLeave a Review%s"
66
  msgstr ""
67
 
2
  # This file is distributed under the same license as the LoginWP (Formerly Peter's Login Redirect) package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: LoginWP (Formerly Peter's Login Redirect) 3.0.1.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/peters-login-redirect\n"
7
+ "POT-Creation-Date: 2022-06-16 16:41:07+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
36
  msgid "Need Support?"
37
  msgstr ""
38
 
39
+ #: src/core/src/Admin/AbstractSettingsPage.php:124
40
  msgid "Enhance the power of LoginWP with the Pro version featuring integrations with many plugins. %sLearn more%s"
41
  msgstr ""
42
 
43
+ #: src/core/src/Admin/AbstractSettingsPage.php:131
44
  msgid "Redirect to referrer or previous page"
45
  msgstr ""
46
 
47
+ #: src/core/src/Admin/AbstractSettingsPage.php:132
48
  msgid "Redirect to currently viewing page"
49
  msgstr ""
50
 
51
+ #: src/core/src/Admin/AbstractSettingsPage.php:140
52
  #: src/core/src/Admin/views/view.pro-conditions.php:37
53
  msgid "Get LoginWP Pro →"
54
  msgstr ""
55
 
56
+ #: src/core/src/Admin/AbstractSettingsPage.php:158
57
  msgid "Whether you need help or have a new feature request, let us know. %sRequest Support%s"
58
  msgstr ""
59
 
60
+ #: src/core/src/Admin/AbstractSettingsPage.php:166
61
  msgid "Detailed documentation is also available on the plugin website. %sView Knowledge Base%s"
62
  msgstr ""
63
 
64
+ #: src/core/src/Admin/AbstractSettingsPage.php:174
65
  msgid "If you are enjoying LoginWP and find it useful, please consider leaving a ★★★★★ review on WordPress.org. %sLeave a Review%s"
66
  msgstr ""
67
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: login, logout, redirect, login form, user registration, admin, administrat
5
  Requires at least: 4.7
6
  Requires PHP: 5.6
7
  Tested up to: 6.0
8
- Stable tag: 3.0.1.0
9
  License: GPL-2.0+
10
 
11
  Redirect users to different locations after they log in, log out and register based on different conditions.
@@ -30,6 +30,7 @@ This is the lite version that works with the default WordPress login page and li
30
  * [Gravity Forms](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
31
  * [WPForms](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
32
  * [LearnDash](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
 
33
  * [LifterLMS](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
34
  * [Tutor LMS](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
35
  * [ProfilePress](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
@@ -75,6 +76,10 @@ Login redirects not working? This plugin uses WordPress's standard login_redirec
75
 
76
  == Changelog ==
77
 
 
 
 
 
78
  = 3.0.1.0 =
79
  * Added [TutorLMS integration](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4010#pro-conditions).
80
  * Improved admin page loading speed.
@@ -95,4 +100,4 @@ Login redirects not working? This plugin uses WordPress's standard login_redirec
95
  * Pro: Added [Restrict Content Pro](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=3006#pro-conditions) Has Membership redirect condition.
96
  * Pro: Added [LifterLMS](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=3006#pro-conditions) Enrolled Course and Enrolled Membership redirect conditions.
97
 
98
- See the [changelog file](https://plugins.svn.wordpress.org/peters-login-redirect/trunk/changelog.txt) for full changelog information.
5
  Requires at least: 4.7
6
  Requires PHP: 5.6
7
  Tested up to: 6.0
8
+ Stable tag: 3.0.1.1
9
  License: GPL-2.0+
10
 
11
  Redirect users to different locations after they log in, log out and register based on different conditions.
30
  * [Gravity Forms](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
31
  * [WPForms](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
32
  * [LearnDash](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
33
+ * [Uncanny Toolkit](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
34
  * [LifterLMS](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
35
  * [Tutor LMS](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
36
  * [ProfilePress](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
76
 
77
  == Changelog ==
78
 
79
+ = 3.0.1.1 =
80
+ * Added logout support to all [Pro conditions](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4011#pro-conditions).
81
+ * [Pro features](https://loginwp.com/pricing/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4011) support for Uncanny Toolkit.
82
+
83
  = 3.0.1.0 =
84
  * Added [TutorLMS integration](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=4010#pro-conditions).
85
  * Improved admin page loading speed.
100
  * Pro: Added [Restrict Content Pro](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=3006#pro-conditions) Has Membership redirect condition.
101
  * Pro: Added [LifterLMS](https://loginwp.com/?utm_source=wprepo&utm_medium=changelog&utm_campaign=3006#pro-conditions) Enrolled Course and Enrolled Membership redirect conditions.
102
 
103
+ See the [changelog file](https://plugins.svn.wordpress.org/peters-login-redirect/trunk/changelog.txt) for full changelog information.
src/core/src/Admin/AbstractSettingsPage.php CHANGED
@@ -111,6 +111,7 @@ abstract class AbstractSettingsPage
111
  'Ultimate Member',
112
  'WP User Frontend',
113
  'WP User Manager',
 
114
  'Paid Membership Pro',
115
  'User Registration (WPEverest)',
116
  'Theme My Login'
111
  'Ultimate Member',
112
  'WP User Frontend',
113
  'WP User Manager',
114
+ 'Uncanny Toolkit',
115
  'Paid Membership Pro',
116
  'User Registration (WPEverest)',
117
  'Theme My Login'
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit4b44a68b6370509d634acaffca899615::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit81a6e0e2db6df2fcd1924296c2c1b52c::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit4b44a68b6370509d634acaffca899615
6
  {
7
  private static $loader;
8
 
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit4b44a68b6370509d634acaffca899615
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInit4b44a68b6370509d634acaffca899615', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
- spl_autoload_unregister(array('ComposerAutoloaderInit4b44a68b6370509d634acaffca899615', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
- call_user_func(\Composer\Autoload\ComposerStaticInit4b44a68b6370509d634acaffca899615::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit4b44a68b6370509d634acaffca899615
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
- $includeFiles = Composer\Autoload\ComposerStaticInit4b44a68b6370509d634acaffca899615::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
- composerRequire4b44a68b6370509d634acaffca899615($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
- function composerRequire4b44a68b6370509d634acaffca899615($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit81a6e0e2db6df2fcd1924296c2c1b52c
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit81a6e0e2db6df2fcd1924296c2c1b52c', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit81a6e0e2db6df2fcd1924296c2c1b52c', 'loadClassLoader'));
30
 
31
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
32
  if ($useStaticLoader) {
33
  require __DIR__ . '/autoload_static.php';
34
 
35
+ call_user_func(\Composer\Autoload\ComposerStaticInit81a6e0e2db6df2fcd1924296c2c1b52c::getInitializer($loader));
36
  } else {
37
  $map = require __DIR__ . '/autoload_namespaces.php';
38
  foreach ($map as $namespace => $path) {
53
  $loader->register(true);
54
 
55
  if ($useStaticLoader) {
56
+ $includeFiles = Composer\Autoload\ComposerStaticInit81a6e0e2db6df2fcd1924296c2c1b52c::$files;
57
  } else {
58
  $includeFiles = require __DIR__ . '/autoload_files.php';
59
  }
60
  foreach ($includeFiles as $fileIdentifier => $file) {
61
+ composerRequire81a6e0e2db6df2fcd1924296c2c1b52c($fileIdentifier, $file);
62
  }
63
 
64
  return $loader;
65
  }
66
  }
67
 
68
+ function composerRequire81a6e0e2db6df2fcd1924296c2c1b52c($fileIdentifier, $file)
69
  {
70
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
71
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit4b44a68b6370509d634acaffca899615
8
  {
9
  public static $files = array (
10
  '7c119350ad5d791b1ae2d87a60e07ace' => __DIR__ . '/../..' . '/src/core/src/MoAdminNotice.php',
@@ -156,9 +156,9 @@ class ComposerStaticInit4b44a68b6370509d634acaffca899615
156
  public static function getInitializer(ClassLoader $loader)
157
  {
158
  return \Closure::bind(function () use ($loader) {
159
- $loader->prefixLengthsPsr4 = ComposerStaticInit4b44a68b6370509d634acaffca899615::$prefixLengthsPsr4;
160
- $loader->prefixDirsPsr4 = ComposerStaticInit4b44a68b6370509d634acaffca899615::$prefixDirsPsr4;
161
- $loader->classMap = ComposerStaticInit4b44a68b6370509d634acaffca899615::$classMap;
162
 
163
  }, null, ClassLoader::class);
164
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit81a6e0e2db6df2fcd1924296c2c1b52c
8
  {
9
  public static $files = array (
10
  '7c119350ad5d791b1ae2d87a60e07ace' => __DIR__ . '/../..' . '/src/core/src/MoAdminNotice.php',
156
  public static function getInitializer(ClassLoader $loader)
157
  {
158
  return \Closure::bind(function () use ($loader) {
159
+ $loader->prefixLengthsPsr4 = ComposerStaticInit81a6e0e2db6df2fcd1924296c2c1b52c::$prefixLengthsPsr4;
160
+ $loader->prefixDirsPsr4 = ComposerStaticInit81a6e0e2db6df2fcd1924296c2c1b52c::$prefixDirsPsr4;
161
+ $loader->classMap = ComposerStaticInit81a6e0e2db6df2fcd1924296c2c1b52c::$classMap;
162
 
163
  }, null, ClassLoader::class);
164
  }
vendor/composer/installed.json CHANGED
@@ -200,24 +200,24 @@
200
  },
201
  {
202
  "name": "loginwp/core",
203
- "version": "0.1.0-alpha.1653505432",
204
- "version_normalized": "0.1.0.0-alpha1653505432",
205
  "source": {
206
  "type": "git",
207
  "url": "https://github.com/loginwp/Core.git",
208
- "reference": "98eb2c3d31b4fe315d6eb550b420a81242e465d2"
209
  },
210
  "dist": {
211
  "type": "zip",
212
- "url": "https://api.github.com/repos/loginwp/Core/zipball/98eb2c3d31b4fe315d6eb550b420a81242e465d2",
213
- "reference": "98eb2c3d31b4fe315d6eb550b420a81242e465d2",
214
  "shasum": ""
215
  },
216
  "require": {
217
  "collizo4sky/persist-admin-notices-dismissal": "^1.4",
218
  "composer/installers": "~1.0"
219
  },
220
- "time": "2022-05-25T17:45:27+00:00",
221
  "type": "wordpress-plugin",
222
  "installation-source": "dist",
223
  "autoload": {
@@ -233,7 +233,7 @@
233
  "description": "Core lib for LoginWP",
234
  "support": {
235
  "issues": "https://github.com/loginwp/Core/issues",
236
- "source": "https://github.com/loginwp/Core/tree/0.1.0-alpha.1653505432"
237
  },
238
  "install-path": "../../src/core"
239
  }
200
  },
201
  {
202
  "name": "loginwp/core",
203
+ "version": "0.1.0-alpha.1655397341",
204
+ "version_normalized": "0.1.0.0-alpha1655397341",
205
  "source": {
206
  "type": "git",
207
  "url": "https://github.com/loginwp/Core.git",
208
+ "reference": "12ce9c2f8aaf870cf2b1e4558d3bab4b116def49"
209
  },
210
  "dist": {
211
  "type": "zip",
212
+ "url": "https://api.github.com/repos/loginwp/Core/zipball/12ce9c2f8aaf870cf2b1e4558d3bab4b116def49",
213
+ "reference": "12ce9c2f8aaf870cf2b1e4558d3bab4b116def49",
214
  "shasum": ""
215
  },
216
  "require": {
217
  "collizo4sky/persist-admin-notices-dismissal": "^1.4",
218
  "composer/installers": "~1.0"
219
  },
220
+ "time": "2022-06-16T16:35:37+00:00",
221
  "type": "wordpress-plugin",
222
  "installation-source": "dist",
223
  "autoload": {
233
  "description": "Core lib for LoginWP",
234
  "support": {
235
  "issues": "https://github.com/loginwp/Core/issues",
236
+ "source": "https://github.com/loginwp/Core/tree/0.1.0-alpha.1655397341"
237
  },
238
  "install-path": "../../src/core"
239
  }
vendor/composer/installed.php CHANGED
@@ -38,12 +38,12 @@
38
  'dev_requirement' => false,
39
  ),
40
  'loginwp/core' => array(
41
- 'pretty_version' => '0.1.0-alpha.1653505432',
42
- 'version' => '0.1.0.0-alpha1653505432',
43
  'type' => 'wordpress-plugin',
44
  'install_path' => __DIR__ . '/../../src/core',
45
  'aliases' => array(),
46
- 'reference' => '98eb2c3d31b4fe315d6eb550b420a81242e465d2',
47
  'dev_requirement' => false,
48
  ),
49
  'roundcube/plugin-installer' => array(
38
  'dev_requirement' => false,
39
  ),
40
  'loginwp/core' => array(
41
+ 'pretty_version' => '0.1.0-alpha.1655397341',
42
+ 'version' => '0.1.0.0-alpha1655397341',
43
  'type' => 'wordpress-plugin',
44
  'install_path' => __DIR__ . '/../../src/core',
45
  'aliases' => array(),
46
+ 'reference' => '12ce9c2f8aaf870cf2b1e4558d3bab4b116def49',
47
  'dev_requirement' => false,
48
  ),
49
  'roundcube/plugin-installer' => array(
wplogin_redirect.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: LoginWP (Formerly Peter's Login Redirect)
4
  Plugin URI: https://loginwp.com
5
  Description: Redirect users to different URLs based on their role, capability and more.
6
- Version: 3.0.1.0
7
  Author: LoginWP Team
8
  Author URI: https://loginwp.com
9
  Text Domain: peters-login-redirect
@@ -16,7 +16,7 @@ use LoginWP\Core\Core;
16
  require __DIR__ . '/vendor/autoload.php';
17
 
18
  define('PTR_LOGINWP_SYSTEM_FILE_PATH', __FILE__);
19
- define('PTR_LOGINWP_VERSION_NUMBER', '3.0.1.0');
20
 
21
  add_action('init', function () {
22
  load_plugin_textdomain('peters-login-redirect', false, dirname(plugin_basename(__FILE__)) . '/languages');
3
  Plugin Name: LoginWP (Formerly Peter's Login Redirect)
4
  Plugin URI: https://loginwp.com
5
  Description: Redirect users to different URLs based on their role, capability and more.
6
+ Version: 3.0.1.1
7
  Author: LoginWP Team
8
  Author URI: https://loginwp.com
9
  Text Domain: peters-login-redirect
16
  require __DIR__ . '/vendor/autoload.php';
17
 
18
  define('PTR_LOGINWP_SYSTEM_FILE_PATH', __FILE__);
19
+ define('PTR_LOGINWP_VERSION_NUMBER', '3.0.1.1');
20
 
21
  add_action('init', function () {
22
  load_plugin_textdomain('peters-login-redirect', false, dirname(plugin_basename(__FILE__)) . '/languages');