Version Description
- Pro: WishList Member integration.
Download this release
Release Info
Developer | Collizo4sky |
Plugin | Peter’s Login Redirect |
Version | 3.0.6.0 |
Comparing to | |
See all releases |
Code changes from version 3.0.5.0 to 3.0.6.0
- changelog.txt +3 -0
- languages/peters-login-redirect.pot +33 -32
- readme.txt +6 -2
- src/core/src/Admin/AbstractSettingsPage.php +2 -1
- src/core/src/Admin/views/view.pro-conditions.php +16 -13
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.json +7 -7
- vendor/composer/installed.php +3 -3
- wplogin_redirect.php +2 -2
changelog.txt
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
3 |
= 3.0.5.0 =
|
4 |
* Pro: [Paid Memberships Pro condition](https://loginwp.com/redirect-wordpress-users-after-login-paid-memberships-pro-levels/?ref=changelog).
|
5 |
* Fixed error message: syntax error, unexpected ‘?’
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 3.0.6.0 =
|
4 |
+
* Pro: [WishList Member integration](https://loginwp.com/redirect-wordpress-users-after-login-wishlist-members/?ref=changelog).
|
5 |
+
|
6 |
= 3.0.5.0 =
|
7 |
* Pro: [Paid Memberships Pro condition](https://loginwp.com/redirect-wordpress-users-after-login-paid-memberships-pro-levels/?ref=changelog).
|
8 |
* Fixed error message: syntax error, unexpected ‘?’
|
languages/peters-login-redirect.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
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.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/peters-login-"
|
7 |
"redirect\n"
|
8 |
-
"POT-Creation-Date: 2022-11-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -37,42 +37,42 @@ msgstr ""
|
|
37 |
msgid "Need Support?"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
41 |
msgid ""
|
42 |
"Enhance the power of LoginWP with the Pro version featuring integrations "
|
43 |
"with many plugins. %sLearn more%s"
|
44 |
msgstr ""
|
45 |
|
46 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
47 |
msgid "Redirect only on first time login"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
51 |
msgid "Redirect to referrer or previous page"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
55 |
msgid "Redirect to currently viewing page"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
59 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
60 |
msgid "Get LoginWP Pro →"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
64 |
msgid ""
|
65 |
"Whether you need help or have a new feature request, let us know. %sRequest "
|
66 |
"Support%s"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
70 |
msgid ""
|
71 |
"Detailed documentation is also available on the plugin website. %sView "
|
72 |
"Knowledge Base%s"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
76 |
msgid ""
|
77 |
"If you are enjoying LoginWP and find it useful, please consider leaving a "
|
78 |
"★★★★★ review on WordPress.org. %sLeave a Review%s"
|
@@ -619,53 +619,54 @@ msgid ""
|
|
619 |
msgstr ""
|
620 |
|
621 |
#: src/core/src/Admin/views/view.pro-conditions.php:7
|
622 |
-
|
623 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:33
|
624 |
-
msgid "Enrolled Course"
|
625 |
msgstr ""
|
626 |
|
627 |
#: src/core/src/Admin/views/view.pro-conditions.php:8
|
628 |
-
msgid "
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
632 |
-
msgid "
|
633 |
msgstr ""
|
634 |
|
635 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
636 |
-
msgid "
|
637 |
msgstr ""
|
638 |
|
639 |
#: src/core/src/Admin/views/view.pro-conditions.php:13
|
640 |
-
|
|
|
|
|
641 |
msgstr ""
|
642 |
|
643 |
#: src/core/src/Admin/views/view.pro-conditions.php:14
|
644 |
-
msgid "
|
645 |
msgstr ""
|
646 |
|
647 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
648 |
-
msgid "
|
649 |
msgstr ""
|
650 |
|
651 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
652 |
-
msgid "Subscribed Membership
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
656 |
msgid "Subscribed Membership"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
660 |
msgid "Active Membership Level"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:
|
664 |
-
|
|
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: src/core/src/Admin/views/view.pro-conditions.php:36
|
668 |
#: src/core/src/Admin/views/view.pro-conditions.php:39
|
|
|
669 |
msgid "Website Current Language"
|
670 |
msgstr ""
|
671 |
|
@@ -699,9 +700,9 @@ msgstr ""
|
|
699 |
msgid "LoginWP (Formerly Peter's Login Redirect)"
|
700 |
msgstr ""
|
701 |
|
702 |
-
#. #-#-#-#-# peters-login-redirect.pot (LoginWP (Formerly Peter's Login Redirect) 3.0.
|
703 |
#. Plugin URI of the plugin/theme
|
704 |
-
#. #-#-#-#-# peters-login-redirect.pot (LoginWP (Formerly Peter's Login Redirect) 3.0.
|
705 |
#. Author URI of the plugin/theme
|
706 |
msgid "https://loginwp.com"
|
707 |
msgstr ""
|
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.6.0\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/peters-login-"
|
7 |
"redirect\n"
|
8 |
+
"POT-Creation-Date: 2022-11-06 19:46:27+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
37 |
msgid "Need Support?"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:127
|
41 |
msgid ""
|
42 |
"Enhance the power of LoginWP with the Pro version featuring integrations "
|
43 |
"with many plugins. %sLearn more%s"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:134
|
47 |
msgid "Redirect only on first time login"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:135
|
51 |
msgid "Redirect to referrer or previous page"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:136
|
55 |
msgid "Redirect to currently viewing page"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:144
|
59 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:55
|
60 |
msgid "Get LoginWP Pro →"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:162
|
64 |
msgid ""
|
65 |
"Whether you need help or have a new feature request, let us know. %sRequest "
|
66 |
"Support%s"
|
67 |
msgstr ""
|
68 |
|
69 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:170
|
70 |
msgid ""
|
71 |
"Detailed documentation is also available on the plugin website. %sView "
|
72 |
"Knowledge Base%s"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:178
|
76 |
msgid ""
|
77 |
"If you are enjoying LoginWP and find it useful, please consider leaving a "
|
78 |
"★★★★★ review on WordPress.org. %sLeave a Review%s"
|
619 |
msgstr ""
|
620 |
|
621 |
#: src/core/src/Admin/views/view.pro-conditions.php:7
|
622 |
+
msgid "Purchased Product"
|
|
|
|
|
623 |
msgstr ""
|
624 |
|
625 |
#: src/core/src/Admin/views/view.pro-conditions.php:8
|
626 |
+
msgid "Purchased Product Category"
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:9
|
630 |
+
msgid "Active User Subscription"
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:10
|
634 |
+
msgid "Active Membership Plan"
|
635 |
msgstr ""
|
636 |
|
637 |
#: src/core/src/Admin/views/view.pro-conditions.php:13
|
638 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:17
|
639 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:21
|
640 |
+
msgid "Enrolled Course"
|
641 |
msgstr ""
|
642 |
|
643 |
#: src/core/src/Admin/views/view.pro-conditions.php:14
|
644 |
+
msgid "User Group"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:18
|
648 |
+
msgid "Enrolled Membership"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:24
|
652 |
+
msgid "Subscribed Membership Plan"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:27
|
656 |
msgid "Subscribed Membership"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:30
|
660 |
msgid "Active Membership Level"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:33
|
664 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:36
|
665 |
+
msgid "Subscribed Membership Level"
|
666 |
msgstr ""
|
667 |
|
|
|
668 |
#: src/core/src/Admin/views/view.pro-conditions.php:39
|
669 |
+
#: src/core/src/Admin/views/view.pro-conditions.php:42
|
670 |
msgid "Website Current Language"
|
671 |
msgstr ""
|
672 |
|
700 |
msgid "LoginWP (Formerly Peter's Login Redirect)"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#. #-#-#-#-# peters-login-redirect.pot (LoginWP (Formerly Peter's Login Redirect) 3.0.6.0) #-#-#-#-#
|
704 |
#. Plugin URI of the plugin/theme
|
705 |
+
#. #-#-#-#-# peters-login-redirect.pot (LoginWP (Formerly Peter's Login Redirect) 3.0.6.0) #-#-#-#-#
|
706 |
#. Author URI of the plugin/theme
|
707 |
msgid "https://loginwp.com"
|
708 |
msgstr ""
|
readme.txt
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
Contributors: properfraction, collizo4sky
|
3 |
Donate link: https://loginwp.com/pricing/
|
4 |
Tags: login, logout, redirect, login form, user registration, admin, administration, dashboard, users, authentication
|
5 |
-
Requires at least: 4.
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 6.1
|
8 |
-
Stable tag: 3.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.
|
@@ -43,6 +43,7 @@ This is the lite version that works with the default WordPress login page and li
|
|
43 |
* [WP User Manager](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
44 |
* [WP User Frontend](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
45 |
* [Paid Memberships Pro](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
|
|
46 |
* [Theme My Login](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
47 |
* [User Registration (WPEverest)](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
48 |
|
@@ -77,6 +78,9 @@ Login redirects not working? This plugin uses WordPress's standard login_redirec
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 3.0.5.0 =
|
81 |
* Pro: [Paid Memberships Pro condition](https://loginwp.com/redirect-wordpress-users-after-login-paid-memberships-pro-levels/?ref=changelog).
|
82 |
* Fixed error message: syntax error, unexpected ‘?’
|
2 |
Contributors: properfraction, collizo4sky
|
3 |
Donate link: https://loginwp.com/pricing/
|
4 |
Tags: login, logout, redirect, login form, user registration, admin, administration, dashboard, users, authentication
|
5 |
+
Requires at least: 4.9
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 6.1
|
8 |
+
Stable tag: 3.0.6.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.
|
43 |
* [WP User Manager](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
44 |
* [WP User Frontend](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
45 |
* [Paid Memberships Pro](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
46 |
+
* [WishList Member](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
47 |
* [Theme My Login](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
48 |
* [User Registration (WPEverest)](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
49 |
|
78 |
|
79 |
== Changelog ==
|
80 |
|
81 |
+
= 3.0.6.0 =
|
82 |
+
* Pro: [WishList Member integration](https://loginwp.com/redirect-wordpress-users-after-login-wishlist-members/?ref=changelog).
|
83 |
+
|
84 |
= 3.0.5.0 =
|
85 |
* Pro: [Paid Memberships Pro condition](https://loginwp.com/redirect-wordpress-users-after-login-paid-memberships-pro-levels/?ref=changelog).
|
86 |
* Fixed error message: syntax error, unexpected ‘?’
|
src/core/src/Admin/AbstractSettingsPage.php
CHANGED
@@ -103,6 +103,8 @@ abstract class AbstractSettingsPage
|
|
103 |
'LearnDash',
|
104 |
'ProfilePress',
|
105 |
'MemberPress',
|
|
|
|
|
106 |
'MemberMouse',
|
107 |
'Restrict Content Pro',
|
108 |
'LifterLMS',
|
@@ -112,7 +114,6 @@ abstract class AbstractSettingsPage
|
|
112 |
'WP User Frontend',
|
113 |
'WP User Manager',
|
114 |
'Uncanny Toolkit',
|
115 |
-
'Paid Memberships Pro',
|
116 |
'User Registration (WPEverest)',
|
117 |
'Theme My Login',
|
118 |
'WPML',
|
103 |
'LearnDash',
|
104 |
'ProfilePress',
|
105 |
'MemberPress',
|
106 |
+
'Paid Memberships Pro',
|
107 |
+
'WishList Member',
|
108 |
'MemberMouse',
|
109 |
'Restrict Content Pro',
|
110 |
'LifterLMS',
|
114 |
'WP User Frontend',
|
115 |
'WP User Manager',
|
116 |
'Uncanny Toolkit',
|
|
|
117 |
'User Registration (WPEverest)',
|
118 |
'Theme My Login',
|
119 |
'WPML',
|
src/core/src/Admin/views/view.pro-conditions.php
CHANGED
@@ -1,36 +1,39 @@
|
|
1 |
<?php
|
2 |
$pro_conditions = [
|
3 |
-
'After First Login'
|
4 |
esc_html__('Redirect users to a specific URL only if they are logging in for the first time', 'peters-login-redirect')
|
5 |
],
|
6 |
-
'LearnDash' => [
|
7 |
-
esc_html__('Enrolled Course', 'peters-login-redirect'),
|
8 |
-
esc_html__('User Group', 'peters-login-redirect')
|
9 |
-
],
|
10 |
'WooCommerce' => [
|
11 |
esc_html__('Purchased Product', 'peters-login-redirect'),
|
12 |
esc_html__('Purchased Product Category', 'peters-login-redirect'),
|
13 |
esc_html__('Active User Subscription', 'peters-login-redirect'),
|
14 |
esc_html__('Active Membership Plan', 'peters-login-redirect')
|
15 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
'ProfilePress' => [
|
17 |
esc_html__('Subscribed Membership Plan', 'peters-login-redirect')
|
18 |
],
|
19 |
-
'Paid Memberships Pro' => [
|
20 |
-
esc_html__('Subscribed Membership Level', 'peters-login-redirect')
|
21 |
-
],
|
22 |
'MemberPress' => [
|
23 |
esc_html__('Subscribed Membership', 'peters-login-redirect')
|
24 |
],
|
25 |
'Restrict Content Pro' => [
|
26 |
esc_html__('Active Membership Level', 'peters-login-redirect')
|
27 |
],
|
28 |
-
'
|
29 |
-
esc_html__('
|
30 |
-
esc_html__('Enrolled Membership', 'peters-login-redirect')
|
31 |
],
|
32 |
-
'
|
33 |
-
esc_html__('
|
34 |
],
|
35 |
'WPML' => [
|
36 |
esc_html__('Website Current Language', 'peters-login-redirect')
|
1 |
<?php
|
2 |
$pro_conditions = [
|
3 |
+
'After First Login' => [
|
4 |
esc_html__('Redirect users to a specific URL only if they are logging in for the first time', 'peters-login-redirect')
|
5 |
],
|
|
|
|
|
|
|
|
|
6 |
'WooCommerce' => [
|
7 |
esc_html__('Purchased Product', 'peters-login-redirect'),
|
8 |
esc_html__('Purchased Product Category', 'peters-login-redirect'),
|
9 |
esc_html__('Active User Subscription', 'peters-login-redirect'),
|
10 |
esc_html__('Active Membership Plan', 'peters-login-redirect')
|
11 |
],
|
12 |
+
'LearnDash' => [
|
13 |
+
esc_html__('Enrolled Course', 'peters-login-redirect'),
|
14 |
+
esc_html__('User Group', 'peters-login-redirect')
|
15 |
+
],
|
16 |
+
'LifterLMS' => [
|
17 |
+
esc_html__('Enrolled Course', 'peters-login-redirect'),
|
18 |
+
esc_html__('Enrolled Membership', 'peters-login-redirect')
|
19 |
+
],
|
20 |
+
'TutorLMS' => [
|
21 |
+
esc_html__('Enrolled Course', 'peters-login-redirect')
|
22 |
+
],
|
23 |
'ProfilePress' => [
|
24 |
esc_html__('Subscribed Membership Plan', 'peters-login-redirect')
|
25 |
],
|
|
|
|
|
|
|
26 |
'MemberPress' => [
|
27 |
esc_html__('Subscribed Membership', 'peters-login-redirect')
|
28 |
],
|
29 |
'Restrict Content Pro' => [
|
30 |
esc_html__('Active Membership Level', 'peters-login-redirect')
|
31 |
],
|
32 |
+
'Paid Memberships Pro' => [
|
33 |
+
esc_html__('Subscribed Membership Level', 'peters-login-redirect')
|
|
|
34 |
],
|
35 |
+
'WishList Member' => [
|
36 |
+
esc_html__('Subscribed Membership Level', 'peters-login-redirect')
|
37 |
],
|
38 |
'WPML' => [
|
39 |
esc_html__('Website Current Language', 'peters-login-redirect')
|
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 ComposerAutoloaderInit3131f3b972c624199eaf1bb31fca849f::getLoader();
|
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,18 +24,18 @@ class ComposerAutoloaderInit095c0e45f7a418edf5548c655e13d9d3
|
|
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->register(true);
|
35 |
|
36 |
-
$includeFiles = \Composer\Autoload\
|
37 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
38 |
-
|
39 |
}
|
40 |
|
41 |
return $loader;
|
@@ -47,7 +47,7 @@ class ComposerAutoloaderInit095c0e45f7a418edf5548c655e13d9d3
|
|
47 |
* @param string $file
|
48 |
* @return void
|
49 |
*/
|
50 |
-
function
|
51 |
{
|
52 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
53 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit3131f3b972c624199eaf1bb31fca849f
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit3131f3b972c624199eaf1bb31fca849f', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit3131f3b972c624199eaf1bb31fca849f', 'loadClassLoader'));
|
30 |
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit3131f3b972c624199eaf1bb31fca849f::getInitializer($loader));
|
33 |
|
34 |
$loader->register(true);
|
35 |
|
36 |
+
$includeFiles = \Composer\Autoload\ComposerStaticInit3131f3b972c624199eaf1bb31fca849f::$files;
|
37 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
38 |
+
composerRequire3131f3b972c624199eaf1bb31fca849f($fileIdentifier, $file);
|
39 |
}
|
40 |
|
41 |
return $loader;
|
47 |
* @param string $file
|
48 |
* @return void
|
49 |
*/
|
50 |
+
function composerRequire3131f3b972c624199eaf1bb31fca849f($fileIdentifier, $file)
|
51 |
{
|
52 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
53 |
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
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 |
'7c119350ad5d791b1ae2d87a60e07ace' => __DIR__ . '/../..' . '/src/core/src/MoAdminNotice.php',
|
@@ -156,9 +156,9 @@ class ComposerStaticInit095c0e45f7a418edf5548c655e13d9d3
|
|
156 |
public static function getInitializer(ClassLoader $loader)
|
157 |
{
|
158 |
return \Closure::bind(function () use ($loader) {
|
159 |
-
$loader->prefixLengthsPsr4 =
|
160 |
-
$loader->prefixDirsPsr4 =
|
161 |
-
$loader->classMap =
|
162 |
|
163 |
}, null, ClassLoader::class);
|
164 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit3131f3b972c624199eaf1bb31fca849f
|
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 = ComposerStaticInit3131f3b972c624199eaf1bb31fca849f::$prefixLengthsPsr4;
|
160 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit3131f3b972c624199eaf1bb31fca849f::$prefixDirsPsr4;
|
161 |
+
$loader->classMap = ComposerStaticInit3131f3b972c624199eaf1bb31fca849f::$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.
|
204 |
-
"version_normalized": "0.1.0.0-
|
205 |
"source": {
|
206 |
"type": "git",
|
207 |
"url": "https://github.com/loginwp/Core.git",
|
208 |
-
"reference": "
|
209 |
},
|
210 |
"dist": {
|
211 |
"type": "zip",
|
212 |
-
"url": "https://api.github.com/repos/loginwp/Core/zipball/
|
213 |
-
"reference": "
|
214 |
"shasum": ""
|
215 |
},
|
216 |
"require": {
|
217 |
"collizo4sky/persist-admin-notices-dismissal": "^1.4",
|
218 |
"composer/installers": "~1.0"
|
219 |
},
|
220 |
-
"time": "2022-11-
|
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.
|
237 |
},
|
238 |
"install-path": "../../src/core"
|
239 |
}
|
200 |
},
|
201 |
{
|
202 |
"name": "loginwp/core",
|
203 |
+
"version": "0.1.0-alpha.1667763838",
|
204 |
+
"version_normalized": "0.1.0.0-alpha1667763838",
|
205 |
"source": {
|
206 |
"type": "git",
|
207 |
"url": "https://github.com/loginwp/Core.git",
|
208 |
+
"reference": "f25b19d567420274f7c6afea7d39ff51f6bcde00"
|
209 |
},
|
210 |
"dist": {
|
211 |
"type": "zip",
|
212 |
+
"url": "https://api.github.com/repos/loginwp/Core/zipball/f25b19d567420274f7c6afea7d39ff51f6bcde00",
|
213 |
+
"reference": "f25b19d567420274f7c6afea7d39ff51f6bcde00",
|
214 |
"shasum": ""
|
215 |
},
|
216 |
"require": {
|
217 |
"collizo4sky/persist-admin-notices-dismissal": "^1.4",
|
218 |
"composer/installers": "~1.0"
|
219 |
},
|
220 |
+
"time": "2022-11-06T18:03:10+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.1667763838"
|
237 |
},
|
238 |
"install-path": "../../src/core"
|
239 |
}
|
vendor/composer/installed.php
CHANGED
@@ -38,9 +38,9 @@
|
|
38 |
'dev_requirement' => false,
|
39 |
),
|
40 |
'loginwp/core' => array(
|
41 |
-
'pretty_version' => '0.1.0-alpha.
|
42 |
-
'version' => '0.1.0.0-
|
43 |
-
'reference' => '
|
44 |
'type' => 'wordpress-plugin',
|
45 |
'install_path' => __DIR__ . '/../../src/core',
|
46 |
'aliases' => array(),
|
38 |
'dev_requirement' => false,
|
39 |
),
|
40 |
'loginwp/core' => array(
|
41 |
+
'pretty_version' => '0.1.0-alpha.1667763838',
|
42 |
+
'version' => '0.1.0.0-alpha1667763838',
|
43 |
+
'reference' => 'f25b19d567420274f7c6afea7d39ff51f6bcde00',
|
44 |
'type' => 'wordpress-plugin',
|
45 |
'install_path' => __DIR__ . '/../../src/core',
|
46 |
'aliases' => 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.
|
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.
|
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.6.0
|
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.6.0');
|
20 |
|
21 |
add_action('init', function () {
|
22 |
load_plugin_textdomain('peters-login-redirect', false, dirname(plugin_basename(__FILE__)) . '/languages');
|